Home
last modified time | relevance | path

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

/linux-6.1.9/net/xfrm/
Dxfrm_output.c35 int ntail = dst->dev->needed_tailroom - skb_tailroom(skb); in xfrm_skb_check_space() local
38 if (ntail <= 0) in xfrm_skb_check_space()
41 } else if (ntail < 0) in xfrm_skb_check_space()
42 ntail = 0; in xfrm_skb_check_space()
44 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
/linux-6.1.9/net/core/
Dskbuff.c1814 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument
1818 int size = osize + nhead + ntail; in pskb_expand_head()
2081 int ntail; in __skb_pad() local
2089 ntail = skb->data_len + pad - (skb->end - skb->tail); in __skb_pad()
2090 if (likely(skb_cloned(skb) || ntail > 0)) { in __skb_pad()
2091 err = pskb_expand_head(skb, 0, ntail, GFP_ATOMIC); in __skb_pad()
4716 int ntail = 0; in skb_cow_data() local
4731 ntail = tailbits + 128; in skb_cow_data()
4736 ntail || in skb_cow_data()
4742 if (ntail == 0) in skb_cow_data()
[all …]
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c2129 int ntail, ret; in brcmf_sdio_txpkt_prep_sg() local
2163 ntail = pkt->data_len + tail_pad - in brcmf_sdio_txpkt_prep_sg()
2165 if (skb_cloned(pkt) || ntail > 0) in brcmf_sdio_txpkt_prep_sg()
2166 if (pskb_expand_head(pkt, 0, ntail, GFP_ATOMIC)) in brcmf_sdio_txpkt_prep_sg()
/linux-6.1.9/include/linux/
Dskbuff.h1334 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);