Home
last modified time | relevance | path

Searched refs:node_weights (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/net/ceph/crush/
Dcrush.c38 return ((struct crush_bucket_tree *)b)->node_weights[crush_calc_tree_node(p)]; in crush_get_bucket_item_weight()
64 kfree(b->node_weights); in crush_destroy_bucket_tree()
Dmapper.c209 w = bucket->node_weights[n]; in bucket_tree_choose()
216 if (t < bucket->node_weights[l]) in bucket_tree_choose()
/linux-6.12.1/include/linux/crush/
Dcrush.h220 __u32 *node_weights; member
/linux-6.12.1/net/ceph/
Dosdmap.c109 b->node_weights = kcalloc(b->num_nodes, sizeof(u32), GFP_NOFS); in crush_decode_tree_bucket()
110 if (b->node_weights == NULL) in crush_decode_tree_bucket()
114 b->node_weights[j] = ceph_decode_32(p); in crush_decode_tree_bucket()