Home
last modified time | relevance | path

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

/linux/net/xfrm/
H A 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/net/core/
H A Dskbuff.c2272 * @ntail: room to add at tail
2275 * Expands (or creates identical copy, if @nhead and @ntail are zero)
2288 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head()
2292 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2561 int ntail; in __skb_pad()
2569 ntail = skb->data_len + pad - (skb->end - skb->tail); in __skb_pad()
2570 if (likely(skb_cloned(skb) || ntail > 0)) { in __skb_pad()
2571 err = pskb_expand_head(skb, 0, ntail, GFP_ATOMIC); in __skb_pad()
5400 int ntail = 0; in skb_cow_data()
5415 ntail in skb_cow_data()
2285 pskb_expand_head(struct sk_buff * skb,int nhead,int ntail,gfp_t gfp_mask) pskb_expand_head() argument
2558 int ntail; __skb_pad() local
5397 int ntail = 0; skb_cow_data() local
[all...]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c2128 int ntail, ret; in brcmf_sdio_txpkt_prep_sg() local
2162 ntail = pkt->data_len + tail_pad - in brcmf_sdio_txpkt_prep_sg()
2164 if (skb_cloned(pkt) || ntail > 0) in brcmf_sdio_txpkt_prep_sg()
2165 if (pskb_expand_head(pkt, 0, ntail, GFP_ATOMIC)) in brcmf_sdio_txpkt_prep_sg()
/linux/include/linux/
H A Dskbuff.h1451 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);