/qemu/fsdev/ |
H A D | qemu-fsdev-throttle.c | 38 qemu_opt_get_number(opts, "throttling.bps-total", 0); in fsdev_throttle_parse_opts() 40 qemu_opt_get_number(opts, "throttling.bps-read", 0); in fsdev_throttle_parse_opts() 42 qemu_opt_get_number(opts, "throttling.bps-write", 0); in fsdev_throttle_parse_opts() 44 qemu_opt_get_number(opts, "throttling.iops-total", 0); in fsdev_throttle_parse_opts() 46 qemu_opt_get_number(opts, "throttling.iops-read", 0); in fsdev_throttle_parse_opts() 48 qemu_opt_get_number(opts, "throttling.iops-write", 0); in fsdev_throttle_parse_opts() 51 qemu_opt_get_number(opts, "throttling.bps-total-max", 0); in fsdev_throttle_parse_opts() 53 qemu_opt_get_number(opts, "throttling.bps-read-max", 0); in fsdev_throttle_parse_opts() 55 qemu_opt_get_number(opts, "throttling.bps-write-max", 0); in fsdev_throttle_parse_opts() 59 qemu_opt_get_number(opts, "throttling.iops-read-max", 0); in fsdev_throttle_parse_opts() [all …]
|
/qemu/hw/smbios/ |
H A D | smbios.c | 1465 type4.processor_family = qemu_opt_get_number(opts, in smbios_entry_add() 1475 type4.max_speed = qemu_opt_get_number(opts, "max-speed", in smbios_entry_add() 1493 t8_i->connector_type = qemu_opt_get_number(opts, in smbios_entry_add() 1495 t8_i->port_type = qemu_opt_get_number(opts, "port_type", 0); in smbios_entry_add() 1505 t->slot_type = qemu_opt_get_number(opts, "slot_type", 0); in smbios_entry_add() 1507 qemu_opt_get_number(opts, "slot_data_bus_width", 0); in smbios_entry_add() 1510 t->slot_id = qemu_opt_get_number(opts, "slot_id", 0); in smbios_entry_add() 1512 qemu_opt_get_number(opts, "slot_characteristics1", 0); in smbios_entry_add() 1514 qemu_opt_get_number(opts, "slot_characteristics2", 0); in smbios_entry_add() 1537 type17.speed = qemu_opt_get_number(opts, "speed", 0); in smbios_entry_add() [all …]
|
/qemu/tests/unit/ |
H A D | test-qemu-opts.c | 266 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opt_get_number() 272 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opt_get_number() 278 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opt_get_number() 397 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opts_reset() 403 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opts_reset() 556 g_assert_cmpuint(qemu_opt_get_number(opts, "number1", 1), ==, 0); in test_opts_parse_number() 563 g_assert_cmphex(qemu_opt_get_number(opts, "number1", 1), ==, UINT64_MAX); in test_opts_parse_number() 564 g_assert_cmphex(qemu_opt_get_number(opts, "number2", 0), ==, UINT64_MAX); in test_opts_parse_number() 582 g_assert_cmpuint(qemu_opt_get_number(opts, "number1", 1), ==, 42); in test_opts_parse_number() 583 g_assert_cmpuint(qemu_opt_get_number(opts, "number2", 0), ==, 42); in test_opts_parse_number() [all …]
|
/qemu/ |
H A D | blockdev.c | 408 qemu_opt_get_number(opts, "throttling.bps-total", 0); in extract_common_blockdev_options() 410 qemu_opt_get_number(opts, "throttling.bps-read", 0); in extract_common_blockdev_options() 412 qemu_opt_get_number(opts, "throttling.bps-write", 0); in extract_common_blockdev_options() 414 qemu_opt_get_number(opts, "throttling.iops-total", 0); in extract_common_blockdev_options() 416 qemu_opt_get_number(opts, "throttling.iops-read", 0); in extract_common_blockdev_options() 418 qemu_opt_get_number(opts, "throttling.iops-write", 0); in extract_common_blockdev_options() 423 qemu_opt_get_number(opts, "throttling.bps-read-max", 0); in extract_common_blockdev_options() 447 qemu_opt_get_number(opts, "throttling.iops-size", 0); in extract_common_blockdev_options() 908 bus_id = qemu_opt_get_number(legacy_opts, "bus", 0); in drive_new() 909 unit_id = qemu_opt_get_number(legacy_opts, "unit", -1); in drive_new() [all …]
|
/qemu/ui/ |
H A D | spice-core.c | 540 port = qemu_opt_get_number(opts, "port", 0); in qmp_query_spice_real() 541 tls_port = qemu_opt_get_number(opts, "tls-port", 0); in qmp_query_spice_real() 675 port = qemu_opt_get_number(opts, "port", 0); in qemu_spice_init() 676 tls_port = qemu_opt_get_number(opts, "tls-port", 0); in qemu_spice_init()
|
H A D | console-vc.c | 1029 val = qemu_opt_get_number(opts, "width", 0); in vc_chr_parse() 1035 val = qemu_opt_get_number(opts, "height", 0); in vc_chr_parse() 1041 val = qemu_opt_get_number(opts, "cols", 0); in vc_chr_parse() 1047 val = qemu_opt_get_number(opts, "rows", 0); in vc_chr_parse()
|
H A D | vnc.c | 3843 int to = qemu_opt_get_number(opts, "to", 0); in vnc_display_get_addresses() 4075 key_delay_ms = qemu_opt_get_number(opts, "key-delay-ms", 10); in vnc_display_open() 4136 vd->connections_limit = qemu_opt_get_number(opts, "connections", 32); in vnc_display_open() 4199 int head = qemu_opt_get_number(opts, "head", 0); in vnc_display_open()
|
H A D | spice-display.c | 1201 int head = qemu_opt_get_number(opts, "head", 0); in qemu_spice_display_init()
|
/qemu/block/ |
H A D | blkdebug.c | 209 .state = qemu_opt_get_number(opts, "state", 0), in add_rule() 215 rule->options.inject.error = qemu_opt_get_number(opts, "errno", EIO); in add_rule() 219 sector = qemu_opt_get_number(opts, "sector", -1); in add_rule() 247 qemu_opt_get_number(opts, "new_state", 0); in add_rule()
|
H A D | null.c | 92 qemu_opt_get_number(opts, NULL_OPT_LATENCY, 0); in null_file_open()
|
H A D | blklogwrites.c | 272 s->update_interval = qemu_opt_get_number(opts, "log-super-update-interval", in blk_log_writes_open()
|
H A D | nbd.c | 1896 s->reconnect_delay = qemu_opt_get_number(opts, "reconnect-delay", 0); in nbd_process_options() 1897 s->open_timeout = qemu_opt_get_number(opts, "open-timeout", 0); in nbd_process_options()
|
H A D | curl.c | 730 s->timeout = qemu_opt_get_number(opts, CURL_BLOCK_OPT_TIMEOUT, in curl_open()
|
H A D | iscsi.c | 1821 lun = qemu_opt_get_number(opts, "lun", 0); in iscsi_open() 1889 timeout = qemu_opt_get_number(opts, "timeout", 0); in iscsi_open()
|
H A D | quorum.c | 972 s->threshold = qemu_opt_get_number(opts, QUORUM_OPT_VOTE_THRESHOLD, 0); in quorum_open()
|
H A D | gluster.c | 814 s->debug = qemu_opt_get_number(opts, GLUSTER_OPT_DEBUG, in qemu_gluster_open()
|
H A D | nvme.c | 990 namespace = qemu_opt_get_number(opts, NVME_BLOCK_OPT_NAMESPACE, 1); in nvme_file_open()
|
H A D | qcow2.c | 1066 qemu_opt_get_number(opts, QCOW2_OPT_CACHE_CLEAN_INTERVAL, in qcow2_update_options_prepare() 5730 refcount_bits = qemu_opt_get_number(opts, BLOCK_OPT_REFCOUNT_BITS, in qcow2_amend_options()
|
H A D | vvfat.c | 1166 s->fat_type = qemu_opt_get_number(opts, "fat-type", 0); in vvfat_open()
|
H A D | file-posix.c | 642 s->aio_max_batch = qemu_opt_get_number(opts, "aio-max-batch", 0); in raw_open_common()
|
/qemu/include/qemu/ |
H A D | option.h | 90 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval);
|
/qemu/system/ |
H A D | vl.c | 573 fd = qemu_opt_get_number(opts, "fd", -1); in parse_add_fd() 574 fdset_id = qemu_opt_get_number(opts, "set", -1); in parse_add_fd() 627 fd = qemu_opt_get_number(opts, "fd", -1); in cleanup_add_fd() 3405 qemu_opt_get_number(opts, "bootindex", -1); in qemu_init()
|
/qemu/hw/9pfs/ |
H A D | 9p-local.c | 1556 qemu_opt_get_number(opts, "fmode", SM_LOCAL_MODE_BITS) & 0777; in local_parse_opts() 1558 qemu_opt_get_number(opts, "dmode", SM_LOCAL_DIR_MODE_BITS) & 0777; in local_parse_opts()
|
/qemu/chardev/ |
H A D | char-socket.c | 1496 sock->reconnect = qemu_opt_get_number(opts, "reconnect", 0); in qemu_chr_parse_socket() 1519 .to = qemu_opt_get_number(opts, "to", 0), in qemu_chr_parse_socket()
|
/qemu/util/ |
H A D | qemu-option.c | 392 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval) in qemu_opt_get_number() function
|