Home
last modified time | relevance | path

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

/linux-6.15/drivers/crypto/
H A Datmel-aes-regs.h85 #define AES_EMR_NHEAD(nhead) (((nhead) << AES_EMR_NHEAD_OFFSET) &\ argument
/linux-6.15/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()
/linux-6.15/net/core/
H A Dlwt_bpf.c169 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in xmit_check_hhlen() local
171 if (pskb_expand_head(skb, nhead, 0, GFP_ATOMIC)) in xmit_check_hhlen()
H A Dskbuff.c2229 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument
2233 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2238 BUG_ON(nhead < 0); in pskb_expand_head()
2255 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head()
2281 off = (data + nhead) - skb->head; in pskb_expand_head()
2289 off = nhead; in pskb_expand_head()
2292 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
H A Dpktgen.c2747 int nhead = 0; in process_ipsec() local
2753 nhead = x->props.header_len - skb_headroom(skb); in process_ipsec()
2754 if (nhead > 0) { in process_ipsec()
2755 ret = pskb_expand_head(skb, nhead, 0, GFP_ATOMIC); in process_ipsec()
/linux-6.15/fs/ceph/
H A Dmds_client.c3110 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message() local
3113 nhead->version = cpu_to_le16(1); in create_request_message()
3116 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message() local
3119 nhead->version = cpu_to_le16(2); in create_request_message()
3139 nhead->owner_uid = cpu_to_le32(-1); in create_request_message()
3140 nhead->owner_gid = cpu_to_le32(-1); in create_request_message()
3143 p = msg->front.iov_base + sizeof(*nhead); in create_request_message()
3259 struct ceph_mds_request_head *nhead; in __prepare_send_request() local
3318 nhead->ext_num_retry = cpu_to_le32(req->r_attempts - 1); in __prepare_send_request()
3357 nhead->ext_num_fwd = cpu_to_le32(req->r_num_fwd); in __prepare_send_request()
[all …]
/linux-6.15/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()
/linux-6.15/security/smack/
H A Dsmack_lsm.c342 static int smk_copy_rules(struct list_head *nhead, struct list_head *ohead, in smk_copy_rules() argument
356 list_add_rcu(&nrp->list, nhead); in smk_copy_rules()
369 static int smk_copy_relabel(struct list_head *nhead, struct list_head *ohead, in smk_copy_relabel() argument
378 smk_destroy_label_list(nhead); in smk_copy_relabel()
382 list_add(&nklep->list, nhead); in smk_copy_relabel()
/linux-6.15/net/bpf/
H A Dtest_run.c1098 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() local
1100 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
/linux-6.15/include/linux/
H A Dskbuff.h1407 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);