/openbmc/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() 57 qemu_opt_get_number(opts, "throttling.iops-total-max", 0); in fsdev_throttle_parse_opts() [all …]
|
/openbmc/qemu/hw/smbios/ |
H A D | smbios.c | 1461 type4.processor_family = qemu_opt_get_number(opts, in smbios_entry_add() 1470 type4.processor_id = qemu_opt_get_number(opts, "processor-id", 0); in smbios_entry_add() 1471 type4.max_speed = qemu_opt_get_number(opts, "max-speed", in smbios_entry_add() 1473 type4.current_speed = qemu_opt_get_number(opts, "current-speed", in smbios_entry_add() 1489 t8_i->connector_type = qemu_opt_get_number(opts, in smbios_entry_add() 1491 t8_i->port_type = qemu_opt_get_number(opts, "port_type", 0); in smbios_entry_add() 1501 t->slot_type = qemu_opt_get_number(opts, "slot_type", 0); in smbios_entry_add() 1503 qemu_opt_get_number(opts, "slot_data_bus_width", 0); in smbios_entry_add() 1504 t->current_usage = qemu_opt_get_number(opts, "current_usage", 0); in smbios_entry_add() 1505 t->slot_length = qemu_opt_get_number(opts, "slot_length", 0); in smbios_entry_add() [all …]
|
/openbmc/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 …]
|
/openbmc/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() 421 qemu_opt_get_number(opts, "throttling.bps-total-max", 0); in extract_common_blockdev_options() 423 qemu_opt_get_number(opts, "throttling.bps-read-max", 0); in extract_common_blockdev_options() 425 qemu_opt_get_number(opts, "throttling.bps-write-max", 0); in extract_common_blockdev_options() 427 qemu_opt_get_number(opts, "throttling.iops-total-max", 0); in extract_common_blockdev_options() [all …]
|
/openbmc/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 | 3842 int to = qemu_opt_get_number(opts, "to", 0); in vnc_display_get_addresses() 4072 key_delay_ms = qemu_opt_get_number(opts, "key-delay-ms", 10); in vnc_display_open() 4133 vd->connections_limit = qemu_opt_get_number(opts, "connections", 32); in vnc_display_open() 4196 int head = qemu_opt_get_number(opts, "head", 0); in vnc_display_open()
|
H A D | spice-display.c | 1202 int head = qemu_opt_get_number(opts, "head", 0); in qemu_spice_display_init()
|
/openbmc/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_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 | 722 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 | gluster.c | 813 s->debug = qemu_opt_get_number(opts, GLUSTER_OPT_DEBUG, in qemu_gluster_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 | nvme.c | 990 namespace = qemu_opt_get_number(opts, NVME_BLOCK_OPT_NAMESPACE, 1); in nvme_open()
|
H A D | qcow2.c | 1066 qemu_opt_get_number(opts, QCOW2_OPT_CACHE_CLEAN_INTERVAL, in qcow2_update_options_prepare() 5744 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 | 643 s->aio_max_batch = qemu_opt_get_number(opts, "aio-max-batch", 0); in raw_open_common()
|
/openbmc/qemu/include/qemu/ |
H A D | option.h | 90 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval);
|
/openbmc/qemu/chardev/ |
H A D | char-socket.c | 1523 sock->reconnect = qemu_opt_get_number(opts, "reconnect", 0); in qemu_chr_parse_socket() 1525 sock->reconnect_ms = qemu_opt_get_number(opts, "reconnect-ms", 0); in qemu_chr_parse_socket() 1549 .to = qemu_opt_get_number(opts, "to", 0), in qemu_chr_parse_socket()
|
/openbmc/qemu/system/ |
H A D | vl.c | 574 fd = qemu_opt_get_number(opts, "fd", -1); in parse_add_fd() 575 fdset_id = qemu_opt_get_number(opts, "set", -1); in parse_add_fd() 628 fd = qemu_opt_get_number(opts, "fd", -1); in cleanup_add_fd() 3400 qemu_opt_get_number(opts, "bootindex", -1); in qemu_init()
|
/openbmc/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()
|
/openbmc/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
|