crush_bucket_tree
extern void crush_destroy_bucket_tree(struct crush_bucket_tree *b);
return ((struct crush_bucket_tree *)b)->node_weights[crush_calc_tree_node(p)];
void crush_destroy_bucket_tree(struct crush_bucket_tree *b)
crush_destroy_bucket_tree((struct crush_bucket_tree *)b);
static int bucket_tree_choose(const struct crush_bucket_tree *bucket,
return bucket_tree_choose((const struct crush_bucket_tree *)in,
struct crush_bucket_tree *b)
size = sizeof(struct crush_bucket_tree);
(struct crush_bucket_tree *)b);