Searched refs:nhead (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/crypto/ |
H A D | atmel-aes-regs.h | 85 #define AES_EMR_NHEAD(nhead) (((nhead) << AES_EMR_NHEAD_OFFSET) &\ argument
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_output.c | 34 int nhead = dst->header_len + LL_RESERVED_SPACE(dst->dev) in xfrm_skb_check_space() local 38 if (nhead <= 0) { in xfrm_skb_check_space() 41 nhead = 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 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 | 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() 2090 BUG_ON(nhead < 0); in pskb_expand_head() 2107 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head() 2133 off = (data + nhead) - skb->head; in pskb_expand_head() 2141 off = nhead; in pskb_expand_head() 2144 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
|
H A D | pktgen.c | 2692 int nhead = 0; in process_ipsec() local 2698 nhead = x->props.header_len - skb_headroom(skb); in process_ipsec() 2699 if (nhead > 0) { in process_ipsec() 2700 ret = pskb_expand_head(skb, nhead, 0, GFP_ATOMIC); in process_ipsec()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 820 struct prestera_kern_neigh_cache_head *nhead; in __prestera_k_arb_nc_apply() local 849 list_for_each_entry(nhead, &nc->kern_fib_cache_list, head) { in __prestera_k_arb_nc_apply() 850 __prestera_k_arb_fib_nh_offload_set(sw, nhead->this, nc, in __prestera_k_arb_nc_apply()
|
/openbmc/linux/fs/ceph/ |
H A D | mds_client.c | 2987 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message() local 2990 nhead->version = cpu_to_le16(CEPH_MDS_REQUEST_HEAD_VERSION); in create_request_message() 2991 p = msg->front.iov_base + sizeof(*nhead); in create_request_message() 3106 struct ceph_mds_request_head *nhead; in __prepare_send_request() local 3164 nhead = (struct ceph_mds_request_head*)msg->front.iov_base; in __prepare_send_request() 3165 nhead->ext_num_retry = cpu_to_le32(req->r_attempts - 1); in __prepare_send_request() 3203 nhead = (struct ceph_mds_request_head*)msg->front.iov_base; in __prepare_send_request() 3204 nhead->ext_num_fwd = cpu_to_le32(req->r_num_fwd); in __prepare_send_request() 3205 nhead->ext_num_retry = cpu_to_le32(req->r_attempts - 1); in __prepare_send_request()
|
/openbmc/linux/security/smack/ |
H A D | smack_lsm.c | 356 static int smk_copy_rules(struct list_head *nhead, struct list_head *ohead, in smk_copy_rules() argument 370 list_add_rcu(&nrp->list, nhead); in smk_copy_rules() 383 static int smk_copy_relabel(struct list_head *nhead, struct list_head *ohead, in smk_copy_relabel() argument 392 smk_destroy_label_list(nhead); in smk_copy_relabel() 396 list_add(&nklep->list, nhead); in smk_copy_relabel()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 1055 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() local 1057 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
|
/openbmc/linux/include/linux/ |
H A D | skbuff.h | 1348 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);
|