Lines Matching refs:nhashmask
564 unsigned int nhashmask, in xfrm_dst_hash_transfer() argument
579 pol->family, nhashmask, dbits, sbits); in xfrm_dst_hash_transfer()
600 unsigned int nhashmask) in xfrm_idx_hash_transfer() argument
608 h = __idx_hash(pol->index, nhashmask); in xfrm_idx_hash_transfer()
621 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_bydst_resize() local
622 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_bydst_resize()
637 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize()
640 net->xfrm.policy_bydst[dir].hmask = nhashmask; in xfrm_bydst_resize()
653 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_byidx_resize() local
654 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_byidx_resize()
665 xfrm_idx_hash_transfer(oidx + i, nidx, nhashmask); in xfrm_byidx_resize()
668 net->xfrm.policy_idx_hmask = nhashmask; in xfrm_byidx_resize()