Home
last modified time | relevance | path

Searched refs:nhead (Results 1 - 21 of 21) sorted by relevance

/kernel/liteos_a/fs/jffs2/src/
H A Djffs2_hash.c68 LIST_HEAD *nhead = &heads[i]; in Jffs2HashDump() local
71 LOS_DL_LIST_FOR_EACH_ENTRY(node, nhead, struct jffs2_inode, i_hashlist) { in Jffs2HashDump()
/kernel/linux/linux-5.10/drivers/crypto/
H A Datmel-aes-regs.h85 #define AES_EMR_NHEAD(nhead) (((nhead) << AES_EMR_NHEAD_OFFSET) &\
/kernel/linux/linux-6.6/drivers/crypto/
H A Datmel-aes-regs.h85 #define AES_EMR_NHEAD(nhead) (((nhead) << AES_EMR_NHEAD_OFFSET) &\
/kernel/liteos_a/fs/vfs/
H A Dvnode_hash.c65 LIST_HEAD *nhead = &g_vnodeHashEntrys[i]; in VnodeHashDump() local
68 LOS_DL_LIST_FOR_EACH_ENTRY(node, nhead, struct Vnode, hashEntry) { in VnodeHashDump()
H A Dpath_cache.c71 LIST_HEAD *nhead = &g_pathCacheHashEntrys[i]; in PathCacheDump() local
73 LOS_DL_LIST_FOR_EACH_ENTRY(pc, nhead, struct PathCache, hashEntry) { in PathCacheDump()
/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_output.c33 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/core/
H A Dlwt_bpf.c163 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in xmit_check_hhlen() local
165 if (pskb_expand_head(skb, nhead, 0, GFP_ATOMIC)) in xmit_check_hhlen()
H A Dskbuff.c1613 * @nhead: room to add at head
1617 * Expands (or creates identical copy, if @nhead and @ntail are zero)
1626 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument
1630 int size = osize + nhead + ntail; in pskb_expand_head()
1634 BUG_ON(nhead < 0); in pskb_expand_head()
1651 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head()
1677 off = (data + nhead) - skb->head; in pskb_expand_head()
1684 off = nhead; in pskb_expand_head()
1689 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
H A Dpktgen.c2556 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()
/kernel/linux/linux-6.6/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.c2062 * @nhead: room to add at head
2066 * Expands (or creates identical copy, if @nhead and @ntail are zero)
2075 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument
2079 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2084 BUG_ON(nhead < 0); in pskb_expand_head()
2101 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head()
2127 off = (data + nhead) - skb->head; in pskb_expand_head()
2135 off = nhead; in pskb_expand_head()
2138 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/bpf/
H A Dtest_run.c597 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() local
599 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
/kernel/linux/linux-6.6/fs/ceph/
H A Dmds_client.c2984 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message() local
2987 nhead->version = cpu_to_le16(CEPH_MDS_REQUEST_HEAD_VERSION); in create_request_message()
2988 p = msg->front.iov_base + sizeof(*nhead); in create_request_message()
3103 struct ceph_mds_request_head *nhead; in __prepare_send_request() local
3161 nhead = (struct ceph_mds_request_head*)msg->front.iov_base; in __prepare_send_request()
3162 nhead->ext_num_retry = cpu_to_le32(req->r_attempts - 1); in __prepare_send_request()
3200 nhead = (struct ceph_mds_request_head*)msg->front.iov_base; in __prepare_send_request()
3201 nhead->ext_num_fwd = cpu_to_le32(req->r_num_fwd); in __prepare_send_request()
3202 nhead->ext_num_retry = cpu_to_le32(req->r_attempts - 1); in __prepare_send_request()
/kernel/linux/linux-5.10/security/smack/
H A Dsmack_lsm.c338 * @nhead: new rules header pointer
344 static int smk_copy_rules(struct list_head *nhead, struct list_head *ohead, in smk_copy_rules() argument
358 list_add_rcu(&nrp->list, nhead); in smk_copy_rules()
365 * @nhead: new rules header pointer
371 static int smk_copy_relabel(struct list_head *nhead, struct list_head *ohead, in smk_copy_relabel() argument
380 smk_destroy_label_list(nhead); in smk_copy_relabel()
384 list_add(&nklep->list, nhead); in smk_copy_relabel()
/kernel/linux/linux-6.6/security/smack/
H A Dsmack_lsm.c350 * @nhead: new rules header pointer
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()
377 * @nhead: new rules header pointer
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()
/kernel/linux/linux-6.6/net/bpf/
H A Dtest_run.c1051 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() local
1053 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
/kernel/linux/linux-5.10/include/linux/
H A Dskbuff.h1169 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);
/kernel/linux/linux-6.6/include/linux/
H A Dskbuff.h1353 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);

Completed in 65 milliseconds