/xen-4.10.0-shim-comet/tools/misc/ |
A D | xenpvnetboot | 203 if not opts.location and not opts.kernel and not opts.ramdisk: 204 if not opts.quiet: 209 if not opts.output or opts.output == '-': 214 if opts.location: 215 location = opts.location 230 if not opts.quiet: 237 if not opts.quiet: 244 if opts.kernel: 257 if not opts.quiet: 262 if opts.ramdisk: [all …]
|
A D | xencov_split | 6 def xencov_split(opts): argument 17 input_file = opts.args[0] 48 if opts.output_dir == '.': 49 opts.output_dir = os.getcwd() 51 dir = opts.output_dir + path.dirname(fn) 83 opts, args = parser.parse_args() 84 opts.args = args 86 xencov_split(opts)
|
A D | xen-mfndump.c | 386 } opts[] = { variable 412 for ( i = 0; i < ARRAY_SIZE(opts); i++ ) in main() 414 if ( !strncmp(opts[i].name, argv[1], strlen(argv[1])) ) in main() 418 if ( i == ARRAY_SIZE(opts) ) in main() 425 ret = opts[i].func(argc - 2, argv + 2); in main()
|
A D | xen-ringwatch | 528 opts, args = gnu_getopt(argv[1:], 539 for (o, arg) in opts:
|
/xen-4.10.0-shim-comet/tools/xentrace/ |
A D | xentrace.c | 74 settings_t opts; variable 352 if ( opts.memory_buffer == 0 && opts.disk_rsvd != 0 ) in write_buffer() 406 if ( opts.memory_buffer ) in write_buffer() 450 if(!opts.tbuf_size) in get_tbufs() 703 if ( opts.discard ) in monitor_tbufs() 1065 free(opts.cpu_mask_str); in parse_cpu_mask() 1162 opts.outfile = 0; in main() 1164 opts.evt_mask = 0; in main() 1166 opts.disk_rsvd = 0; in main() 1169 opts.timeout = 0; in main() [all …]
|
A D | xentrace_format | 70 opts, arg = getopt.getopt(sys.argv[1:], "c:" ) 72 for opt in opts:
|
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | init.c | 297 opts->gen_owner_auth = 1; in parse_cmdline_opts() 327 if(sscanf(argv[i] + 12, "%u", &opts->tpmlocality) != 1 || opts->tpmlocality > 4) { in parse_cmdline_opts() 333 switch(opts->tpmdriver) { in parse_cmdline_opts() 408 struct Opts opts = { in vtpmmgr_init() local 433 switch(opts.tpmdriver) { in vtpmmgr_init() 437 …if((tpm = init_tpm_tis(opts.tpmiomem, TPM_TIS_LOCL_INT_TO_FLAG(opts.tpmlocality), opts.tpmirq)) ==… in vtpmmgr_init() 476 if(opts.gen_owner_auth) { in vtpmmgr_init() 675 struct Opts opts = { in vtpmmgr2_init() local 700 switch(opts.tpmdriver) { in vtpmmgr2_init() 704 if ((tpm = init_tpm2_tis(opts.tpmiomem, TPM_TIS_LOCL_INT_TO_FLAG(opts.tpmlocality), in vtpmmgr2_init() [all …]
|
/xen-4.10.0-shim-comet/tools/python/scripts/ |
A D | verify-stream-v2 | 154 opts, _ = parser.parse_args() 156 if opts.syslog: 162 verbose = opts.verbose 163 quiet = opts.quiet 164 fin = open_file_or_fd(opts.fin, "rb", 0) 166 return read_stream(opts.format)
|
A D | convert-legacy-stream | 572 stream_write(opts) 693 opts, _ = parser.parse_args() 695 if (opts.fin is None or opts.fout is None or 696 opts.twidth is None or opts.gtype is None): 701 if opts.syslog: 709 twidth = int(opts.twidth) 710 pv = opts.gtype == "pv" 711 verbose = opts.verbose 712 if opts.skip_qemu: 715 if opts.xl: [all …]
|
/xen-4.10.0-shim-comet/tools/xl/ |
A D | bash-completion | 7 local cur opts xl 13 …opts=`${xl} help 2>/dev/null | sed '1,4d' | awk '/^ [^ ]/ {print $1}' | sed 's/$/ ,/g'` && COMPREP…
|
A D | xl_vcpu.c | 119 static struct option opts[] = { in main_vcpupin() local 140 SWITCH_FOREACH_OPT(opt, "f", opts, "vcpu-pin", 3) { in main_vcpupin() 311 static struct option opts[] = { in main_vcpuset() local 317 SWITCH_FOREACH_OPT(opt, "i", opts, "vcpu-set", 2) { in main_vcpuset()
|
A D | xl_misc.c | 182 static const struct option opts[] = { in main_devd() local 188 SWITCH_FOREACH_OPT(opt, "Fp:", opts, "devd", 0) { in main_devd() 273 static struct option opts[] = { in main_config_update() local 295 SWITCH_FOREACH_OPT(opt, "dqf:", opts, "config_update", 0) { in main_config_update()
|
A D | xl_console.c | 61 static const struct option opts[] = { in main_vncviewer() local 69 SWITCH_FOREACH_OPT(opt, "a", opts, "vncviewer", 1) { in main_vncviewer()
|
A D | xl_utils.h | 113 #define SWITCH_FOREACH_OPT(opt, opts, longopts, \ argument 115 while (((opt) = def_getopt(argc, argv, "h" opts, (longopts), \
|
A D | xl_psr.c | 492 static struct option opts[] = { in main_psr_cat_cbm_set() local 503 SWITCH_FOREACH_OPT(opt, "s:l:cd", opts, "psr-cat-set", 2) { in main_psr_cat_cbm_set() 570 static struct option opts[] = { in main_psr_cat_show() local 575 SWITCH_FOREACH_OPT(opt, "l:", opts, "psr-cat-show", 0) { in main_psr_cat_show() 597 static struct option opts[] = { in main_psr_hwinfo() local 603 SWITCH_FOREACH_OPT(opt, "ma", opts, "psr-hwinfo", 0) { in main_psr_hwinfo()
|
A D | xl_sched.c | 477 static struct option opts[] = { in main_sched_credit() local 488 SWITCH_FOREACH_OPT(opt, "d:w:c:p:t:r:s", opts, "sched-credit", 0) { in main_sched_credit() 602 static struct option opts[] = { in main_sched_credit2() local 612 SWITCH_FOREACH_OPT(opt, "d:w:c:p:r:s", opts, "sched-credit2", 0) { in main_sched_credit2() 732 static struct option opts[] = { in main_sched_rtds() local 742 SWITCH_FOREACH_OPT(opt, "d:p:b:e:v:c", opts, "sched-rtds", 0) { in main_sched_rtds()
|
A D | xl_info.c | 504 static struct option opts[] = { in main_list() local 517 SWITCH_FOREACH_OPT(opt, "lvhZcn", opts, "list", 0) { in main_list() 592 static struct option opts[] = { in main_info() local 598 SWITCH_FOREACH_OPT(opt, "n", opts, "info", 0) { in main_info() 887 static struct option opts[] = { in main_dmesg() local 892 SWITCH_FOREACH_OPT(opt, "c", opts, "dmesg", 0) { in main_dmesg()
|
A D | xl_saverestore.c | 170 static struct option opts[] = { in main_restore() local 176 SWITCH_FOREACH_OPT(opt, "FcpdeVA", opts, "restore", 1) { in main_restore()
|
A D | xl_cpupool.c | 33 static struct option opts[] = { in main_cpupoolcreate() local 55 SWITCH_FOREACH_OPT(opt, "nf:", opts, "cpupool-create", 0) { in main_cpupoolcreate() 241 static struct option opts[] = { in main_cpupoollist() local 252 SWITCH_FOREACH_OPT(opt, "c", opts, "cpupool-list", 0) { in main_cpupoollist()
|
A D | xl_migrate.c | 485 static struct option opts[] = { in main_migrate_receive() local 493 SWITCH_FOREACH_OPT(opt, "Fedrp", opts, "migrate-receive", 0) { in main_migrate_receive() 540 static struct option opts[] = { in main_migrate() local 546 SWITCH_FOREACH_OPT(opt, "FC:s:ep", opts, "migrate", 2) { in main_migrate()
|
A D | xl_vmcontrol.c | 206 static struct option opts[] = { in main_shutdown_or_reboot() local 212 SWITCH_FOREACH_OPT(opt, "awF", opts, what, 0) { in main_shutdown_or_reboot() 1129 static struct option opts[] = { in main_create() local 1145 SWITCH_FOREACH_OPT(opt, "Fnqf:pcdeVA", opts, "create", 0) { in main_create()
|
/xen-4.10.0-shim-comet/tools/libfsimage/ext2fs-lib/ |
A D | ext2fs-lib.c | 33 char opts[30] = ""; in ext2lib_mount() local 38 snprintf(opts, 29, "offset=%" PRId64, offset); in ext2lib_mount() 44 err = ext2fs_open2(name, opts, 0, 0, 0, unix_io_manager, fs); in ext2lib_mount()
|
/xen-4.10.0-shim-comet/tools/xenmon/ |
A D | xenbaked.c | 93 settings_t opts; variable 305 nanosleep(&opts.poll_sleep, NULL); in wait_for_event() 450 opts.cpu_freq = (double)physinfo.cpu_khz/1000.0; in get_num_cpus() 479 printf("CPU Frequency = %7.2f\n", opts.cpu_freq); in monitor_tbufs() 622 opts.new_data_thresh = argtol(optarg, 0); in parse_args() 630 opts.ms_per_sample = argtol(optarg, 0); in parse_args() 708 opts.poll_sleep = millis_to_timespec(POLL_SLEEP_MILLIS); in main() 709 opts.new_data_thresh = NEW_DATA_THRESH; in main() 710 opts.ms_per_sample = MS_PER_SAMPLE; in main() 711 opts.cpu_freq = CPU_FREQ; in main() [all …]
|
/xen-4.10.0-shim-comet/xen/tools/ |
A D | gen-cpuid.py | 435 opts, _ = parser.parse_args() 437 if opts.fin is None or opts.fout is None: 441 state = State(opts.fin, opts.fout)
|
/xen-4.10.0-shim-comet/tools/tests/mce-test/tools/ |
A D | xen-mceinj.c | 431 static struct option opts[] = { variable 484 c = getopt_long(argc, argv, "c:Dd:t:hp:l", opts, &opt_index); in main()
|