Home
last modified time | relevance | path

Searched refs:nhead (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/crypto/
H A Datmel-aes-regs.h85 #define AES_EMR_NHEAD(nhead) (((nhead) << AES_EMR_NHEAD_OFFSET) &\ argument
/openbmc/linux/net/xfrm/
H A Dxfrm_output.c34 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 Dlwt_bpf.c164 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 Dskbuff.c2081 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 Dpktgen.c2692 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 Dprestera_router.c820 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 Dmds_client.c2988 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message() local
2991 nhead->version = cpu_to_le16(CEPH_MDS_REQUEST_HEAD_VERSION); in create_request_message()
2992 p = msg->front.iov_base + sizeof(*nhead); in create_request_message()
3107 struct ceph_mds_request_head *nhead; in __prepare_send_request() local
3165 nhead = (struct ceph_mds_request_head*)msg->front.iov_base; in __prepare_send_request()
3166 nhead->ext_num_retry = cpu_to_le32(req->r_attempts - 1); in __prepare_send_request()
3204 nhead = (struct ceph_mds_request_head*)msg->front.iov_base; in __prepare_send_request()
3205 nhead->ext_num_fwd = cpu_to_le32(req->r_num_fwd); in __prepare_send_request()
3206 nhead->ext_num_retry = cpu_to_le32(req->r_attempts - 1); in __prepare_send_request()
/openbmc/linux/security/smack/
H A Dsmack_lsm.c356 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 Dtest_run.c1057 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() local
1059 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
/openbmc/linux/include/linux/
H A Dskbuff.h1348 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);