Home
last modified time | relevance | path

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

/openbmc/linux/net/xfrm/
H A 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()
/openbmc/linux/net/core/
H A Dskbuff.c2069 * @ntail: room to add at tail
2072 * Expands (or creates identical copy, if @nhead and @ntail are zero)
2081 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument
2085 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2367 int ntail; in __skb_pad() local
2375 ntail = skb->data_len + pad - (skb->end - skb->tail); in __skb_pad()
2376 if (likely(skb_cloned(skb) || ntail > 0)) { in __skb_pad()
2377 err = pskb_expand_head(skb, 0, ntail, GFP_ATOMIC); in __skb_pad()
5057 int ntail = 0; in skb_cow_data() local
5072 ntail in skb_cow_data()
[all...]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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()
/openbmc/linux/include/linux/
H A Dskbuff.h1348 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);