Home
last modified time | relevance | path

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

/linux/net/ceph/crush/
A Dcrush.c56 kfree(b->sum_weights); in crush_destroy_bucket_list()
A Dmapper.c154 bucket->sum_weights[i], w); in bucket_list_choose()
155 w *= bucket->sum_weights[i]; in bucket_list_choose()
/linux/include/linux/crush/
A Dcrush.h212 __u32 *sum_weights; /* 16-bit fixed point. element i is sum member
/linux/net/ceph/
A Dosdmap.c74 b->sum_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket()
75 if (b->sum_weights == NULL) in crush_decode_list_bucket()
80 b->sum_weights[j] = ceph_decode_32(p); in crush_decode_list_bucket()

Completed in 12 milliseconds