Lines Matching refs:weight
369 const __u32 *weight, int weight_max, in is_out() argument
374 if (weight[item] >= 0x10000) in is_out()
376 if (weight[item] == 0) in is_out()
379 < weight[item]) in is_out()
405 const __u32 *weight, int weight_max, in crush_choose_firstn() argument
507 weight, weight_max, in crush_choose_firstn()
528 reject = is_out(map, weight, in crush_choose_firstn()
583 const __u32 *weight, int weight_max, in crush_choose_indep() argument
694 weight, weight_max, in crush_choose_indep()
711 is_out(map, weight, weight_max, item, x)) in crush_choose_indep()
744 const __u32 *weight, int weight_max, in crush_do_rule() argument
865 weight, weight_max, in crush_do_rule()
884 weight, weight_max, in crush_do_rule()