Lines Matching refs:dbits
464 u8 *dbits, u8 *sbits) in __get_hash_thresh() argument
468 *dbits = net->xfrm.policy_bydst[dir].dbits4; in __get_hash_thresh()
473 *dbits = net->xfrm.policy_bydst[dir].dbits6; in __get_hash_thresh()
478 *dbits = 0; in __get_hash_thresh()
489 u8 dbits; 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()
509 u8 dbits; 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()
528 u8 dbits; 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
1264 dbits = rbits4; in xfrm_hash_rebuild()
1267 dbits = rbits6; in xfrm_hash_rebuild()
1272 dbits = lbits4; in xfrm_hash_rebuild()
1275 dbits = lbits6; in xfrm_hash_rebuild()
1280 if (policy->selector.prefixlen_d < dbits || in xfrm_hash_rebuild()