/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | p2p.c | 19 u16 attr_len; in ath10k_p2p_noa_ie_fill() local 49 attr_len = 2; /* index + oppps_ctwindow */ in ath10k_p2p_noa_ie_fill() 50 attr_len += noa_descriptors * sizeof(struct ieee80211_p2p_noa_desc); in ath10k_p2p_noa_ie_fill() 51 *noa_attr_len = __cpu_to_le16(attr_len); in ath10k_p2p_noa_ie_fill()
|
/kernel/linux/linux-5.10/fs/ntfs/ |
D | aops.c | 387 u32 attr_len; in ntfs_readpage() local 476 attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_readpage() 478 if (unlikely(attr_len > ni->initialized_size)) in ntfs_readpage() 479 attr_len = ni->initialized_size; in ntfs_readpage() 482 if (unlikely(attr_len > i_size)) { in ntfs_readpage() 484 attr_len = i_size; in ntfs_readpage() 490 attr_len); in ntfs_readpage() 492 memset(addr + attr_len, 0, PAGE_SIZE - attr_len); in ntfs_readpage() 1344 u32 attr_len; in ntfs_writepage() local 1466 attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_writepage() [all …]
|
D | file.c | 110 u32 attr_len; in ntfs_attr_extend_initialized() local 153 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_extend_initialized() 154 BUG_ON(old_i_size != (loff_t)attr_len); in ntfs_attr_extend_initialized() 160 memset(kattr + attr_len, 0, new_init_size - attr_len); in ntfs_attr_extend_initialized() 1552 u32 attr_len; in ntfs_commit_pages_after_write() local 1601 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_commit_pages_after_write() 1603 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write() 1604 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write() 1613 if (end > attr_len) { in ntfs_commit_pages_after_write() 1614 attr_len = end; in ntfs_commit_pages_after_write() [all …]
|
D | attrib.c | 1928 u32 attr_len = 0; /* Silence stupid gcc warning. */ in ntfs_attr_extend_allocation() local 2054 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_extend_allocation() 2070 BUG_ON(new_data_size < attr_len); in ntfs_attr_extend_allocation() 2091 err = ntfs_attr_make_non_resident(ni, attr_len); in ntfs_attr_extend_allocation() 2291 attr_len = le32_to_cpu(a->length); in ntfs_attr_extend_allocation() 2450 if (ntfs_attr_record_resize(m, a, attr_len)) { in ntfs_attr_extend_allocation() 2458 mapping_pairs_offset), attr_len - in ntfs_attr_extend_allocation()
|
D | inode.c | 2367 u32 attr_len; in ntfs_truncate() local 2741 attr_len = le32_to_cpu(a->length); in ntfs_truncate()
|
/kernel/linux/linux-5.10/net/wimax/ |
D | op-msg.c | 354 size_t attr_len = nla_len(attr); in wimax_gnl_doit_msg_from_user() local 357 pipe_name = kstrndup(nla_data(attr), attr_len + 1, GFP_KERNEL); in wimax_gnl_doit_msg_from_user() 360 pipe_name[attr_len] = 0; in wimax_gnl_doit_msg_from_user()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 631 u16 attr_len = attr_data_len + 4; in rtw_get_wps_attr() local 636 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr() 638 *len_attr = attr_len; in rtw_get_wps_attr() 641 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr() 659 u32 attr_len; in rtw_get_wps_attr_content() local 664 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content() 666 if (attr_ptr && attr_len) { in rtw_get_wps_attr_content() 668 memcpy(buf_content, attr_ptr + 4, attr_len - 4); in rtw_get_wps_attr_content() 671 *len_content = attr_len - 4; in rtw_get_wps_attr_content()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 806 u16 attr_len = attr_data_len + 4; in rtw_get_wps_attr() local 813 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr() 816 *len_attr = attr_len; in rtw_get_wps_attr() 820 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr() 840 u32 attr_len; in rtw_get_wps_attr_content() local 845 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content() 847 if (attr_ptr && attr_len) { in rtw_get_wps_attr_content() 849 memcpy(buf_content, attr_ptr+4, attr_len-4); in rtw_get_wps_attr_content() 852 *len_content = attr_len-4; in rtw_get_wps_attr_content()
|
/kernel/linux/linux-5.10/drivers/memstick/core/ |
D | mspro_block.c | 981 unsigned int addr, attr_offset = 0, attr_len = msb->page_size; in mspro_block_read_attributes() local 994 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes() 1026 buffer = kmemdup(attr, attr_len, GFP_KERNEL); in mspro_block_read_attributes() 1077 if ((attr_offset + attr_len) < (addr + s_attr->size)) { in mspro_block_read_attributes() 1079 attr_len = (((addr + s_attr->size) / msb->page_size) in mspro_block_read_attributes() 1081 buffer = kmalloc(attr_len, GFP_KERNEL); in mspro_block_read_attributes() 1088 sg_init_one(&msb->req_sg[0], buffer, attr_len); in mspro_block_read_attributes() 1096 attr_offset, attr_len); in mspro_block_read_attributes() 1098 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_plx.c | 335 static int prism2_plx_check_cis(void __iomem *attr_mem, int attr_len, in prism2_plx_check_cis() argument 383 if (*cor_offset > attr_len) { in prism2_plx_check_cis()
|
/kernel/linux/linux-5.10/net/wireless/ |
D | util.c | 1476 u16 attr_len; in cfg80211_get_p2p_attr() local 1482 attr_len = get_unaligned_le16(iedata + 1); in cfg80211_get_p2p_attr() 1486 copy = min_t(unsigned int, attr_len, iedatalen); in cfg80211_get_p2p_attr() 1496 if (copy == attr_len) in cfg80211_get_p2p_attr() 1502 attr_remaining = attr_len - copy; in cfg80211_get_p2p_attr()
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
D | zcrypt_ep11misc.c | 683 u8 attr_len; in ep11_genaeskey() member 737 req_pl->attr_len = 5 * sizeof(u32); in ep11_genaeskey() 938 u8 attr_len; in ep11_unwrapkey() member 985 req_pl->attr_len = 7 * sizeof(u32); in ep11_unwrapkey()
|
D | zcrypt_ccamisc.c | 592 u16 attr_len; in cca_sec2protkey() member 597 u16 attr_len; in cca_sec2protkey() member 607 u16 attr_len; in cca_sec2protkey() member 639 preqparm->lv1.attr_len = sizeof(struct lv1) - sizeof(preqparm->lv1.len); in cca_sec2protkey() 642 preqparm->lv2.attr_len = sizeof(struct lv2) in cca_sec2protkey()
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 80 __le16 attr_len; member 86 __le16 attr_len; member 94 __le16 attr_len; member 945 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr() 969 elem_size = le16_to_cpu(ch_list->attr_len) - in wilc_wfi_cfg_parse_ch_attr()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
D | bfa_fcs_lport.c | 1865 int len, attr_len; in bfa_fcs_lport_fdmi_send_rhba() local 1886 attr_len = in bfa_fcs_lport_fdmi_send_rhba() 1892 FC_CLASS_3, (len + attr_len), &fchs, in bfa_fcs_lport_fdmi_send_rhba() 2198 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rprt() local 2219 attr_len = in bfa_fcs_lport_fdmi_send_rprt() 2225 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rprt() 2521 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rpa() local 2542 attr_len = bfa_fcs_lport_fdmi_build_rpa_pyld(fdmi, in bfa_fcs_lport_fdmi_send_rpa() 2546 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rpa()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | flow_netlink.c | 442 static bool check_attr_len(unsigned int attr_len, unsigned int expected_len) in check_attr_len() argument 444 return expected_len == attr_len || in check_attr_len() 2424 int attr_len, bool log) in reserve_sfa_size() argument 2429 size_t req_size = NLA_ALIGN(attr_len); in reserve_sfa_size()
|