Home
last modified time | relevance | path

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

/linux/drivers/net/ovpn/
H A Dpeer.c194 struct hlist_nulls_head *nhead; in ovpn_peer_endpoints_update() local
321 nhead = ovpn_get_hash_head(peer->ovpn->peers->by_transp_addr, in ovpn_peer_endpoints_update()
323 hlist_nulls_add_head_rcu(&peer->hash_entry_transp_addr, nhead); in ovpn_peer_endpoints_update()
447 struct hlist_nulls_head *nhead; in ovpn_peer_get_by_vpn_addr4() local
455 nhead = &ovpn->peers->by_vpn_addr4[slot]; in ovpn_peer_get_by_vpn_addr4()
457 hlist_nulls_for_each_entry_rcu(tmp, ntmp, nhead, hash_entry_addr4) in ovpn_peer_get_by_vpn_addr4()
482 struct hlist_nulls_head *nhead; in ovpn_peer_get_by_vpn_addr6() local
490 nhead = &ovpn->peers->by_vpn_addr6[slot]; in ovpn_peer_get_by_vpn_addr6()
492 hlist_nulls_for_each_entry_rcu(tmp, ntmp, nhead, hash_entry_addr6) in ovpn_peer_get_by_vpn_addr6()
584 struct hlist_nulls_head *nhead; in ovpn_peer_get_by_transp_addr() local
[all …]
/linux/drivers/crypto/
H A Datmel-aes-regs.h85 #define AES_EMR_NHEAD(nhead) (((nhead) << AES_EMR_NHEAD_OFFSET) &\ argument
/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()
/linux/fs/ceph/
H A Dmds_client.c3161 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message() local
3164 nhead->version = cpu_to_le16(1); in create_request_message()
3167 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message() local
3170 nhead->version = cpu_to_le16(2); in create_request_message()
3174 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message() local
3179 nhead->version = cpu_to_le16(CEPH_MDS_REQUEST_HEAD_VERSION); in create_request_message()
3180 nhead->struct_len = cpu_to_le32(sizeof(struct ceph_mds_request_head)); in create_request_message()
3187 nhead->owner_uid = cpu_to_le32(from_kuid(&init_user_ns, owner_fsuid)); in create_request_message()
3188 nhead->owner_gid = cpu_to_le32(from_kgid(&init_user_ns, owner_fsgid)); in create_request_message()
3190 nhead->owner_uid = cpu_to_le32(-1); in create_request_message()
[all …]
/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()
/linux/security/smack/
H A Dsmack_lsm.c341 static int smk_copy_rules(struct list_head *nhead, struct list_head *ohead, in smk_copy_rules() argument
355 list_add_rcu(&nrp->list, nhead); in smk_copy_rules()
368 static int smk_copy_relabel(struct list_head *nhead, struct list_head *ohead, in smk_copy_relabel() argument
377 smk_destroy_label_list(nhead); in smk_copy_relabel()
381 list_add(&nklep->list, nhead); in smk_copy_relabel()
/linux/net/core/
H A Dskbuff.c2264 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument
2268 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2273 BUG_ON(nhead < 0); in pskb_expand_head()
2290 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head()
2316 off = (data + nhead) - skb->head; in pskb_expand_head()
2324 off = nhead; in pskb_expand_head()
2327 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
/linux/net/bpf/
H A Dtest_run.c1163 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() local
1165 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
/linux/include/linux/
H A Dskbuff.h1450 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);