Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/crush/
Dcrush.h180 __u32 weight_set_size; /*!< size of the __weight_set__ array */ member
/Linux-v6.6/net/ceph/crush/
Dmapper.c312 if (position >= arg->weight_set_size) in get_choose_arg_weights()
313 position = arg->weight_set_size - 1; in get_choose_arg_weights()
/Linux-v6.6/net/ceph/
Dosdmap.c252 for (j = 0; j < arg->weight_set_size; j++) in free_choose_arg_map()
315 ceph_decode_32_safe(p, end, arg->weight_set_size, e_inval); in decode_choose_arg()
316 if (arg->weight_set_size) { in decode_choose_arg()
319 arg->weight_set = kmalloc_array(arg->weight_set_size, in decode_choose_arg()
325 for (i = 0; i < arg->weight_set_size; i++) { in decode_choose_arg()