Home
last modified time | relevance | path

Searched refs:priv_data_len (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/net/mac802154/
Dmain.c47 ieee802154_alloc_hw(size_t priv_data_len, const struct ieee802154_ops *ops) in ieee802154_alloc_hw() argument
75 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_cm.h87 __be16 priv_data_len; member
102 __be16 priv_data_len; member
Di40iw_cm.c752 mpa_frame->priv_data_len = htons(cm_node->pdata.size); in i40iw_build_mpa_v1()
772 mpa_frame->priv_data_len += htons(IETF_RTR_MSG_SIZE); in i40iw_build_mpa_v2()
919 int priv_data_len; in i40iw_parse_mpa() local
930 priv_data_len = ntohs(mpa_frame->priv_data_len); in i40iw_parse_mpa()
932 if (priv_data_len > IETF_MAX_PRIV_DATA_LEN) { in i40iw_parse_mpa()
933 i40iw_pr_err("large pri_data %d\n", priv_data_len); in i40iw_parse_mpa()
958 if (priv_data_len + mpa_hdr_len > len) { in i40iw_parse_mpa()
960 priv_data_len, mpa_hdr_len, len); in i40iw_parse_mpa()
1029 memcpy(cm_node->pdata_buf, buffer + mpa_hdr_len, priv_data_len); in i40iw_parse_mpa()
1030 cm_node->pdata.size = priv_data_len; in i40iw_parse_mpa()
/Linux-v5.4/include/net/
Dmac802154.h415 ieee802154_alloc_hw(size_t priv_data_len, const struct ieee802154_ops *ops);
Dmac80211.h4074 struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len,
4093 struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, in ieee80211_alloc_hw() argument
4096 return ieee80211_alloc_hw_nm(priv_data_len, ops, NULL); in ieee80211_alloc_hw()
/Linux-v5.4/drivers/net/wireless/intersil/p54/
Dp54.h272 struct ieee80211_hw *p54_init_common(size_t priv_data_len);
Dmain.c727 struct ieee80211_hw *p54_init_common(size_t priv_data_len) in p54_init_common() argument
732 dev = ieee80211_alloc_hw(priv_data_len, &p54_ops); in p54_init_common()
/Linux-v5.4/net/mac80211/
Dmain.c507 struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len, in ieee80211_alloc_hw_nm() argument
547 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee80211_alloc_hw_nm()