Home
last modified time | relevance | path

Searched refs:ntail (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/net/xfrm/
Dxfrm_output.c36 int ntail = dst->dev->needed_tailroom - skb_tailroom(skb); in xfrm_skb_check_space() local
39 if (ntail <= 0) in xfrm_skb_check_space()
42 } else if (ntail < 0) in xfrm_skb_check_space()
43 ntail = 0; in xfrm_skb_check_space()
45 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
/Linux-v6.6/net/core/
Dskbuff.c2075 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument
2079 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2356 int ntail; in __skb_pad() local
2364 ntail = skb->data_len + pad - (skb->end - skb->tail); in __skb_pad()
2365 if (likely(skb_cloned(skb) || ntail > 0)) { in __skb_pad()
2366 err = pskb_expand_head(skb, 0, ntail, GFP_ATOMIC); in __skb_pad()
5042 int ntail = 0; in skb_cow_data() local
5057 ntail = tailbits + 128; in skb_cow_data()
5062 ntail || in skb_cow_data()
5068 if (ntail == 0) in skb_cow_data()
[all …]
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c2127 int ntail, ret; in brcmf_sdio_txpkt_prep_sg() local
2161 ntail = pkt->data_len + tail_pad - in brcmf_sdio_txpkt_prep_sg()
2163 if (skb_cloned(pkt) || ntail > 0) in brcmf_sdio_txpkt_prep_sg()
2164 if (pskb_expand_head(pkt, 0, ntail, GFP_ATOMIC)) in brcmf_sdio_txpkt_prep_sg()
/Linux-v6.6/include/linux/
Dskbuff.h1353 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);