Home
last modified time | relevance | path

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

/linux-6.1.9/tools/hv/
Dvmbus_testing76 arg_set = { k for (k,v) in vars(args).items() if v and k != "action" }
77 arg_set.add(args.action)
78 path = args.path if "path" in arg_set else None
81 validate_args_path(path, arg_set, file_map)
82 if (path and "enable_single" in arg_set):
87 if ("delay" in arg_set):
95 elif ("disable_all" in arg_set or "D" in arg_set):
97 elif ("disable_single" in arg_set or "d" in arg_set):
99 elif ("view_all" in arg_set or "V" in arg_set):
101 elif ("view_single" in arg_set or "v" in arg_set):
[all …]
/linux-6.1.9/drivers/md/
Ddm-table.c736 struct dm_arg_set *arg_set, in validate_next_arg() argument
739 const char *arg_str = dm_shift_arg(arg_set); in validate_next_arg()
746 (grouped && arg_set->argc < *value)) { in validate_next_arg()
754 int dm_read_arg(const struct dm_arg *arg, struct dm_arg_set *arg_set, in dm_read_arg() argument
757 return validate_next_arg(arg, arg_set, value, error, 0); in dm_read_arg()
761 int dm_read_arg_group(const struct dm_arg *arg, struct dm_arg_set *arg_set, in dm_read_arg_group() argument
764 return validate_next_arg(arg, arg_set, value, error, 1); in dm_read_arg_group()
/linux-6.1.9/include/linux/
Ddevice-mapper.h415 int dm_read_arg(const struct dm_arg *arg, struct dm_arg_set *arg_set,
423 int dm_read_arg_group(const struct dm_arg *arg, struct dm_arg_set *arg_set,