Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/netns/
A Dxfrm.h51 struct hlist_head *policy_byidx; member
/linux-6.3-rc2/net/xfrm/
A Dxfrm_policy.c614 struct hlist_head *oidx = net->xfrm.policy_byidx; in xfrm_byidx_resize()
626 net->xfrm.policy_byidx = nidx; in xfrm_byidx_resize()
1393 list = net->xfrm.policy_byidx + idx_hash(net, idx); in xfrm_gen_index()
1607 hlist_add_head(&policy->byidx, net->xfrm.policy_byidx+idx_hash(net, policy->index)); in xfrm_policy_insert()
1728 chain = net->xfrm.policy_byidx + idx_hash(net, id); in xfrm_policy_byid()
4117 net->xfrm.policy_byidx = xfrm_hash_alloc(sz); in xfrm_policy_init()
4118 if (!net->xfrm.policy_byidx) in xfrm_policy_init()
4159 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_init()
4190 WARN_ON(!hlist_empty(net->xfrm.policy_byidx)); in xfrm_policy_fini()
4191 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_fini()

Completed in 12 milliseconds