crush_bucket
struct crush_bucket h;
struct crush_bucket h;
struct crush_bucket h; /* note: h.size is _tree_ size, not number of
struct crush_bucket h;
struct crush_bucket h;
struct crush_bucket **buckets;
extern int crush_get_bucket_item_weight(const struct crush_bucket *b, int pos);
extern void crush_destroy_bucket(struct crush_bucket *b);
int crush_get_bucket_item_weight(const struct crush_bucket *b, int p)
void crush_destroy_bucket(struct crush_bucket *b)
static int crush_bucket_choose(const struct crush_bucket *in,
const struct crush_bucket *bucket,
const struct crush_bucket *in = bucket;
const struct crush_bucket *bucket,
const struct crush_bucket *in = bucket;
static int bucket_perm_choose(const struct crush_bucket *bucket,
struct crush_bucket *b;
struct crush_bucket *b;