Searched refs:policy_byidx (Results 1 – 2 of 2) sorted by relevance
51 struct hlist_head *policy_byidx; member
613 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()4036 net->xfrm.policy_byidx = xfrm_hash_alloc(sz); in xfrm_policy_init()4037 if (!net->xfrm.policy_byidx) in xfrm_policy_init()4078 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_init()4109 WARN_ON(!hlist_empty(net->xfrm.policy_byidx)); in xfrm_policy_fini()4110 xfrm_hash_free(net->xfrm.policy_byidx, sz); in xfrm_policy_fini()