Home
last modified time | relevance | path

Searched refs:tail_need (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c68 int hdrlen, phdrlen, head_need, tail_need; in prism2_rx_80211() local
107 tail_need = 0; in prism2_rx_80211()
109 tail_need += 4; in prism2_rx_80211()
113 tail_need -= skb_tailroom(skb); in prism2_rx_80211()
115 if (head_need > 0 || tail_need > 0) { in prism2_rx_80211()
117 tail_need > 0 ? tail_need : 0, in prism2_rx_80211()
/Linux-v4.19/net/mac80211/
Dtx.c1916 int tail_need = 0; in ieee80211_skb_resize() local
1919 tail_need = IEEE80211_ENCRYPT_TAILROOM; in ieee80211_skb_resize()
1920 tail_need -= skb_tailroom(skb); in ieee80211_skb_resize()
1921 tail_need = max_t(int, tail_need, 0); in ieee80211_skb_resize()
1929 else if (head_need || tail_need) in ieee80211_skb_resize()
1934 if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) { in ieee80211_skb_resize()