Lines Matching refs:policy_bydst

466 		*dbits = net->xfrm.policy_bydst[dir].dbits4;  in __get_hash_thresh()
467 *sbits = net->xfrm.policy_bydst[dir].sbits4; in __get_hash_thresh()
471 *dbits = net->xfrm.policy_bydst[dir].dbits6; in __get_hash_thresh()
472 *sbits = net->xfrm.policy_bydst[dir].sbits6; in __get_hash_thresh()
485 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_bysel()
496 return rcu_dereference_check(net->xfrm.policy_bydst[dir].table, in policy_hash_bysel()
505 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_direct()
513 return rcu_dereference_check(net->xfrm.policy_bydst[dir].table, in policy_hash_direct()
576 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_bydst_resize()
589 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()
595 rcu_assign_pointer(net->xfrm.policy_bydst[dir].table, ndst); in xfrm_bydst_resize()
596 net->xfrm.policy_bydst[dir].hmask = nhashmask; in xfrm_bydst_resize()
634 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_bydst_should_resize()
1301 hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_hash_rebuild()
1302 odst = net->xfrm.policy_bydst[dir].table; in xfrm_hash_rebuild()
1309 net->xfrm.policy_bydst[dir].dbits4 = rbits4; in xfrm_hash_rebuild()
1310 net->xfrm.policy_bydst[dir].sbits4 = lbits4; in xfrm_hash_rebuild()
1311 net->xfrm.policy_bydst[dir].dbits6 = rbits6; in xfrm_hash_rebuild()
1312 net->xfrm.policy_bydst[dir].sbits6 = lbits6; in xfrm_hash_rebuild()
1315 net->xfrm.policy_bydst[dir].dbits4 = lbits4; in xfrm_hash_rebuild()
1316 net->xfrm.policy_bydst[dir].sbits4 = rbits4; in xfrm_hash_rebuild()
1317 net->xfrm.policy_bydst[dir].dbits6 = lbits6; in xfrm_hash_rebuild()
1318 net->xfrm.policy_bydst[dir].sbits6 = rbits6; in xfrm_hash_rebuild()
4021 htab = &net->xfrm.policy_bydst[dir]; in xfrm_policy_init()
4048 htab = &net->xfrm.policy_bydst[dir]; in xfrm_policy_init()
4075 htab = &net->xfrm.policy_bydst[dir]; in xfrm_policy_fini()