Searched refs:nhashmask (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_policy.c | 522 unsigned int nhashmask, in xfrm_dst_hash_transfer() argument 537 pol->family, nhashmask, dbits, sbits); in xfrm_dst_hash_transfer() 558 unsigned int nhashmask) in xfrm_idx_hash_transfer() argument 566 h = __idx_hash(pol->index, nhashmask); in xfrm_idx_hash_transfer() 579 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_bydst_resize() local 580 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_bydst_resize() 595 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize() 598 net->xfrm.policy_bydst[dir].hmask = nhashmask; in xfrm_bydst_resize() 611 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_byidx_resize() local 612 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_byidx_resize() [all …]
|
D | xfrm_state.c | 85 unsigned int nhashmask) in xfrm_hash_transfer() argument 95 nhashmask); in xfrm_hash_transfer() 100 nhashmask); in xfrm_hash_transfer() 106 nhashmask); in xfrm_hash_transfer() 122 unsigned int nhashmask, ohashmask; in xfrm_hash_resize() local 144 nhashmask = (nsize / sizeof(struct hlist_head)) - 1U; in xfrm_hash_resize() 147 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nhashmask); in xfrm_hash_resize() 156 net->xfrm.state_hmask = nhashmask; in xfrm_hash_resize()
|