Searched refs:node_weights (Results 1 – 4 of 4) sorted by relevance
40 return ((struct crush_bucket_tree *)b)->node_weights[crush_calc_tree_node(p)]; in crush_get_bucket_item_weight()90 kfree(b->node_weights); in crush_destroy_bucket_tree()
200 w = bucket->node_weights[n]; in bucket_tree_choose()207 if (t < bucket->node_weights[l]) in bucket_tree_choose()
136 __u32 *node_weights; member
106 b->node_weights = kcalloc(b->num_nodes, sizeof(u32), GFP_NOFS); in crush_decode_tree_bucket()107 if (b->node_weights == NULL) in crush_decode_tree_bucket()111 b->node_weights[j] = ceph_decode_32(p); in crush_decode_tree_bucket()