Searched refs:head_need (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/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.6.21/net/mac80211/ ! |
D | tx.c | 1987 int head_need, in ieee80211_skb_resize() argument 2008 else if (head_need || tail_need) in ieee80211_skb_resize() 2013 if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) { in ieee80211_skb_resize() 2585 int head_need; in ieee80211_build_hdr() local 2893 head_need = hdrlen + encaps_len + meshhdrlen - skb_headroom(skb); in ieee80211_build_hdr() 2907 if (head_need > 0 || skb_cloned(skb)) { in ieee80211_build_hdr() 2908 head_need += IEEE80211_ENCRYPT_HEADROOM; in ieee80211_build_hdr() 2909 head_need += local->tx_headroom; in ieee80211_build_hdr() 2910 head_need = max_t(int, 0, head_need); in ieee80211_build_hdr() 2911 if (ieee80211_skb_resize(sdata, skb, head_need, ENCRYPT_DATA)) { in ieee80211_build_hdr()
|