Lines Matching refs:argc

37 static int32_t shell_cmd_help(__unused int32_t argc, __unused char **argv);
38 static int32_t shell_version(__unused int32_t argc, __unused char **argv);
39 static int32_t shell_list_vm(__unused int32_t argc, __unused char **argv);
40 static int32_t shell_list_vcpu(__unused int32_t argc, __unused char **argv);
41 static int32_t shell_vcpu_dumpreg(int32_t argc, char **argv);
42 static int32_t shell_dump_host_mem(int32_t argc, char **argv);
43 static int32_t shell_dump_guest_mem(int32_t argc, char **argv);
44 static int32_t shell_to_vm_console(int32_t argc, char **argv);
45 static int32_t shell_show_cpu_int(__unused int32_t argc, __unused char **argv);
46 static int32_t shell_show_ptdev_info(__unused int32_t argc, __unused char **argv);
47 static int32_t shell_show_vioapic_info(int32_t argc, char **argv);
48 static int32_t shell_show_ioapic_info(__unused int32_t argc, __unused char **argv);
49 static int32_t shell_loglevel(int32_t argc, char **argv);
50 static int32_t shell_cpuid(int32_t argc, char **argv);
51 static int32_t shell_reboot(int32_t argc, char **argv);
52 static int32_t shell_rdmsr(int32_t argc, char **argv);
53 static int32_t shell_wrmsr(int32_t argc, char **argv);
185 uint32_t argc; in string_to_argv() local
190 argc = 0U; in string_to_argv()
195 *p_argc = argc; in string_to_argv()
211 argv[argc] = p_ch; in string_to_argv()
221 argc++; in string_to_argv()
238 *p_argc = argc; in string_to_argv()
664 static int32_t shell_cmd_help(__unused int32_t argc, __unused char **argv) in shell_cmd_help() argument
737 static int32_t shell_version(__unused int32_t argc, __unused char **argv) in shell_version() argument
751 static int32_t shell_list_vm(__unused int32_t argc, __unused char **argv) in shell_list_vm() argument
794 static int32_t shell_list_vcpu(__unused int32_t argc, __unused char **argv) in shell_list_vcpu() argument
954 static int32_t shell_vcpu_dumpreg(int32_t argc, char **argv) in shell_vcpu_dumpreg() argument
965 if (argc != 3) { in shell_vcpu_dumpreg()
1011 static int32_t shell_dump_host_mem(int32_t argc, char **argv) in shell_dump_host_mem() argument
1019 if (argc != 3) { in shell_dump_host_mem()
1076 static int32_t shell_dump_guest_mem(int32_t argc, char **argv) in shell_dump_guest_mem() argument
1088 if (argc != 4) { in shell_dump_guest_mem()
1111 static int32_t shell_to_vm_console(int32_t argc, char **argv) in shell_to_vm_console() argument
1119 if (argc == 2) { in shell_to_vm_console()
1204 static int32_t shell_show_cpu_int(__unused int32_t argc, __unused char **argv) in shell_show_cpu_int() argument
1316 static int32_t shell_show_ptdev_info(__unused int32_t argc, __unused char **argv) in shell_show_ptdev_info() argument
1383 static int32_t shell_show_vioapic_info(int32_t argc, char **argv) in shell_show_vioapic_info() argument
1389 if (argc != 2) { in shell_show_vioapic_info()
1468 static int32_t shell_show_ioapic_info(__unused int32_t argc, __unused char **argv) in shell_show_ioapic_info() argument
1478 static int32_t shell_loglevel(int32_t argc, char **argv) in shell_loglevel() argument
1482 switch (argc) { in shell_loglevel()
1505 static int32_t shell_cpuid(int32_t argc, char **argv) in shell_cpuid() argument
1511 if (argc == 2) { in shell_cpuid()
1513 } else if (argc == 3) { in shell_cpuid()
1532 static int32_t shell_reboot(__unused int32_t argc, __unused char **argv) in shell_reboot() argument
1538 static int32_t shell_rdmsr(int32_t argc, char **argv) in shell_rdmsr() argument
1548 switch (argc) { in shell_rdmsr()
1579 static int32_t shell_wrmsr(int32_t argc, char **argv) in shell_wrmsr() argument
1588 switch (argc) { in shell_wrmsr()