Home
last modified time | relevance | path

Searched refs:attr_len (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_tlv.c430 u16 attr_len; in fbnic_tlv_attr_parse_array() local
446 attr_len = FBNIC_TLV_MSG_SIZE(le16_to_cpu(attr->hdr.len)); in fbnic_tlv_attr_parse_array()
447 len -= attr_len; in fbnic_tlv_attr_parse_array()
448 attr += attr_len; in fbnic_tlv_attr_parse_array()
481 u16 attr_len; in fbnic_tlv_attr_parse() local
496 attr_len = FBNIC_TLV_MSG_SIZE(le16_to_cpu(attr->hdr.len)); in fbnic_tlv_attr_parse()
497 len -= attr_len; in fbnic_tlv_attr_parse()
498 attr += attr_len; in fbnic_tlv_attr_parse()
/linux/drivers/net/wireless/ath/ath10k/
H A Dp2p.c19 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()
/linux/drivers/net/wireless/ath/ath11k/
H A Dp2p.c18 u16 attr_len; in ath11k_p2p_noa_ie_fill() local
55 attr_len = 2; /* index + oppps_ctwindow */ in ath11k_p2p_noa_ie_fill()
56 attr_len += noa_descriptors * sizeof(struct ieee80211_p2p_noa_desc); in ath11k_p2p_noa_ie_fill()
57 *noa_attr_len = __cpu_to_le16(attr_len); in ath11k_p2p_noa_ie_fill()
/linux/drivers/net/wireless/ath/ath12k/
H A Dp2p.c19 u16 attr_len; in ath12k_p2p_noa_ie_fill() local
51 attr_len = 2; /* index + oppps_ctwindow */ in ath12k_p2p_noa_ie_fill()
52 attr_len += noa_descriptors * sizeof(struct ieee80211_p2p_noa_desc); in ath12k_p2p_noa_ie_fill()
53 *noa_attr_len = __cpu_to_le16(attr_len); in ath12k_p2p_noa_ie_fill()
/linux/drivers/memstick/core/
H A Dmspro_block.c906 unsigned int addr, attr_offset = 0, attr_len = msb->page_size; in mspro_block_read_attributes() local
919 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes()
950 buffer = kmemdup(attr, attr_len, GFP_KERNEL); in mspro_block_read_attributes()
1001 if ((attr_offset + attr_len) < (addr + s_attr->size)) { in mspro_block_read_attributes()
1003 attr_len = (((addr + s_attr->size) / msb->page_size) in mspro_block_read_attributes()
1005 buffer = kmalloc(attr_len, GFP_KERNEL); in mspro_block_read_attributes()
1012 sg_init_one(&msb->req_sg[0], buffer, attr_len); in mspro_block_read_attributes()
1020 attr_offset, attr_len); in mspro_block_read_attributes()
1022 msb->setup_transfer(card, attr_offset, attr_len); in mspro_block_read_attributes()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c82 __le16 attr_len; member
88 __le16 attr_len; member
96 __le16 attr_len; member
953 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr()
976 elem_size = le16_to_cpu(ch_list->attr_len) - in wilc_wfi_cfg_parse_ch_attr()
/linux/net/wireless/
H A Dutil.c1955 u16 attr_len; in cfg80211_get_p2p_attr() local
1961 attr_len = get_unaligned_le16(iedata + 1); in cfg80211_get_p2p_attr()
1965 copy = min_t(unsigned int, attr_len, iedatalen); in cfg80211_get_p2p_attr()
1975 if (copy == attr_len) in cfg80211_get_p2p_attr()
1981 attr_remaining = attr_len - copy; in cfg80211_get_p2p_attr()
/linux/drivers/scsi/bfa/
H A Dbfa_fcs_lport.c1819 int len, attr_len; in bfa_fcs_lport_fdmi_send_rhba() local
1840 attr_len = in bfa_fcs_lport_fdmi_send_rhba()
1844 if (attr_len < 0) in bfa_fcs_lport_fdmi_send_rhba()
1848 FC_CLASS_3, (len + attr_len), &fchs, in bfa_fcs_lport_fdmi_send_rhba()
2160 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rprt() local
2181 attr_len = in bfa_fcs_lport_fdmi_send_rprt()
2187 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rprt()
2483 u16 len, attr_len; in bfa_fcs_lport_fdmi_send_rpa() local
2504 attr_len = bfa_fcs_lport_fdmi_build_rpa_pyld(fdmi, in bfa_fcs_lport_fdmi_send_rpa()
2508 FC_CLASS_3, len + attr_len, &fchs, in bfa_fcs_lport_fdmi_send_rpa()
/linux/net/openvswitch/
H A Dflow_netlink.c456 static bool check_attr_len(unsigned int attr_len, unsigned int expected_len) in check_attr_len() argument
458 return expected_len == attr_len || in check_attr_len()
2428 int attr_len, bool log) in reserve_sfa_size() argument
2433 size_t req_size = NLA_ALIGN(attr_len); in reserve_sfa_size()