/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A 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-6.6/drivers/net/wireless/ath/ath10k/ |
H A 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/ |
H A 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 [all...] |
H A 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() [all...] |
H A 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()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | aops.c | 388 u32 attr_len; in ntfs_read_folio() local 477 attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_read_folio() 479 if (unlikely(attr_len > ni->initialized_size)) in ntfs_read_folio() 480 attr_len = ni->initialized_size; in ntfs_read_folio() 483 if (unlikely(attr_len > i_size)) { in ntfs_read_folio() 485 attr_len = i_size; in ntfs_read_folio() 491 attr_len); in ntfs_read_folio() 493 memset(addr + attr_len, 0, PAGE_SIZE - attr_len); in ntfs_read_folio() 1346 u32 attr_len; in ntfs_writepage() local [all...] |
H A D | file.c | 111 u32 attr_len; in ntfs_attr_extend_initialized() local 154 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_extend_initialized() 155 BUG_ON(old_i_size != (loff_t)attr_len); in ntfs_attr_extend_initialized() 161 memset(kattr + attr_len, 0, new_init_size - attr_len); in ntfs_attr_extend_initialized() 1545 u32 attr_len; in ntfs_commit_pages_after_write() local 1594 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_commit_pages_after_write() 1596 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write() 1597 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write() 1606 if (end > attr_len) { in ntfs_commit_pages_after_write() [all...] |
H A 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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
H A 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-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 713 u16 attr_len = attr_data_len + 4; in rtw_get_wps_attr() local 719 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr() 722 *len_attr = attr_len; in rtw_get_wps_attr() 726 attr_ptr += attr_len; /* goto next */ in rtw_get_wps_attr() 745 u32 attr_len; in rtw_get_wps_attr_content() local 750 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content() 752 if (attr_ptr && attr_len) { in rtw_get_wps_attr_content() 754 memcpy(buf_content, attr_ptr+4, attr_len-4); in rtw_get_wps_attr_content() 757 *len_content = attr_len-4; in rtw_get_wps_attr_content()
|
/kernel/linux/linux-5.10/net/wimax/ |
H A 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/rtl8723bs/core/ |
H A 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-6.6/drivers/memstick/core/ |
H A D | mspro_block.c | 905 * attr_offset and attr_len will be of large numeric types, we can be in mspro_block_read_attributes() 909 unsigned int addr, attr_offset = 0, attr_len = msb->page_size; in mspro_block_read_attributes() local 922 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes() 954 buffer = kmemdup(attr, attr_len, GFP_KERNEL); in mspro_block_read_attributes() 1005 if ((attr_offset + attr_len) < (addr + s_attr->size)) { in mspro_block_read_attributes() 1007 attr_len = (((addr + s_attr->size) / msb->page_size) in mspro_block_read_attributes() 1009 buffer = kmalloc(attr_len, GFP_KERNEL); in mspro_block_read_attributes() 1016 sg_init_one(&msb->req_sg[0], buffer, attr_len); in mspro_block_read_attributes() 1024 attr_offset, attr_len); in mspro_block_read_attributes() 1026 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | ps.c | 312 noa_head->attr_len = cpu_to_le16(2); in rtw89_p2p_noa_renew() 332 le16_add_cpu(&noa_head->attr_len, sizeof(*desc)); in rtw89_p2p_noa_append()
|
/kernel/linux/linux-5.10/drivers/memstick/core/ |
H A D | mspro_block.c | 977 * attr_offset and attr_len will be of large numeric types, we can be in mspro_block_read_attributes() 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() [all...] |
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A 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()
|
H A 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/intersil/hostap/ |
H A 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-6.6/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_plx.c | 334 static int prism2_plx_check_cis(void __iomem *attr_mem, int attr_len, in prism2_plx_check_cis() argument 382 if (*cor_offset > attr_len) { in prism2_plx_check_cis()
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
H A 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/net/wireless/ |
H A D | util.c | 1478 u16 attr_len; in cfg80211_get_p2p_attr() local 1484 attr_len = get_unaligned_le16(iedata + 1); in cfg80211_get_p2p_attr() 1488 copy = min_t(unsigned int, attr_len, iedatalen); in cfg80211_get_p2p_attr() 1498 if (copy == attr_len) in cfg80211_get_p2p_attr() 1504 attr_remaining = attr_len - copy; in cfg80211_get_p2p_attr()
|
/kernel/linux/linux-6.6/drivers/s390/crypto/ |
H A 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()
|
H A D | zcrypt_ep11misc.c | 788 u8 attr_len; in _ep11_genaeskey() member 852 req_pl->attr_len = 5 * sizeof(u32); in _ep11_genaeskey() 1088 u8 attr_len; in _ep11_unwrapkey() member 1144 req_pl->attr_len = 7 * sizeof(u32); in _ep11_unwrapkey()
|
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 82 __le16 attr_len; member 88 __le16 attr_len; member 96 __le16 attr_len; member 965 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr() 988 elem_size = le16_to_cpu(ch_list->attr_len) - in wilc_wfi_cfg_parse_ch_attr()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | util.c | 1841 u16 attr_len; in cfg80211_get_p2p_attr() local 1847 attr_len = get_unaligned_le16(iedata + 1); in cfg80211_get_p2p_attr() 1851 copy = min_t(unsigned int, attr_len, iedatalen); in cfg80211_get_p2p_attr() 1861 if (copy == attr_len) in cfg80211_get_p2p_attr() 1867 attr_remaining = attr_len - copy; in cfg80211_get_p2p_attr()
|