Searched refs:idx_hash (Results 1 – 1 of 1) sorted by relevance
454 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() function1390 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()