Home
last modified time | relevance | path

Searched refs:THROTTLE_OPS_READ (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/util/
H A Dthrottle.c149 THROTTLE_OPS_READ}, in throttle_compute_wait_for()
327 (cfg->buckets[THROTTLE_OPS_READ].avg || in throttle_is_valid()
335 (cfg->buckets[THROTTLE_OPS_READ].max || in throttle_is_valid()
346 !cfg->buckets[THROTTLE_OPS_READ].avg && in throttle_is_valid()
478 { THROTTLE_OPS_TOTAL, THROTTLE_OPS_READ }, in throttle_account()
530 cfg->buckets[THROTTLE_OPS_READ].avg = arg->iops_read; in throttle_limits_to_config()
549 cfg->buckets[THROTTLE_OPS_READ].max = arg->iops_read_max; in throttle_limits_to_config()
593 cfg->buckets[THROTTLE_OPS_READ].burst_length = arg->iops_read_max_length; in throttle_limits_to_config()
622 var->iops_read = cfg->buckets[THROTTLE_OPS_READ].avg; in throttle_config_to_limits()
628 var->iops_read_max = cfg->buckets[THROTTLE_OPS_READ].max; in throttle_config_to_limits()
[all …]
/openbmc/qemu/fsdev/
H A Dqemu-fsdev-throttle.c45 fst->cfg.buckets[THROTTLE_OPS_READ].avg = in fsdev_throttle_parse_opts()
58 fst->cfg.buckets[THROTTLE_OPS_READ].max = in fsdev_throttle_parse_opts()
71 fst->cfg.buckets[THROTTLE_OPS_READ].burst_length = in fsdev_throttle_parse_opts()
/openbmc/qemu/tests/unit/
H A Dtest-throttle.c274 orig_cfg.buckets[THROTTLE_OPS_READ].avg = 69; in test_config_functions()
282 orig_cfg.buckets[THROTTLE_OPS_READ].max = 400; in test_config_functions()
290 orig_cfg.buckets[THROTTLE_OPS_READ].level = 90; in test_config_functions()
315 g_assert(final_cfg.buckets[THROTTLE_OPS_READ].avg == 69); in test_config_functions()
323 g_assert(final_cfg.buckets[THROTTLE_OPS_READ].max == 400); in test_config_functions()
413 THROTTLE_OPS_READ, in test_conflicting_config()
424 THROTTLE_OPS_READ, in test_conflicting_config()
619 THROTTLE_OPS_READ, in do_test_accounting()
777 cfg1.buckets[THROTTLE_OPS_READ].avg = 20000; in test_groups()
787 cfg2.buckets[THROTTLE_OPS_READ].avg = 123; in test_groups()
/openbmc/qemu/block/
H A Dqapi-sysemu.c444 cfg.buckets[THROTTLE_OPS_READ].avg = arg->iops_rd; in qmp_block_set_io_throttle()
460 cfg.buckets[THROTTLE_OPS_READ].max = arg->iops_rd_max; in qmp_block_set_io_throttle()
479 cfg.buckets[THROTTLE_OPS_READ].burst_length = arg->iops_rd_max_length; in qmp_block_set_io_throttle()
H A Dthrottle-groups.c688 THROTTLE_OPS_READ, AVG,
692 THROTTLE_OPS_READ, MAX,
696 THROTTLE_OPS_READ, BURST_LENGTH,
H A Dqapi.c102 info->iops_rd = cfg.buckets[THROTTLE_OPS_READ].avg; in bdrv_block_device_info()
114 info->has_iops_rd_max = cfg.buckets[THROTTLE_OPS_READ].max; in bdrv_block_device_info()
115 info->iops_rd_max = cfg.buckets[THROTTLE_OPS_READ].max; in bdrv_block_device_info()
134 cfg.buckets[THROTTLE_OPS_READ].burst_length; in bdrv_block_device_info()
/openbmc/qemu/include/qemu/
H A Dthrottle.h38 THROTTLE_OPS_READ, enumerator
/openbmc/qemu/
H A Dblockdev.c415 throttle_cfg->buckets[THROTTLE_OPS_READ].avg = in extract_common_blockdev_options()
428 throttle_cfg->buckets[THROTTLE_OPS_READ].max = in extract_common_blockdev_options()
441 throttle_cfg->buckets[THROTTLE_OPS_READ].burst_length = in extract_common_blockdev_options()