Searched refs:policy_bydst (Results 1 – 2 of 2) sorted by relevance
54 struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX]; member
510 *dbits = net->xfrm.policy_bydst[dir].dbits4; in __get_hash_thresh()511 *sbits = net->xfrm.policy_bydst[dir].sbits4; in __get_hash_thresh()515 *dbits = net->xfrm.policy_bydst[dir].dbits6; in __get_hash_thresh()516 *sbits = net->xfrm.policy_bydst[dir].sbits6; in __get_hash_thresh()529 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_bysel()540 return rcu_dereference_check(net->xfrm.policy_bydst[dir].table, in policy_hash_bysel()549 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_direct()557 return rcu_dereference_check(net->xfrm.policy_bydst[dir].table, in policy_hash_direct()620 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_bydst_resize()633 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()[all …]