Lines Matching defs:arg
306 const struct crush_choose_arg *arg,
309 if (!arg || !arg->weight_set)
312 if (position >= arg->weight_set_size)
313 position = arg->weight_set_size - 1;
314 return arg->weight_set[position].weights;
318 const struct crush_choose_arg *arg)
320 if (!arg || !arg->ids)
323 return arg->ids;
328 const struct crush_choose_arg *arg,
334 __u32 *weights = get_choose_arg_weights(bucket, arg, position);
335 __s32 *ids = get_choose_arg_ids(bucket, arg);
379 const struct crush_choose_arg *arg,
402 x, r, arg, position);