Searched refs:weight_set (Results 1 – 3 of 3) sorted by relevance
178 struct crush_weight_set *weight_set; /*!< weight replacements for member
309 if (!arg || !arg->weight_set) in get_choose_arg_weights()314 return arg->weight_set[position].weights; in get_choose_arg_weights()
253 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()