Lines Matching refs:sbits
359 u8 *dbits, u8 *sbits) in __get_hash_thresh() argument
364 *sbits = net->xfrm.policy_bydst[dir].sbits4; in __get_hash_thresh()
369 *sbits = net->xfrm.policy_bydst[dir].sbits6; in __get_hash_thresh()
374 *sbits = 0; in __get_hash_thresh()
385 u8 sbits; in policy_hash_bysel() local
387 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_bysel()
388 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel()
403 u8 sbits; in policy_hash_direct() local
405 __get_hash_thresh(net, family, dir, &dbits, &sbits); in policy_hash_direct()
406 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct()
421 u8 sbits; in xfrm_dst_hash_transfer() local
427 __get_hash_thresh(net, pol->family, dir, &dbits, &sbits); in xfrm_dst_hash_transfer()
429 pol->family, nhashmask, dbits, sbits); in xfrm_dst_hash_transfer()