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()
4079 net->xfrm.policy_byidx = xfrm_hash_alloc(sz); in xfrm_policy_init()
4080 if (!net->xfrm.policy_byidx) in xfrm_policy_init()
4121 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_init()
4152 WARN_ON(!hlist_empty(net->xfrm.policy_byidx)); in xfrm_policy_fini()
4153 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_fini()