Searched refs:draw (Results 1 – 1 of 1) sorted by relevance
234 __u64 draw; in bucket_straw_choose() local237 draw = crush_hash32_3(bucket->h.hash, x, bucket->h.items[i], r); in bucket_straw_choose()238 draw &= 0xffff; in bucket_straw_choose()239 draw *= bucket->straws[i]; in bucket_straw_choose()240 if (i == 0 || draw > high_draw) { in bucket_straw_choose()242 high_draw = draw; in bucket_straw_choose()333 __s64 ln, draw, high_draw = 0; in bucket_straw2_choose() local361 draw = div64_s64(ln, weights[i]); in bucket_straw2_choose()363 draw = S64_MIN; in bucket_straw2_choose()366 if (i == 0 || draw > high_draw) { in bucket_straw2_choose()[all …]