Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_policy.c380 unsigned int nhashmask) in xfrm_dst_hash_transfer() argument
391 pol->family, nhashmask); in xfrm_dst_hash_transfer()
412 unsigned int nhashmask) in xfrm_idx_hash_transfer() argument
420 h = __idx_hash(pol->index, nhashmask); in xfrm_idx_hash_transfer()
433 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_bydst_resize() local
434 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_bydst_resize()
445 xfrm_dst_hash_transfer(odst + i, ndst, nhashmask); in xfrm_bydst_resize()
448 net->xfrm.policy_bydst[dir].hmask = nhashmask; in xfrm_bydst_resize()
458 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_byidx_resize() local
459 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_byidx_resize()
[all …]
Dxfrm_state.c73 unsigned int nhashmask) in xfrm_hash_transfer() argument
83 nhashmask); in xfrm_hash_transfer()
88 nhashmask); in xfrm_hash_transfer()
94 nhashmask); in xfrm_hash_transfer()
112 unsigned int nhashmask, ohashmask; in xfrm_hash_resize() local
135 nhashmask = (nsize / sizeof(struct hlist_head)) - 1U; in xfrm_hash_resize()
138 nhashmask); in xfrm_hash_resize()
148 net->xfrm.state_hmask = nhashmask; in xfrm_hash_resize()