Searched refs:head_need (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 68 int hdrlen, phdrlen, head_need, tail_need; in prism2_rx_80211() local 106 head_need = phdrlen; in prism2_rx_80211() 112 head_need -= skb_headroom(skb); in prism2_rx_80211() 115 if (head_need > 0 || tail_need > 0) { in prism2_rx_80211() 116 if (pskb_expand_head(skb, head_need > 0 ? head_need : 0, in prism2_rx_80211()
|
/linux-6.1.9/net/mac80211/ |
D | tx.c | 2009 int head_need, in ieee80211_skb_resize() argument 2030 else if (head_need || tail_need) in ieee80211_skb_resize() 2035 if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) { in ieee80211_skb_resize() 2607 int head_need; in ieee80211_build_hdr() local 2905 head_need = hdrlen + encaps_len + meshhdrlen - skb_headroom(skb); in ieee80211_build_hdr() 2919 if (head_need > 0 || skb_cloned(skb)) { in ieee80211_build_hdr() 2920 head_need += IEEE80211_ENCRYPT_HEADROOM; in ieee80211_build_hdr() 2921 head_need += local->tx_headroom; in ieee80211_build_hdr() 2922 head_need = max_t(int, 0, head_need); in ieee80211_build_hdr() 2923 if (ieee80211_skb_resize(sdata, skb, head_need, ENCRYPT_DATA)) { in ieee80211_build_hdr()
|