/openbmc/linux/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()
|
/openbmc/linux/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 1469 attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_writepage() [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() 1607 attr_len = end; 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()
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-xattr.c | 79 ssize_t xattr_len, parsed_len = 0, attr_len; in v9fs_list_xattr() local 129 attr_len = strlen(orig_value) + 1; in v9fs_list_xattr() 130 parsed_len += attr_len; in v9fs_list_xattr() 131 orig_value += attr_len; in v9fs_list_xattr()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/memstick/core/ |
H A D | mspro_block.c | 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()
|
/openbmc/linux/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()
|
H A D | core.h | 2906 __le16 attr_len; member
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/net/wireless/ |
H A D | util.c | 1849 u16 attr_len; in cfg80211_get_p2p_attr() local 1855 attr_len = get_unaligned_le16(iedata + 1); in cfg80211_get_p2p_attr() 1859 copy = min_t(unsigned int, attr_len, iedatalen); in cfg80211_get_p2p_attr() 1869 if (copy == attr_len) in cfg80211_get_p2p_attr() 1875 attr_remaining = attr_len - copy; in cfg80211_get_p2p_attr()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/scsi/bfa/ |
H A 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() 1890 if (attr_len < 0) in bfa_fcs_lport_fdmi_send_rhba() 1894 FC_CLASS_3, (len + attr_len), &fchs, in bfa_fcs_lport_fdmi_send_rhba() 2206 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rprt() local 2227 attr_len = in bfa_fcs_lport_fdmi_send_rprt() 2233 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rprt() 2529 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rpa() local 2550 attr_len = bfa_fcs_lport_fdmi_build_rpa_pyld(fdmi, in bfa_fcs_lport_fdmi_send_rpa() 2554 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rpa()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_netlink.c | 448 static bool check_attr_len(unsigned int attr_len, unsigned int expected_len) in check_attr_len() argument 450 return expected_len == attr_len || in check_attr_len() 2456 int attr_len, bool log) in reserve_sfa_size() argument 2461 size_t req_size = NLA_ALIGN(attr_len); in reserve_sfa_size()
|