Searched refs:idx_hash (Results 1 – 1 of 1) sorted by relevance
457 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() function1394 list = net->xfrm.policy_byidx + idx_hash(net, idx); in xfrm_gen_index()1608 hlist_add_head(&policy->byidx, net->xfrm.policy_byidx+idx_hash(net, policy->index)); in xfrm_policy_insert()1729 chain = net->xfrm.policy_byidx + idx_hash(net, id); in xfrm_policy_byid()