/xen/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 | 383 } opts[] = { variable 409 for ( i = 0; i < ARRAY_SIZE(opts); i++ ) in main() 411 if ( !strncmp(opts[i].name, argv[1], strlen(argv[1])) ) in main() 415 if ( i == ARRAY_SIZE(opts) ) in main() 422 ret = opts[i].func(argc - 2, argv + 2); in main()
|
/xen/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() 709 if ( opts.discard ) in monitor_tbufs() 1075 free(opts.cpu_mask_str); in parse_cpu_mask() 1172 opts.outfile = 0; in main() 1174 opts.evt_mask = 0; in main() 1176 opts.disk_rsvd = 0; in main() 1179 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/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/tools/python/scripts/ |
A D | verify-stream-v2 | 128 opts, _ = parser.parse_args() 130 if opts.syslog: 136 verbose = opts.verbose 137 quiet = opts.quiet 138 fin = open_file_or_fd(opts.fin, "rb", 0) 140 return read_stream(opts.format)
|
A D | convert-legacy-stream | 578 stream_write(opts) 673 opts, _ = parser.parse_args() 675 if (opts.fin is None or opts.fout is None or 676 opts.twidth is None or opts.gtype is None): 681 if opts.syslog: 689 twidth = int(opts.twidth) 690 pv = opts.gtype == "pv" 691 verbose = opts.verbose 692 if opts.skip_qemu: 695 if opts.xl: [all …]
|
/xen/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_psr.c | 567 static const struct option opts[] = { in main_psr_mba_set() local 575 SWITCH_FOREACH_OPT(opt, "s:", opts, "psr-mba-set", 0) { in main_psr_mba_set() 649 static struct option opts[] = { in main_psr_cat_cbm_set() local 660 SWITCH_FOREACH_OPT(opt, "s:l:cd", opts, "psr-cat-set", 2) { in main_psr_cat_cbm_set() 727 static struct option opts[] = { in main_psr_cat_show() local 732 SWITCH_FOREACH_OPT(opt, "l:", opts, "psr-cat-show", 0) { in main_psr_cat_show() 754 static const struct option opts[] = { in main_psr_hwinfo() local 761 SWITCH_FOREACH_OPT(opt, "mab", opts, "psr-hwinfo", 0) { in main_psr_hwinfo()
|
A D | xl_misc.c | 181 static const struct option opts[] = { in main_devd() local 187 SWITCH_FOREACH_OPT(opt, "Fp:", opts, "devd", 0) { in main_devd() 272 static struct option opts[] = { in main_config_update() local 294 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 | 111 #define SWITCH_FOREACH_OPT(opt, opts, longopts, \ argument 113 while (((opt) = def_getopt(argc, argv, "h" opts, (longopts), \
|
A D | xl_vcpu.c | 175 static struct option opts[] = { in main_vcpupin() local 197 SWITCH_FOREACH_OPT(opt, "fi", opts, "vcpu-pin", 3) { in main_vcpupin() 385 static struct option opts[] = { in main_vcpuset() local 391 SWITCH_FOREACH_OPT(opt, "i", opts, "vcpu-set", 2) { in main_vcpuset()
|
A D | xl_sched.c | 478 static struct option opts[] = { in main_sched_credit() local 490 SWITCH_FOREACH_OPT(opt, "d:w:c:p:t:r:m:s", opts, "sched-credit", 0) { in main_sched_credit() 611 static struct option opts[] = { in main_sched_credit2() local 621 SWITCH_FOREACH_OPT(opt, "d:w:c:p:r:s", opts, "sched-credit2", 0) { in main_sched_credit2() 741 static struct option opts[] = { in main_sched_rtds() local 751 SWITCH_FOREACH_OPT(opt, "d:p:b:e:v:c", opts, "sched-rtds", 0) { in main_sched_rtds()
|
A D | xl_info.c | 510 static struct option opts[] = { in main_list() local 523 SWITCH_FOREACH_OPT(opt, "lvhZcn", opts, "list", 0) { in main_list() 598 static struct option opts[] = { in main_info() local 604 SWITCH_FOREACH_OPT(opt, "n", opts, "info", 0) { in main_info() 893 static struct option opts[] = { in main_dmesg() local 898 SWITCH_FOREACH_OPT(opt, "c", opts, "dmesg", 0) { in main_dmesg()
|
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_saverestore.c | 175 static struct option opts[] = { in main_restore() local 181 SWITCH_FOREACH_OPT(opt, "FcpdeVA", opts, "restore", 1) { in main_restore()
|
A D | xl_migrate.c | 486 static struct option opts[] = { in main_migrate_receive() local 494 SWITCH_FOREACH_OPT(opt, "Fedrp", opts, "migrate-receive", 0) { in main_migrate_receive() 542 static struct option opts[] = { in main_migrate() local 548 SWITCH_FOREACH_OPT(opt, "FC:s:epD", opts, "migrate", 2) { in main_migrate()
|
/xen/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/tools/xenmon/ |
A D | xenbaked.c | 93 settings_t opts; variable 307 nanosleep(&opts.poll_sleep, NULL); in wait_for_event() 452 opts.cpu_freq = (double)physinfo.cpu_khz/1000.0; in get_num_cpus() 481 printf("CPU Frequency = %7.2f\n", opts.cpu_freq); in monitor_tbufs() 624 opts.new_data_thresh = argtol(optarg, 0); in parse_args() 632 opts.ms_per_sample = argtol(optarg, 0); in parse_args() 710 opts.poll_sleep = millis_to_timespec(POLL_SLEEP_MILLIS); in main() 711 opts.new_data_thresh = NEW_DATA_THRESH; in main() 712 opts.ms_per_sample = MS_PER_SAMPLE; in main() 713 opts.cpu_freq = CPU_FREQ; in main() [all …]
|
/xen/xen/tools/ |
A D | gen-cpuid.py | 490 opts, _ = parser.parse_args() 492 if opts.fin is None or opts.fout is None: 496 state = State(opts.fin, opts.fout)
|
/xen/tools/fuzz/cpu-policy/ |
A D | afl-policy-fuzzer.c | 111 static const struct option opts[] = { in main() local 116 int c = getopt_long(argc, argv, "hd", opts, NULL); in main()
|
/xen/tools/golang/xenlight/ |
A D | xenlight.go | 242 opts := make([]interface{}, 16) 245 opts[i] = v 248 return fmt.Sprintf(s, opts...) 364 opts := make([]interface{}, 6) 367 opts[i] = v 370 return fmt.Sprintf(s, opts...)
|
/xen/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()
|