Lines Matching refs:argv
540 r = pst->create(&pg->ps, ps_argc, as->argv); in parse_path_selector()
634 r = ps->type->add_path(ps, &p->path, as->argc, as->argv, &ti->error); in parse_path()
700 path_args.argv = as->argv; in parse_priority_group()
749 len += strlen(as->argv[i]) + 1; in parse_hw_handler()
758 j = sprintf(p, "%s", as->argv[i]); in parse_hw_handler()
825 char **argv) in multipath_ctr() argument
840 as.argv = argv; in multipath_ctr()
1488 static int multipath_message(struct dm_target *ti, unsigned argc, char **argv) in multipath_message() argument
1503 if (!strcasecmp(argv[0], "queue_if_no_path")) { in multipath_message()
1506 } else if (!strcasecmp(argv[0], "fail_if_no_path")) { in multipath_message()
1517 if (!strcasecmp(argv[0], "disable_group")) { in multipath_message()
1518 r = bypass_pg_num(m, argv[1], 1); in multipath_message()
1520 } else if (!strcasecmp(argv[0], "enable_group")) { in multipath_message()
1521 r = bypass_pg_num(m, argv[1], 0); in multipath_message()
1523 } else if (!strcasecmp(argv[0], "switch_group")) { in multipath_message()
1524 r = switch_pg_num(m, argv[1]); in multipath_message()
1526 } else if (!strcasecmp(argv[0], "reinstate_path")) in multipath_message()
1528 else if (!strcasecmp(argv[0], "fail_path")) in multipath_message()
1531 DMWARN("Unrecognised multipath message received: %s", argv[0]); in multipath_message()
1535 r = dm_get_device(ti, argv[1], dm_table_get_mode(ti->table), &dev); in multipath_message()
1538 argv[1]); in multipath_message()