Home
last modified time | relevance | path

Searched refs:draw (Results 1 – 1 of 1) sorted by relevance

/net/ceph/crush/
Dmapper.c226 __u64 draw; in bucket_straw_choose() local
229 draw = crush_hash32_3(bucket->h.hash, x, bucket->h.items[i], r); in bucket_straw_choose()
230 draw &= 0xffff; in bucket_straw_choose()
231 draw *= bucket->straws[i]; in bucket_straw_choose()
232 if (i == 0 || draw > high_draw) { in bucket_straw_choose()
234 high_draw = draw; in bucket_straw_choose()