Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/crush/
Dcrush.h178 struct crush_weight_set *weight_set; /*!< weight replacements for member
/Linux-v6.6/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-v6.6/net/ceph/
Dosdmap.c253 kfree(arg->weight_set[j].weights); in free_choose_arg_map()
254 kfree(arg->weight_set); in free_choose_arg_map()
319 arg->weight_set = kmalloc_array(arg->weight_set_size, in decode_choose_arg()
320 sizeof(*arg->weight_set), in decode_choose_arg()
322 if (!arg->weight_set) in decode_choose_arg()
326 struct crush_weight_set *w = &arg->weight_set[i]; in decode_choose_arg()