Searched refs:nhead (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | atmel-aes-regs.h | 85 #define AES_EMR_NHEAD(nhead) (((nhead) << AES_EMR_NHEAD_OFFSET) &\ argument
|
| /OK3568_Linux_fs/kernel/net/xfrm/ |
| H A D | xfrm_output.c | 33 int nhead = dst->header_len + LL_RESERVED_SPACE(dst->dev) in xfrm_skb_check_space() local 37 if (nhead <= 0) { in xfrm_skb_check_space() 40 nhead = 0; in xfrm_skb_check_space() 44 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | lwt_bpf.c | 164 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in xmit_check_hhlen() local 166 if (pskb_expand_head(skb, nhead, 0, GFP_ATOMIC)) in xmit_check_hhlen()
|
| H A D | skbuff.c | 1623 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument 1627 int size = osize + nhead + ntail; in pskb_expand_head() 1631 BUG_ON(nhead < 0); in pskb_expand_head() 1648 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head() 1674 off = (data + nhead) - skb->head; in pskb_expand_head() 1682 off = nhead; in pskb_expand_head() 1685 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
|
| H A D | pktgen.c | 2556 int nhead = 0; in process_ipsec() local 2562 nhead = x->props.header_len - skb_headroom(skb); in process_ipsec() 2563 if (nhead > 0) { in process_ipsec() 2564 ret = pskb_expand_head(skb, nhead, 0, GFP_ATOMIC); in process_ipsec()
|
| /OK3568_Linux_fs/kernel/net/bpf/ |
| H A D | test_run.c | 643 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() local 645 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
|
| /OK3568_Linux_fs/kernel/security/smack/ |
| H A D | smack_lsm.c | 345 static int smk_copy_rules(struct list_head *nhead, struct list_head *ohead, in smk_copy_rules() argument 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 381 smk_destroy_label_list(nhead); in smk_copy_relabel() 385 list_add(&nklep->list, nhead); in smk_copy_relabel()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | skbuff.h | 1183 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);
|