Searched refs:nhead (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/net/xfrm/ |
D | xfrm_output.c | 27 int nhead = dst->header_len + LL_RESERVED_SPACE(dst->dev) in xfrm_skb_check_space() local 31 if (nhead <= 0) { in xfrm_skb_check_space() 34 nhead = 0; in xfrm_skb_check_space() 38 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
|
/linux-4.4.14/security/smack/ |
D | smack_lsm.c | 343 static int smk_copy_rules(struct list_head *nhead, struct list_head *ohead, in smk_copy_rules() argument 350 INIT_LIST_HEAD(nhead); in smk_copy_rules() 359 list_add_rcu(&nrp->list, nhead); in smk_copy_rules() 372 static int smk_copy_relabel(struct list_head *nhead, struct list_head *ohead, in smk_copy_relabel() argument 378 INIT_LIST_HEAD(nhead); in smk_copy_relabel() 383 smk_destroy_label_list(nhead); in smk_copy_relabel() 387 list_add(&nklep->list, nhead); in smk_copy_relabel()
|
/linux-4.4.14/net/core/ |
D | skbuff.c | 1119 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument 1124 int size = nhead + skb_end_offset(skb) + ntail; in pskb_expand_head() 1127 BUG_ON(nhead < 0); in pskb_expand_head() 1145 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head() 1170 off = (data + nhead) - skb->head; in pskb_expand_head() 1177 off = nhead; in pskb_expand_head() 1182 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
|
D | pktgen.c | 2643 int nhead = 0; in process_ipsec() local 2649 nhead = x->props.header_len - skb_headroom(skb); in process_ipsec() 2650 if (nhead > 0) { in process_ipsec() 2651 ret = pskb_expand_head(skb, nhead, 0, GFP_ATOMIC); in process_ipsec()
|
/linux-4.4.14/include/linux/ |
D | skbuff.h | 877 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);
|