Home
last modified time | relevance | path

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

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