/xen/tools/xl/ |
A D | xl.h | 25 int (*cmd_impl)(int argc, char **argv); 117 int main_info(int argc, char **argv); 132 int main_save(int argc, char **argv); 136 int main_pause(int argc, char **argv); 141 int main_list(int argc, char **argv); 153 int main_domid(int argc, char **argv); 157 int main_sysrq(int argc, char **argv); 160 int main_dmesg(int argc, char **argv); 161 int main_top(int argc, char **argv); 203 int main_remus(int argc, char **argv); [all …]
|
A D | xl_usb.c | 25 int main_usbctrl_attach(int argc, char **argv) in main_usbctrl_attach() argument 39 for (argv += optind, argc -= optind; argc > 0; ++argv, --argc) { in main_usbctrl_attach() 54 int main_usbctrl_detach(int argc, char **argv) in main_usbctrl_detach() argument 84 int main_usbdev_attach(int argc, char **argv) in main_usbdev_attach() argument 98 for (argv += optind, argc -= optind; argc > 0; ++argv, --argc) { in main_usbdev_attach() 113 int main_usbdev_detach(int argc, char **argv) in main_usbdev_detach() argument 128 if (argc - optind > 3) { in main_usbdev_detach() 150 int main_usblist(int argc, char **argv) in main_usblist() argument 163 if (argc > optind) { in main_usblist()
|
A D | xl_vtpm.c | 25 int main_vtpmattach(int argc, char **argv) in main_vtpmattach() argument 43 for (argv += optind, argc -= optind; argc > 0; ++argv, --argc) { in main_vtpmattach() 74 int main_vtpmlist(int argc, char **argv) in main_vtpmlist() argument 88 for (argv += optind, argc -= optind; argc > 0; --argc, ++argv) { in main_vtpmlist() 114 int main_vtpmdetach(int argc, char **argv) in main_vtpmdetach() argument
|
A D | xl_misc.c | 42 int main_button_press(int argc, char **argv) in main_button_press() argument 59 int main_rename(int argc, char **argv) in main_rename() argument 81 int main_trigger(int argc, char **argv) in main_trigger() argument 114 int main_sysrq(int argc, char **argv) in main_sysrq() argument 139 int main_debug_keys(int argc, char **argv) in main_debug_keys() argument 177 int main_devd(int argc, char **argv) in main_devd() argument 225 if (argc - optind > 2) { in main_qemu_monitor_command() 277 if (argc < 2) { in main_config_update() 287 argc--; argv++; in main_config_update() 291 argc--; argv++; in main_config_update() [all …]
|
A D | xl_vkb.c | 27 int main_vkbattach(int argc, char **argv) in main_vkbattach() argument 41 for (argv += optind, argc -= optind; argc > 0; ++argv, --argc) { in main_vkbattach() 82 int main_vkblist(int argc, char **argv) in main_vkblist() argument 97 for (argv += optind, argc -= optind; argc > 0; --argc, ++argv) { in main_vkblist() 119 int main_vkbdetach(int argc, char **argv) in main_vkbdetach() argument
|
A D | xl_nic.c | 50 int main_networkattach(int argc, char **argv) in main_networkattach() argument 72 for (argv += optind+1, argc -= optind+1; argc > 0; ++argv, --argc) { in main_networkattach() 95 int main_networklist(int argc, char **argv) in main_networklist() argument 109 for (argv += optind, argc -= optind; argc > 0; --argc, ++argv) { in main_networklist() 133 int main_networkdetach(int argc, char **argv) in main_networkdetach() argument
|
A D | xl_vdispl.c | 25 int main_vdisplattach(int argc, char **argv) in main_vdisplattach() argument 39 for (argv += optind, argc -= optind; argc > 0; ++argv, --argc) { in main_vdisplattach() 69 int main_vdispllist(int argc, char **argv) in main_vdispllist() argument 80 for (argv += optind, argc -= optind; argc > 0; --argc, ++argv) { in main_vdispllist() 123 int main_vdispldetach(int argc, char **argv) in main_vdispldetach() argument
|
A D | xl_block.c | 25 int main_blockattach(int argc, char **argv) in main_blockattach() argument 43 (&config, argc-optind, (const char* const*)argv + optind, &disk); in main_blockattach() 60 int main_blocklist(int argc, char **argv) in main_blocklist() argument 73 for (argv += optind, argc -= optind; argc > 0; --argc, ++argv) { in main_blocklist() 97 int main_blockdetach(int argc, char **argv) in main_blockdetach() argument
|
A D | xl_vsnd.c | 27 int main_vsndattach(int argc, char **argv) in main_vsndattach() argument 41 for (argv += optind, argc -= optind; argc > 0; ++argv, --argc) { in main_vsndattach() 101 int main_vsndlist(int argc, char **argv) in main_vsndlist() argument 112 for (argv += optind, argc -= optind; argc > 0; --argc, ++argv) { in main_vsndlist() 165 int main_vsnddetach(int argc, char **argv) in main_vsnddetach() argument
|
A D | xl_console.c | 25 int main_console(int argc, char **argv) in main_console() argument 59 int main_vncviewer(int argc, char **argv) in main_vncviewer() argument 83 int main_channellist(int argc, char **argv) in main_channellist() argument 97 for (argv += optind, argc -= optind; argc > 0; --argc, ++argv) { in main_channellist()
|
A D | xl_flask.c | 26 int main_getenforce(int argc, char **argv) in main_getenforce() argument 46 int main_setenforce(int argc, char **argv) in main_setenforce() argument 51 if (optind >= argc) { in main_setenforce() 84 int main_loadpolicy(int argc, char **argv) in main_loadpolicy() argument 92 if (optind >= argc) { in main_loadpolicy()
|
A D | xl_vcpu.c | 127 static void vcpulist(int argc, char **argv) in vcpulist() argument 141 if (!argc) { in vcpulist() 152 for (; argc > 0; ++argv, --argc) { in vcpulist() 161 int main_vcpulist(int argc, char **argv) in main_vcpulist() argument 169 vcpulist(argc - optind, argv + optind); in main_vcpulist() 173 int main_vcpupin(int argc, char **argv) in main_vcpupin() argument 211 soft_str = (argc > optind+3) ? argv[optind+3] : NULL; in main_vcpupin() 253 if (argc <= optind+3 || !strcmp(soft_str, "-")) in main_vcpupin() 383 int main_vcpuset(int argc, char **argv) in main_vcpuset() argument
|
A D | xl_pci.c | 43 int main_pcilist(int argc, char **argv) in main_pcilist() argument 87 int main_pcidetach(int argc, char **argv) in main_pcidetach() argument 134 int main_pciattach(int argc, char **argv) in main_pciattach() argument 147 if (optind + 1 < argc) in main_pciattach() 173 int main_pciassignable_list(int argc, char **argv) in main_pciassignable_list() argument 210 int main_pciassignable_add(int argc, char **argv) in main_pciassignable_add() argument 252 int main_pciassignable_remove(int argc, char **argv) in main_pciassignable_remove() argument
|
/xen/tools/misc/ |
A D | xen-hptool.c | 28 static int help_func(int argc, char *argv[]) in help_func() argument 40 if (argc != 1) in hp_mem_online_func() 72 if (argc != 1) in hp_mem_query_func() 153 if (argc != 1) in hp_mem_offline_func() 270 if ( argc != 1 ) in hp_cpu_online_func() 292 if (argc != 1 ) in hp_cpu_offline_func() 313 if ( argc ) in main_smt_enable() 339 if ( argc ) in main_smt_disable() 363 int (*function)(int argc, char *argv[]); 376 int main(int argc, char *argv[]) in main() argument [all …]
|
A D | xen-livepatch.c | 47 static int help_func(int argc, char *argv[]) in help_func() argument 67 static int list_func(int argc, char *argv[]) in list_func() argument 78 if ( argc ) in list_func() 202 if ( argc != 2 ) in upload_func() 208 if ( get_name(argc, argv, name) ) in upload_func() 342 for ( i = 0; i < argc; i++ ) in get_flags() 394 if ( argc < 1 ) in action_func() 503 if ( argc < 1 ) in load_func() 528 for ( i = 1; i < argc; i++ ) in load_func() 559 int main(int argc, char *argv[]) in main() argument [all …]
|
A D | xen-diag.c | 29 static int help_func(int argc, char *argv[]) in help_func() argument 35 static int gnttab_query_size_func(int argc, char *argv[]) in gnttab_query_size_func() argument 40 if ( argc != 1 ) in gnttab_query_size_func() 59 int (*function)(int argc, char *argv[]); 65 int main(int argc, char *argv[]) in main() argument 75 if ( argc <= 1 ) in main() 99 ret = main_options[i].function(argc - 2, argv + 2); in main()
|
A D | xenpm.c | 98 if ( argc == 0 ) in parse_cpuid_and_int() 104 if ( argc > 1 ) in parse_cpuid_and_int() 242 if ( argc > 0 ) in cxstat_func() 352 if ( argc > 0 ) in pxstat_func() 386 if ( argc > 0 ) in cpufreq_func() 851 if ( argc > 0 ) in cpufreq_para_func() 1119 if ( argc ) in get_vcpu_migration_delay_func() 1136 if ( argc < 1 || argc > 2 || in set_max_cstate_func() 1177 if ( argc > 0 ) in enable_turbo_mode() 1200 if ( argc > 0 ) in disable_turbo_mode() [all …]
|
A D | xen-mfndump.c | 12 int help_func(int argc, char *argv[]) in help_func() argument 29 int dump_m2p_func(int argc, char *argv[]) in dump_m2p_func() argument 35 if ( argc > 0 ) in dump_m2p_func() 66 int dump_p2m_func(int argc, char *argv[]) in dump_p2m_func() argument 73 if ( argc < 1 ) in dump_p2m_func() 159 if ( argc < 2 ) in dump_ptes_func() 267 if ( argc < 2 ) in lookup_pte_func() 337 if ( argc < 4 ) in memcmp_mfns_func() 382 int (*func)(int argc, char *argv[]); 392 int main(int argc, char *argv[]) in main() argument [all …]
|
A D | xenhypfs.c | 33 static int xenhypfs_cat(int argc, char *argv[]) in xenhypfs_cat() argument 40 switch (argc) { in xenhypfs_cat() 175 int main(int argc, char *argv[]) in main() argument 184 } else if (argc >= 3 && !strcmp(argv[1], "cat")) in main() 185 ret = xenhypfs_cat(argc - 2, argv + 2); in main() 186 else if (argc == 3 && !strcmp(argv[1], "ls")) in main() 188 else if (argc == 4 && !strcmp(argv[1], "write")) in main() 190 else if (argc == 2 && !strcmp(argv[1], "tree")) in main()
|
A D | xencov.c | 105 int main(int argc, char **argv) in main() argument 109 while ((opt = getopt(argc, argv, "h")) != -1) { in main() 120 argc -= optind; in main() 121 if (argc <= 0) in main() 131 cov_read(argc > 1 ? argv[1] : "-"); in main()
|
/xen/xen/tools/kconfig/ |
A D | preprocess.c | 109 char *(*func)(int argc, char *argv[]); 125 static char *do_info(int argc, char *argv[]) in do_info() argument 141 static char *do_shell(int argc, char *argv[]) in do_shell() argument 212 if (argc < f->min_args) in function_expand() 216 if (argc > f->max_args) in function_expand() 220 return f->func(argc, argv); in function_expand() 260 if (argc == 0 && v->exp_count) in variable_expand() 363 if (!*endptr && n > 0 && n <= argc) { in eval_clause() 411 argc, argv); in eval_clause() 487 return eval_clause(p, q - p, argc, argv); in expand_dollar_with_args() [all …]
|
/xen/tools/tests/mem-sharing/ |
A D | memshrtool.c | 49 int main(int argc, const char** argv) in main() argument 54 if( argc < 2 ) in main() 62 if( argc != 2 ) in main() 79 if( argc != 3 ) in main() 89 if( argc != 3 ) in main() 101 if( argc != 4 ) in main() 118 if( argc != 8 ) in main() 135 if( argc != 4 ) in main() 153 if( argc != 7 ) in main() 168 if( argc != 4 ) in main() [all …]
|
/xen/stubdom/vtpmmgr/ |
A D | vtpmmgr.c | 52 int parse_cmdline_hw(int argc, char** argv) in parse_cmdline_hw() argument 56 for (i = 1; i < argc; ++i) { in parse_cmdline_hw() 92 int main(int argc, char** argv) in main() argument 99 parse_cmdline_hw(argc, argv); in main() 104 if (vtpmmgr2_init(argc, argv) != TPM_SUCCESS) { in main() 111 if (vtpmmgr_init(argc, argv) != TPM_SUCCESS) { in main()
|
/xen/tools/xenstore/ |
A D | xenstore_control.c | 8 int main(int argc, char **argv) in main() argument 16 if (argc < 2) { in main() 23 for (p = 2; p < argc; p++) in main() 33 for (p = 2; p < argc; p++) { in main()
|
/xen/tools/fuzz/x86_instruction_emulator/ |
A D | afl-harness.c | 11 int main(int argc, char **argv) in main() argument 29 int c = getopt_long_only(argc, argv, "", lopts, NULL); in main() 53 max = argc - optind; in main() 61 if ( LLVMFuzzerInitialize(&argc, &argv) ) in main()
|