Searched refs:crush_bucket (Results 1 – 4 of 4) sorted by relevance
131 struct crush_bucket { struct205 struct crush_bucket h;210 struct crush_bucket h;217 struct crush_bucket h; /* note: h.size is _tree_ size, not number of224 struct crush_bucket h;230 struct crush_bucket h;240 struct crush_bucket **buckets;317 extern int crush_get_bucket_item_weight(const struct crush_bucket *b, int pos);323 extern void crush_destroy_bucket(struct crush_bucket *b);
27 int crush_get_bucket_item_weight(const struct crush_bucket *b, int p) in crush_get_bucket_item_weight()83 void crush_destroy_bucket(struct crush_bucket *b) in crush_destroy_bucket()
74 static int bucket_perm_choose(const struct crush_bucket *bucket, in bucket_perm_choose()376 static int crush_bucket_choose(const struct crush_bucket *in, in crush_bucket_choose()455 const struct crush_bucket *bucket, in crush_choose_firstn()474 const struct crush_bucket *in = bucket; in crush_choose_firstn()648 const struct crush_bucket *bucket, in crush_choose_indep()659 const struct crush_bucket *in = bucket; in crush_choose_indep()
478 struct crush_bucket *b; in crush_decode()3036 struct crush_bucket *b; in get_immediate_parent()