Lines Matching refs:sbits
464 u8 *dbits, u8 *sbits) in __get_hash_thresh() argument
469 *sbits = net->xfrm.policy_bydst[dir].sbits4; in __get_hash_thresh()
474 *sbits = net->xfrm.policy_bydst[dir].sbits6; in __get_hash_thresh()
479 *sbits = 0; in __get_hash_thresh()
490 u8 sbits; in policy_hash_bysel() local
492 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_bysel()
493 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel()
510 u8 sbits; in policy_hash_direct() local
512 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_direct()
513 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct()
529 u8 sbits; in xfrm_dst_hash_transfer() local
535 __get_hash_thresh(net, pol->family, dir, &dbits, &sbits); in xfrm_dst_hash_transfer()
537 pol->family, nhashmask, dbits, sbits); in xfrm_dst_hash_transfer()
1256 u8 dbits, sbits; in xfrm_hash_rebuild() local
1265 sbits = lbits4; in xfrm_hash_rebuild()
1268 sbits = lbits6; in xfrm_hash_rebuild()
1273 sbits = rbits4; in xfrm_hash_rebuild()
1276 sbits = rbits6; in xfrm_hash_rebuild()
1281 policy->selector.prefixlen_s < sbits) in xfrm_hash_rebuild()