/xen-4.10.0-shim-comet/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 180 int ret = 0, opt = 0, daemonize = 1; in main_devd() local 213 int opt; in main_qemu_monitor_command() local 250 int opt; in main_dump_core() local [all …]
|
A D | xl_tmem.c | 30 int opt; in main_tmem_list() local 32 SWITCH_FOREACH_OPT(opt, "al", NULL, "tmem-list", 0) { in main_tmem_list() 67 int opt; in main_tmem_freeze() local 69 SWITCH_FOREACH_OPT(opt, "a", NULL, "tmem-freeze", 0) { in main_tmem_freeze() 98 int opt; in main_tmem_thaw() local 100 SWITCH_FOREACH_OPT(opt, "a", NULL, "tmem-thaw", 0) { in main_tmem_thaw() 131 int opt; in main_tmem_set() local 134 SWITCH_FOREACH_OPT(opt, "aw:c:p:", NULL, "tmem-set", 0) { in main_tmem_set() 192 int opt; in main_tmem_shared_auth() local 238 int opt; in main_tmem_freeable() 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_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_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_vdispl.c | 27 int opt; in main_vdisplattach() local 32 SWITCH_FOREACH_OPT(opt, "", NULL, "vdispl-attach", 1) { in main_vdisplattach() 70 int opt; in main_vdispllist() local 75 SWITCH_FOREACH_OPT(opt, "", NULL, "vdispl-list", 1) { in main_vdispllist() 125 int opt, rc; in main_vdispldetach() local 128 SWITCH_FOREACH_OPT(opt, "", NULL, "vdispl-detach", 2) { in main_vdispldetach()
|
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_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_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 250 SWITCH_FOREACH_OPT(opt, "", NULL, "psr-cmt-detach", 1) { in main_psr_cmt_detach() 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() 483 int ret, opt = 0; in main_psr_cat_cbm_set() local 566 int opt = 0; in main_psr_cat_show() local 575 SWITCH_FOREACH_OPT(opt, "l:", opts, "psr-cat-show", 0) { in main_psr_cat_show() 595 int opt, ret = 0; in main_psr_hwinfo() local [all …]
|
A D | xl_info.c | 498 int opt; in main_list() local 579 int opt; in main_vm_list() local 591 int opt; in main_info() local 598 SWITCH_FOREACH_OPT(opt, "n", opts, "info", 0) { in main_info() 618 int opt; in main_domid() local 640 int opt; in main_domname() local 701 int opt; in main_claims() local 865 int opt; in main_uptime() local 886 int opt, ret = 1; in main_dmesg() local 913 int opt; in main_top() local [all …]
|
A D | xl_vcpu.c | 107 int opt; in main_vcpulist() local 109 SWITCH_FOREACH_OPT(opt, "", NULL, "vcpu-list", 0) { in main_vcpulist() 134 int opt, nb_cpu, nb_vcpu, rc = EXIT_FAILURE; in main_vcpupin() local 140 SWITCH_FOREACH_OPT(opt, "f", opts, "vcpu-pin", 3) { in main_vcpupin() 315 int opt, check_host = 1; in main_vcpuset() local 317 SWITCH_FOREACH_OPT(opt, "i", opts, "vcpu-set", 2) { in main_vcpuset()
|
A D | xl_utils.h | 113 #define SWITCH_FOREACH_OPT(opt, opts, longopts, \ argument 115 while (((opt) = def_getopt(argc, argv, "h" opts, (longopts), \ 117 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_saverestore.c | 169 int opt, rc; in main_restore() local 176 SWITCH_FOREACH_OPT(opt, "FcpdeVA", opts, "restore", 1) { in main_restore() 238 int opt; in main_save() local 240 SWITCH_FOREACH_OPT(opt, "cp", NULL, "save", 2) { in main_save()
|
/xen-4.10.0-shim-comet/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() 10098 opt.cpu_qhz = QHZ_FROM_HZ(opt.cpu_hz); in parse_cpu_hz() 10541 opt.interval.cycles = ( opt.interval.msec * opt.cpu_hz ) / 1000 ; in cmd_parser() [all …]
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | kernel.c | 58 char opt[128], *optval, *optkey, *q; in parse_params() local 73 q = optkey = opt; in parse_params() 76 if ( (q-opt) < (sizeof(opt)-1) ) /* avoid overflow */ in parse_params() 83 optval = strchr(opt, '='); in parse_params() 87 q = strpbrk(opt, "([{<"); in parse_params() 111 strlen(param->name) == q + 1 - opt && in parse_params() 112 !strncmp(param->name, opt, q + 1 - opt) ) in parse_params() 160 safe_strcpy(opt, "no"); in parse_params() 161 optval = opt; in parse_params()
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/arch/x86/cpu/ |
A D | amd.c | 114 static const struct cpuidmask *__init noinline get_cpuidmask(const char *opt) in get_cpuidmask() argument 120 if (strncmp(opt, "fam_", 4)) in get_cpuidmask() 122 fam = simple_strtoul(opt + 4, &opt, 16); in get_cpuidmask() 123 if (strncmp(opt, "_rev_", 5) || !opt[5] || opt[6]) in get_cpuidmask() 125 rev = toupper(opt[5]); in get_cpuidmask()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | numa.c | 294 static __init int numa_setup(const char *opt) in numa_setup() argument 296 if ( !strncmp(opt,"off",3) ) in numa_setup() 298 else if ( !strncmp(opt,"on",2) ) in numa_setup() 301 else if ( !strncmp(opt, "fake=", 5) ) in numa_setup() 304 numa_fake = simple_strtoul(opt+5,NULL,0); in numa_setup() 310 else if ( !strncmp(opt,"noacpi",6) ) in numa_setup()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/ |
A D | vmcs.c | 197 opt = (PIN_BASED_VIRTUAL_NMIS | in vmx_init_vmcs_config() 200 "Pin-Based Exec Control", min, opt, in vmx_init_vmcs_config() 216 opt = (CPU_BASED_ACTIVATE_MSR_BITMAP | in vmx_init_vmcs_config() 221 "CPU-Based Exec Control", min, opt, in vmx_init_vmcs_config() 246 opt |= SECONDARY_EXEC_ENABLE_VPID; in vmx_init_vmcs_config() 248 opt |= SECONDARY_EXEC_UNRESTRICTED_GUEST; in vmx_init_vmcs_config() 250 opt |= SECONDARY_EXEC_ENABLE_PML; in vmx_init_vmcs_config() 258 opt |= SECONDARY_EXEC_APIC_REGISTER_VIRT | in vmx_init_vmcs_config() 263 "Secondary Exec Control", min, opt, in vmx_init_vmcs_config() 482 if ( opt != MTRR_TYPE_WRBACK ) in vmx_init_vmcs_config() [all …]
|