Searched refs:crush_bucket (Results 1 – 4 of 4) sorted by relevance
111 struct crush_bucket { struct130 struct crush_bucket h; argument135 struct crush_bucket h;142 struct crush_bucket h; /* note: h.size is _tree_ size, not number of149 struct crush_bucket h;155 struct crush_bucket h;165 struct crush_bucket **buckets;194 extern int crush_get_bucket_item_weight(const struct crush_bucket *b, int pos);200 extern void crush_destroy_bucket(struct crush_bucket *b);
30 int crush_get_bucket_item_weight(const struct crush_bucket *b, int p) in crush_get_bucket_item_weight()91 void crush_destroy_bucket(struct crush_bucket *b) in crush_destroy_bucket()
69 static int bucket_perm_choose(struct crush_bucket *bucket, in bucket_perm_choose()337 static int crush_bucket_choose(struct crush_bucket *in, int x, int r) in crush_bucket_choose()404 struct crush_bucket *bucket, in crush_choose_firstn()421 struct crush_bucket *in = bucket; in crush_choose_firstn()582 struct crush_bucket *bucket, in crush_choose_indep()592 struct crush_bucket *in = bucket; in crush_choose_indep()
200 struct crush_bucket *b; in crush_decode()