Searched refs:crush_bucket_uniform (Results 1 – 4 of 4) sorted by relevance
37 return ((struct crush_bucket_uniform *)b)->item_weight; in crush_get_bucket_item_weight()50 void crush_destroy_bucket_uniform(struct crush_bucket_uniform *b) in crush_destroy_bucket_uniform()95 crush_destroy_bucket_uniform((struct crush_bucket_uniform *)b); in crush_destroy_bucket()
129 static int bucket_uniform_choose(struct crush_bucket_uniform *bucket, in bucket_uniform_choose()343 return bucket_uniform_choose((struct crush_bucket_uniform *)in, in crush_bucket_choose()
129 struct crush_bucket_uniform { struct195 extern void crush_destroy_bucket_uniform(struct crush_bucket_uniform *b);
56 struct crush_bucket_uniform *b) in crush_decode_uniform_bucket()212 size = sizeof(struct crush_bucket_uniform); in crush_decode()261 (struct crush_bucket_uniform *)b); in crush_decode()