Home
last modified time | relevance | path

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

/linux/include/net/netns/
A Dxfrm.h51 struct hlist_head *policy_byidx; member
/linux/net/xfrm/
A Dxfrm_policy.c611 struct hlist_head *oidx = net->xfrm.policy_byidx; in xfrm_byidx_resize()
623 net->xfrm.policy_byidx = nidx; in xfrm_byidx_resize()
1390 list = net->xfrm.policy_byidx + idx_hash(net, idx); in xfrm_gen_index()
1601 hlist_add_head(&policy->byidx, net->xfrm.policy_byidx+idx_hash(net, policy->index)); in xfrm_policy_insert()
1722 chain = net->xfrm.policy_byidx + idx_hash(net, id); in xfrm_policy_byid()
4009 net->xfrm.policy_byidx = xfrm_hash_alloc(sz); in xfrm_policy_init()
4010 if (!net->xfrm.policy_byidx) in xfrm_policy_init()
4051 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_init()
4082 WARN_ON(!hlist_empty(net->xfrm.policy_byidx)); in xfrm_policy_fini()
4083 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_fini()

Completed in 11 milliseconds