Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/netns/
Dxfrm.h51 unsigned int policy_idx_hmask; member
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c458 return __idx_hash(index, net->xfrm.policy_idx_hmask); in idx_hash()
610 unsigned int hmask = net->xfrm.policy_idx_hmask; in xfrm_byidx_resize()
626 net->xfrm.policy_idx_hmask = nhashmask; in xfrm_byidx_resize()
650 unsigned int hmask = net->xfrm.policy_idx_hmask; in xfrm_byidx_should_resize()
667 si->spdhcnt = net->xfrm.policy_idx_hmask; in xfrm_spd_getinfo()
4082 net->xfrm.policy_idx_hmask = hmask; in xfrm_policy_init()
4151 sz = (net->xfrm.policy_idx_hmask + 1) * sizeof(struct hlist_head); in xfrm_policy_fini()