Searched refs:crush_bucket (Results 1 – 4 of 4) sorted by relevance
128 struct crush_bucket { struct147 struct crush_bucket h; argument152 struct crush_bucket h;159 struct crush_bucket h; /* note: h.size is _tree_ size, not number of166 struct crush_bucket h;172 struct crush_bucket h;182 struct crush_bucket **buckets;230 extern int crush_get_bucket_item_weight(const struct crush_bucket *b, int pos);236 extern void crush_destroy_bucket(struct crush_bucket *b);
26 int crush_get_bucket_item_weight(const struct crush_bucket *b, int p) in crush_get_bucket_item_weight()87 void crush_destroy_bucket(struct crush_bucket *b) in crush_destroy_bucket()
73 static int bucket_perm_choose(struct crush_bucket *bucket, in bucket_perm_choose()344 static int crush_bucket_choose(struct crush_bucket *in, int x, int r) in crush_bucket_choose()411 struct crush_bucket *bucket, in crush_choose_firstn()428 struct crush_bucket *in = bucket; in crush_choose_firstn()593 struct crush_bucket *bucket, in crush_choose_indep()603 struct crush_bucket *in = bucket; in crush_choose_indep()
200 struct crush_bucket *b; in crush_decode()