Home
last modified time | relevance | path

Searched refs:policy_byidx (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/net/netns/
Dxfrm.h50 struct hlist_head *policy_byidx; member
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c613 struct hlist_head *oidx = net->xfrm.policy_byidx; in xfrm_byidx_resize()
625 net->xfrm.policy_byidx = nidx; in xfrm_byidx_resize()
1392 list = net->xfrm.policy_byidx + idx_hash(net, idx); in xfrm_gen_index()
1603 hlist_add_head(&policy->byidx, net->xfrm.policy_byidx+idx_hash(net, policy->index)); in xfrm_policy_insert()
1724 chain = net->xfrm.policy_byidx + idx_hash(net, id); in xfrm_policy_byid()
4061 net->xfrm.policy_byidx = xfrm_hash_alloc(sz); in xfrm_policy_init()
4062 if (!net->xfrm.policy_byidx) in xfrm_policy_init()
4103 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_init()
4134 WARN_ON(!hlist_empty(net->xfrm.policy_byidx)); in xfrm_policy_fini()
4135 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_fini()