Searched refs:crush_bucket_tree (Results 1 – 4 of 4) sorted by relevance
38 return ((struct crush_bucket_tree *)b)->node_weights[crush_calc_tree_node(p)]; in crush_get_bucket_item_weight()61 void crush_destroy_bucket_tree(struct crush_bucket_tree *b) in crush_destroy_bucket_tree()93 crush_destroy_bucket_tree((struct crush_bucket_tree *)b); in crush_destroy_bucket()
196 static int bucket_tree_choose(const struct crush_bucket_tree *bucket, in bucket_tree_choose()393 return bucket_tree_choose((const struct crush_bucket_tree *)in, in crush_bucket_choose()
216 struct crush_bucket_tree { struct320 extern void crush_destroy_bucket_tree(struct crush_bucket_tree *b);
104 struct crush_bucket_tree *b) in crush_decode_tree_bucket()496 size = sizeof(struct crush_bucket_tree); in crush_decode()546 (struct crush_bucket_tree *)b); in crush_decode()