Searched refs:nhashmask (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/xfrm/ |
D | xfrm_policy.c | 523 unsigned int nhashmask, in xfrm_dst_hash_transfer() argument 538 pol->family, nhashmask, dbits, sbits); in xfrm_dst_hash_transfer() 559 unsigned int nhashmask) in xfrm_idx_hash_transfer() argument 567 h = __idx_hash(pol->index, nhashmask); in xfrm_idx_hash_transfer() 580 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_bydst_resize() local 581 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_bydst_resize() 596 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize() 599 net->xfrm.policy_bydst[dir].hmask = nhashmask; in xfrm_bydst_resize() 612 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_byidx_resize() local 613 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_byidx_resize() [all …]
|
D | xfrm_state.c | 111 unsigned int nhashmask) in xfrm_hash_transfer() argument 121 nhashmask); in xfrm_hash_transfer() 126 nhashmask); in xfrm_hash_transfer() 132 nhashmask); in xfrm_hash_transfer() 138 h = __xfrm_seq_hash(x->km.seq, nhashmask); in xfrm_hash_transfer() 155 unsigned int nhashmask, ohashmask; in xfrm_hash_resize() local 184 nhashmask = (nsize / sizeof(struct hlist_head)) - 1U; in xfrm_hash_resize() 187 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nseq, nhashmask); in xfrm_hash_resize() 198 net->xfrm.state_hmask = nhashmask; in xfrm_hash_resize()
|