Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 57) sorted by relevance

123

/xen/tools/xl/
A Dxl_misc.c44 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 Dxl_pci.c46 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 Dxl_usb.c28 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 Dxl_console.c28 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 Dxl_block.c27 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 Dxl_mem.c46 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 Dxl_vtpm.c27 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 Dxl_vkb.c29 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 Dxl_cpupool.c32 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 Dxl_nic.c53 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 Dxl_vdispl.c27 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 Dxl_cdrom.c71 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 Dxl_psr.c233 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 Dxl_vsnd.c29 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 Dxl_info.c504 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 Dxl_utils.h111 #define SWITCH_FOREACH_OPT(opt, opts, longopts, \ argument
113 while (((opt) = def_getopt(argc, argv, "h" opts, (longopts), \
115 switch (opt)
A Dxl_utils.c152 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 Dxl_vcpu.c163 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 Dxl_saverestore.c174 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 Dxenalyze.c225 } 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 Dkernel.c60 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 Docaml.m442 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 Dbinfile10 while getopts "ia:" opt; do
11 case "$opt" in
/xen/tools/misc/
A Dxencov.c107 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 Dnuma.c293 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()

Completed in 74 milliseconds

123