Home
last modified time | relevance | path

Searched refs:nhashmask (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/net/xfrm/
Dxfrm_policy.c564 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()
[all …]
Dxfrm_state.c112 unsigned int nhashmask) in xfrm_hash_transfer() argument
122 nhashmask); in xfrm_hash_transfer()
127 nhashmask); in xfrm_hash_transfer()
133 nhashmask); in xfrm_hash_transfer()
139 h = __xfrm_seq_hash(x->km.seq, nhashmask); in xfrm_hash_transfer()
156 unsigned int nhashmask, ohashmask; in xfrm_hash_resize() local
185 nhashmask = (nsize / sizeof(struct hlist_head)) - 1U; in xfrm_hash_resize()
188 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nseq, nhashmask); in xfrm_hash_resize()
199 net->xfrm.state_hmask = nhashmask; in xfrm_hash_resize()