Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/netns/
Dxfrm.h53 struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX]; member
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c468 *dbits = net->xfrm.policy_bydst[dir].dbits4; in __get_hash_thresh()
469 *sbits = net->xfrm.policy_bydst[dir].sbits4; in __get_hash_thresh()
473 *dbits = net->xfrm.policy_bydst[dir].dbits6; in __get_hash_thresh()
474 *sbits = net->xfrm.policy_bydst[dir].sbits6; in __get_hash_thresh()
487 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_bysel()
498 return rcu_dereference_check(net->xfrm.policy_bydst[dir].table, in policy_hash_bysel()
507 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_direct()
515 return rcu_dereference_check(net->xfrm.policy_bydst[dir].table, in policy_hash_direct()
578 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_bydst_resize()
591 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()
[all …]