/xen/tools/xl/ |
A D | xl_misc.c | 44 int opt; in main_button_press() local 62 int opt; in main_rename() local 65 SWITCH_FOREACH_OPT(opt, "", NULL, "rename", 2) { in main_rename() 84 int opt; in main_trigger() local 117 int opt; in main_sysrq() local 141 int opt; in main_debug_keys() local 160 int opt; in main_set_parameters() local 179 int ret = 0, opt = 0, daemonize = 1; in main_devd() local 212 int opt; in main_qemu_monitor_command() local 249 int opt; in main_dump_core() local [all …]
|
A D | xl_pci.c | 46 int opt; in main_pcilist() local 48 SWITCH_FOREACH_OPT(opt, "", NULL, "pci-list", 1) { in main_pcilist() 90 int opt; in main_pcidetach() local 94 SWITCH_FOREACH_OPT(opt, "f", NULL, "pci-detach", 2) { in main_pcidetach() 137 int opt; in main_pciattach() local 140 SWITCH_FOREACH_OPT(opt, "", NULL, "pci-attach", 2) { in main_pciattach() 175 int opt; in main_pciassignable_list() local 177 SWITCH_FOREACH_OPT(opt, "", NULL, "pci-assignable-list", 0) { in main_pciassignable_list() 212 int opt; in main_pciassignable_add() local 215 SWITCH_FOREACH_OPT(opt, "", NULL, "pci-assignable-add", 1) { in main_pciassignable_add() [all …]
|
A D | xl_usb.c | 28 int opt, rc = 0; in main_usbctrl_attach() local 31 SWITCH_FOREACH_OPT(opt, "", NULL, "usbctrl-attach", 1) { in main_usbctrl_attach() 57 int opt, devid, rc; in main_usbctrl_detach() local 60 SWITCH_FOREACH_OPT(opt, "", NULL, "usbctrl-detach", 2) { in main_usbctrl_detach() 87 int opt, rc; in main_usbdev_attach() local 90 SWITCH_FOREACH_OPT(opt, "", NULL, "usbdev-attach", 2) { in main_usbdev_attach() 117 int opt, rc = 1; in main_usbdev_detach() local 120 SWITCH_FOREACH_OPT(opt, "", NULL, "usbdev-detach", 3) { in main_usbdev_detach() 155 int numctrl, i, j, opt; in main_usblist() local 157 SWITCH_FOREACH_OPT(opt, "", NULL, "usb-list", 1) { in main_usblist()
|
A D | xl_console.c | 28 int opt = 0, num = 0; in main_console() local 32 SWITCH_FOREACH_OPT(opt, "n:t:", NULL, "console", 1) { in main_console() 67 int opt, autopass = 0; in main_vncviewer() local 69 SWITCH_FOREACH_OPT(opt, "a", opts, "vncviewer", 1) { in main_vncviewer() 85 int opt; in main_channellist() local 90 SWITCH_FOREACH_OPT(opt, "", NULL, "channel-list", 1) { in main_channellist()
|
A D | xl_block.c | 27 int opt; in main_blockattach() local 32 SWITCH_FOREACH_OPT(opt, "", NULL, "block-attach", 2) { in main_blockattach() 62 int opt; in main_blocklist() local 67 SWITCH_FOREACH_OPT(opt, "", NULL, "block-list", 1) { in main_blocklist() 100 int opt, rc = 0; in main_blockdetach() local 103 SWITCH_FOREACH_OPT(opt, "", NULL, "block-detach", 2) { in main_blockdetach()
|
A D | xl_mem.c | 46 int opt = 0; in main_memmax() local 49 SWITCH_FOREACH_OPT(opt, "", NULL, "mem-max", 2) { in main_memmax() 80 int opt = 0; in main_memset() local 83 SWITCH_FOREACH_OPT(opt, "", NULL, "mem-set", 2) { in main_memset() 116 int opt = 0; in main_sharing() local 121 SWITCH_FOREACH_OPT(opt, "", NULL, "sharing", 0) { in main_sharing()
|
A D | xl_vtpm.c | 27 int opt; in main_vtpmattach() local 32 SWITCH_FOREACH_OPT(opt, "", NULL, "vtpm-attach", 1) { in main_vtpmattach() 76 int opt; in main_vtpmlist() local 81 SWITCH_FOREACH_OPT(opt, "", NULL, "vtpm-list", 1) { in main_vtpmlist() 117 int opt, rc=0; in main_vtpmdetach() local 121 SWITCH_FOREACH_OPT(opt, "", NULL, "vtpm-detach", 2) { in main_vtpmdetach()
|
A D | xl_vkb.c | 29 int opt; in main_vkbattach() local 34 SWITCH_FOREACH_OPT(opt, "", NULL, "vkb-attach", 2) { in main_vkbattach() 84 int opt; in main_vkblist() local 89 SWITCH_FOREACH_OPT(opt, "", NULL, "vkb-list", 1) { in main_vkblist() 122 int opt, rc; in main_vkbdetach() local 125 SWITCH_FOREACH_OPT(opt, "", NULL, "vkb-detach", 2) { in main_vkbdetach()
|
A D | xl_cpupool.c | 32 int opt; in main_cpupoolcreate() local 55 SWITCH_FOREACH_OPT(opt, "nf:", opts, "cpupool-create", 0) { in main_cpupoolcreate() 240 int opt; in main_cpupoollist() local 252 SWITCH_FOREACH_OPT(opt, "c", opts, "cpupool-list", 0) { in main_cpupoollist() 305 int opt; in main_cpupooldestroy() local 331 int opt; in main_cpupoolrename() local 336 SWITCH_FOREACH_OPT(opt, "", NULL, "cpupool-rename", 2) { in main_cpupoolrename() 360 int opt; in main_cpupoolcpuadd() local 398 int opt; in main_cpupoolcpuremove() local 438 int opt; in main_cpupoolmigrate() local [all …]
|
A D | xl_nic.c | 53 int opt; in main_networkattach() local 57 SWITCH_FOREACH_OPT(opt, "", NULL, "network-attach", 1) { in main_networkattach() 97 int opt; in main_networklist() local 102 SWITCH_FOREACH_OPT(opt, "", NULL, "network-list", 1) { in main_networklist() 136 int opt; in main_networkdetach() local 139 SWITCH_FOREACH_OPT(opt, "", NULL, "network-detach", 2) { in main_networkdetach()
|
A D | xl_vdispl.c | 27 int opt; in main_vdisplattach() local 32 SWITCH_FOREACH_OPT(opt, "", NULL, "vdispl-attach", 1) { in main_vdisplattach() 71 int opt; in main_vdispllist() local 76 SWITCH_FOREACH_OPT(opt, "", NULL, "vdispl-list", 1) { in main_vdispllist() 126 int opt, rc; in main_vdispldetach() local 129 SWITCH_FOREACH_OPT(opt, "", NULL, "vdispl-detach", 2) { in main_vdispldetach()
|
A D | xl_cdrom.c | 71 int opt = 0; in main_cd_eject() local 74 SWITCH_FOREACH_OPT(opt, "", NULL, "cd-eject", 2) { in main_cd_eject() 90 int opt = 0; in main_cd_insert() local 94 SWITCH_FOREACH_OPT(opt, "", NULL, "cd-insert", 3) { in main_cd_insert()
|
A D | xl_psr.c | 233 int opt, ret = 0; in main_psr_cmt_attach() local 235 SWITCH_FOREACH_OPT(opt, "", NULL, "psr-cmt-attach", 1) { in main_psr_cmt_attach() 248 int opt, ret = 0; in main_psr_cmt_detach() local 262 int opt, ret = 0; in main_psr_cmt_show() local 266 SWITCH_FOREACH_OPT(opt, "", NULL, "psr-cmt-show", 1) { in main_psr_cmt_show() 536 int opt; in main_psr_mba_show() local 539 SWITCH_FOREACH_OPT(opt, "", NULL, "psr-mba-show", 0) { in main_psr_mba_show() 560 int ret, opt = 0; in main_psr_mba_set() local 640 int ret, opt = 0; in main_psr_cat_cbm_set() local 723 int opt = 0; in main_psr_cat_show() local [all …]
|
A D | xl_vsnd.c | 29 int opt; in main_vsndattach() local 34 SWITCH_FOREACH_OPT(opt, "", NULL, "vsnd-attach", 2) { in main_vsndattach() 103 int opt; in main_vsndlist() local 108 SWITCH_FOREACH_OPT(opt, "", NULL, "vsnd-list", 1) { in main_vsndlist() 168 int opt, rc; in main_vsnddetach() local 171 SWITCH_FOREACH_OPT(opt, "", NULL, "vsnd-detach", 2) { in main_vsnddetach()
|
A D | xl_info.c | 504 int opt; in main_list() local 585 int opt; in main_vm_list() local 597 int opt; in main_info() local 604 SWITCH_FOREACH_OPT(opt, "n", opts, "info", 0) { in main_info() 624 int opt; in main_domid() local 646 int opt; in main_domname() local 707 int opt; in main_claims() local 871 int opt; in main_uptime() local 892 int opt, ret = 1; in main_dmesg() local 919 int opt; in main_top() local [all …]
|
A D | xl_utils.h | 111 #define SWITCH_FOREACH_OPT(opt, opts, longopts, \ argument 113 while (((opt) = def_getopt(argc, argv, "h" opts, (longopts), \ 115 switch (opt)
|
A D | xl_utils.c | 152 int opt; in def_getopt() local 161 while ((opt = getopt_long(argc, argv, optstring, longopts, NULL)) == '?') { in def_getopt() 169 if (opt == 'h') { in def_getopt() 173 if (opt != -1) in def_getopt() 174 return opt; in def_getopt()
|
A D | xl_vcpu.c | 163 int opt; in main_vcpulist() local 165 SWITCH_FOREACH_OPT(opt, "", NULL, "vcpu-list", 0) { in main_vcpulist() 191 int opt, nb_cpu, nb_vcpu, rc = EXIT_FAILURE; in main_vcpupin() local 197 SWITCH_FOREACH_OPT(opt, "fi", opts, "vcpu-pin", 3) { in main_vcpupin() 389 int opt, check_host = 1; in main_vcpuset() local 391 SWITCH_FOREACH_OPT(opt, "i", opts, "vcpu-set", 2) { in main_vcpuset()
|
A D | xl_saverestore.c | 174 int opt, rc; in main_restore() local 181 SWITCH_FOREACH_OPT(opt, "FcpdeVA", opts, "restore", 1) { in main_restore() 244 int opt; in main_save() local 246 SWITCH_FOREACH_OPT(opt, "cpD", NULL, "save", 2) { in main_save()
|
/xen/tools/xentrace/ |
A D | xenalyze.c | 225 } opt = { variable 2227 if (opt.sample_max != 0 && new_size > opt.sample_max) in update_cycles() 2883 if(opt.summary_eip_limit && opt.summary_eip_limit < N) in dump_eip() 3334 if(opt.dump_all) in hvm_pf_xen_process() 3552 if(opt.dump_all) in hvm_vlapic_eoi_handler() 3678 if(opt.dump_all) in hvm_mmio_assist_process() 4034 if(opt.summary_eip_limit && opt.summary_eip_limit < N) in cr3_dump_list() 4317 if(opt.summary) in hvm_vmcall_postprocess() 10095 opt.cpu_qhz = QHZ_FROM_HZ(opt.cpu_hz); in parse_cpu_hz() 10538 opt.interval.cycles = ( opt.interval.msec * opt.cpu_hz ) / 1000 ; in cmd_parser() [all …]
|
/xen/xen/common/ |
A D | kernel.c | 60 char opt[MAX_PARAM_SIZE], *optval, *optkey, *q; in parse_params() local 75 q = optkey = opt; in parse_params() 78 if ( (q-opt) < (sizeof(opt)-1) ) /* avoid overflow */ in parse_params() 85 optval = strchr(opt, '='); in parse_params() 89 q = strpbrk(opt, "([{<"); in parse_params() 113 strlen(param->name) == q + 1 - opt && in parse_params() 114 !strncmp(param->name, opt, q + 1 - opt) ) in parse_params() 162 safe_strcpy(opt, "no"); in parse_params() 163 optval = opt; in parse_params()
|
/xen/m4/ |
A D | ocaml.m4 | 42 OCAMLBEST=opt 48 # checking for ocamlc.opt 49 AC_CHECK_TOOL([OCAMLCDOTOPT],[ocamlc.opt],[no]) 53 AC_MSG_RESULT([versions differs from ocamlc; ocamlc.opt discarded.]) 59 # checking for ocamlopt.opt 61 AC_CHECK_TOOL([OCAMLOPTDOTOPT],[ocamlopt.opt],[no]) 65 AC_MSG_RESULT([version differs from ocamlc; ocamlopt.opt discarded.]) 102 AC_CHECK_TOOL([OCAMLLEXDOTOPT],[ocamllex.opt],[no])
|
/xen/xen/tools/ |
A D | binfile | 10 while getopts "ia:" opt; do 11 case "$opt" in
|
/xen/tools/misc/ |
A D | xencov.c | 107 int opt; in main() local 109 while ((opt = getopt(argc, argv, "h")) != -1) { in main() 110 switch (opt) { in main()
|
/xen/xen/arch/x86/ |
A D | numa.c | 293 static __init int numa_setup(const char *opt) in numa_setup() argument 295 if ( !strncmp(opt,"off",3) ) in numa_setup() 297 else if ( !strncmp(opt,"on",2) ) in numa_setup() 300 else if ( !strncmp(opt, "fake=", 5) ) in numa_setup() 303 numa_fake = simple_strtoul(opt+5,NULL,0); in numa_setup() 309 else if ( !strncmp(opt,"noacpi",6) ) in numa_setup()
|