Lines Matching refs:argv
537 r = pst->create(&pg->ps, ps_argc, as->argv); in parse_path_selector()
625 r = ps->type->add_path(ps, &p->path, as->argc, as->argv, &ti->error); in parse_path()
691 path_args.argv = as->argv; in parse_priority_group()
734 len += strlen(as->argv[i]) + 1; in parse_hw_handler()
743 j = sprintf(p, "%s", as->argv[i]); in parse_hw_handler()
810 char **argv) in multipath_ctr() argument
825 as.argv = argv; in multipath_ctr()
1473 static int multipath_message(struct dm_target *ti, unsigned argc, char **argv) in multipath_message() argument
1488 if (!strcasecmp(argv[0], "queue_if_no_path")) { in multipath_message()
1491 } else if (!strcasecmp(argv[0], "fail_if_no_path")) { in multipath_message()
1502 if (!strcasecmp(argv[0], "disable_group")) { in multipath_message()
1503 r = bypass_pg_num(m, argv[1], 1); in multipath_message()
1505 } else if (!strcasecmp(argv[0], "enable_group")) { in multipath_message()
1506 r = bypass_pg_num(m, argv[1], 0); in multipath_message()
1508 } else if (!strcasecmp(argv[0], "switch_group")) { in multipath_message()
1509 r = switch_pg_num(m, argv[1]); in multipath_message()
1511 } else if (!strcasecmp(argv[0], "reinstate_path")) in multipath_message()
1513 else if (!strcasecmp(argv[0], "fail_path")) in multipath_message()
1516 DMWARN("Unrecognised multipath message received: %s", argv[0]); in multipath_message()
1520 r = dm_get_device(ti, argv[1], dm_table_get_mode(ti->table), &dev); in multipath_message()
1523 argv[1]); in multipath_message()