Home
last modified time | relevance | path

Searched refs:THROTTLE_OPS_TOTAL (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/util/
H A Dthrottle.c147 THROTTLE_OPS_TOTAL, in throttle_compute_wait_for()
151 THROTTLE_OPS_TOTAL, in throttle_compute_wait_for()
326 ops_flag = cfg->buckets[THROTTLE_OPS_TOTAL].avg && in throttle_is_valid()
334 ops_max_flag = cfg->buckets[THROTTLE_OPS_TOTAL].max && in throttle_is_valid()
345 !cfg->buckets[THROTTLE_OPS_TOTAL].avg && in throttle_is_valid()
478 { THROTTLE_OPS_TOTAL, THROTTLE_OPS_READ }, in throttle_account()
479 { THROTTLE_OPS_TOTAL, THROTTLE_OPS_WRITE } in throttle_account()
527 cfg->buckets[THROTTLE_OPS_TOTAL].avg = arg->iops_total; in throttle_limits_to_config()
546 cfg->buckets[THROTTLE_OPS_TOTAL].max = arg->iops_total_max; in throttle_limits_to_config()
621 var->iops_total = cfg->buckets[THROTTLE_OPS_TOTAL].avg; in throttle_config_to_limits()
[all …]
/openbmc/qemu/fsdev/
H A Dqemu-fsdev-throttle.c43 fst->cfg.buckets[THROTTLE_OPS_TOTAL].avg = in fsdev_throttle_parse_opts()
56 fst->cfg.buckets[THROTTLE_OPS_TOTAL].max = in fsdev_throttle_parse_opts()
69 fst->cfg.buckets[THROTTLE_OPS_TOTAL].burst_length = in fsdev_throttle_parse_opts()
/openbmc/qemu/tests/unit/
H A Dtest-throttle.c273 orig_cfg.buckets[THROTTLE_OPS_TOTAL].avg = 150; in test_config_functions()
281 orig_cfg.buckets[THROTTLE_OPS_TOTAL].max = 150; in test_config_functions()
289 orig_cfg.buckets[THROTTLE_OPS_TOTAL].level = 1; in test_config_functions()
314 g_assert(final_cfg.buckets[THROTTLE_OPS_TOTAL].avg == 150); in test_config_functions()
322 g_assert(final_cfg.buckets[THROTTLE_OPS_TOTAL].max == 150); in test_config_functions()
412 THROTTLE_OPS_TOTAL, in test_conflicting_config()
423 THROTTLE_OPS_TOTAL, in test_conflicting_config()
618 { THROTTLE_OPS_TOTAL, in do_test_accounting()
/openbmc/qemu/block/
H A Dqapi-sysemu.c443 cfg.buckets[THROTTLE_OPS_TOTAL].avg = arg->iops; in qmp_block_set_io_throttle()
457 cfg.buckets[THROTTLE_OPS_TOTAL].max = arg->iops_max; in qmp_block_set_io_throttle()
476 cfg.buckets[THROTTLE_OPS_TOTAL].burst_length = arg->iops_max_length; in qmp_block_set_io_throttle()
H A Dthrottle-groups.c676 THROTTLE_OPS_TOTAL, AVG,
680 THROTTLE_OPS_TOTAL, MAX,
684 THROTTLE_OPS_TOTAL, BURST_LENGTH,
H A Dqapi.c101 info->iops = cfg.buckets[THROTTLE_OPS_TOTAL].avg; in bdrv_block_device_info()
112 info->has_iops_max = cfg.buckets[THROTTLE_OPS_TOTAL].max; in bdrv_block_device_info()
113 info->iops_max = cfg.buckets[THROTTLE_OPS_TOTAL].max; in bdrv_block_device_info()
131 cfg.buckets[THROTTLE_OPS_TOTAL].burst_length; in bdrv_block_device_info()
/openbmc/qemu/backends/
H A Dcryptodev.c379 uint64_t value = backend->tc.buckets[THROTTLE_OPS_TOTAL].avg; in cryptodev_backend_get_ops()
395 cryptodev_backend_set_throttle(backend, THROTTLE_OPS_TOTAL, value, errp); in cryptodev_backend_set_ops()
408 value = backend->tc.buckets[THROTTLE_OPS_TOTAL].avg; in cryptodev_backend_complete()
409 cryptodev_backend_set_throttle(backend, THROTTLE_OPS_TOTAL, value, errp); in cryptodev_backend_complete()
/openbmc/qemu/include/qemu/
H A Dthrottle.h37 THROTTLE_OPS_TOTAL, enumerator
/openbmc/qemu/
H A Dblockdev.c413 throttle_cfg->buckets[THROTTLE_OPS_TOTAL].avg = in extract_common_blockdev_options()
426 throttle_cfg->buckets[THROTTLE_OPS_TOTAL].max = in extract_common_blockdev_options()
439 throttle_cfg->buckets[THROTTLE_OPS_TOTAL].burst_length = in extract_common_blockdev_options()