Home
last modified time | relevance | path

Searched refs:weight_set (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/linux/crush/
Dcrush.h178 struct crush_weight_set *weight_set; /*!< weight replacements for member
/Linux-v5.10/net/ceph/crush/
Dmapper.c309 if (!arg || !arg->weight_set) in get_choose_arg_weights()
314 return arg->weight_set[position].weights; in get_choose_arg_weights()
/Linux-v5.10/net/ceph/
Dosdmap.c237 kfree(arg->weight_set[j].weights); in free_choose_arg_map()
238 kfree(arg->weight_set); in free_choose_arg_map()
303 arg->weight_set = kmalloc_array(arg->weight_set_size, in decode_choose_arg()
304 sizeof(*arg->weight_set), in decode_choose_arg()
306 if (!arg->weight_set) in decode_choose_arg()
310 struct crush_weight_set *w = &arg->weight_set[i]; in decode_choose_arg()