Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dthrottle.c153 THROTTLE_OPS_WRITE}, }; in throttle_compute_wait_for()
328 cfg->buckets[THROTTLE_OPS_WRITE].avg); in throttle_is_valid()
336 cfg->buckets[THROTTLE_OPS_WRITE].max); in throttle_is_valid()
347 !cfg->buckets[THROTTLE_OPS_WRITE].avg) { in throttle_is_valid()
479 { THROTTLE_OPS_TOTAL, THROTTLE_OPS_WRITE } in throttle_account()
533 cfg->buckets[THROTTLE_OPS_WRITE].avg = arg->iops_write; in throttle_limits_to_config()
552 cfg->buckets[THROTTLE_OPS_WRITE].max = arg->iops_write_max; in throttle_limits_to_config()
601 cfg->buckets[THROTTLE_OPS_WRITE].burst_length = arg->iops_write_max_length; in throttle_limits_to_config()
623 var->iops_write = cfg->buckets[THROTTLE_OPS_WRITE].avg; in throttle_config_to_limits()
629 var->iops_write_max = cfg->buckets[THROTTLE_OPS_WRITE].max; in throttle_config_to_limits()
[all …]
/openbmc/qemu/fsdev/
H A Dqemu-fsdev-throttle.c47 fst->cfg.buckets[THROTTLE_OPS_WRITE].avg = in fsdev_throttle_parse_opts()
60 fst->cfg.buckets[THROTTLE_OPS_WRITE].max = in fsdev_throttle_parse_opts()
73 fst->cfg.buckets[THROTTLE_OPS_WRITE].burst_length = in fsdev_throttle_parse_opts()
/openbmc/qemu/tests/unit/
H A Dtest-throttle.c275 orig_cfg.buckets[THROTTLE_OPS_WRITE].avg = 23; in test_config_functions()
283 orig_cfg.buckets[THROTTLE_OPS_WRITE].max = 500; in test_config_functions()
291 orig_cfg.buckets[THROTTLE_OPS_WRITE].level = 75; in test_config_functions()
316 g_assert(final_cfg.buckets[THROTTLE_OPS_WRITE].avg == 23); in test_config_functions()
324 g_assert(final_cfg.buckets[THROTTLE_OPS_WRITE].max == 500); in test_config_functions()
414 THROTTLE_OPS_WRITE); in test_conflicting_config()
425 THROTTLE_OPS_WRITE); in test_conflicting_config()
620 THROTTLE_OPS_WRITE, } }; in do_test_accounting()
778 cfg1.buckets[THROTTLE_OPS_WRITE].avg = 12000; in test_groups()
788 cfg2.buckets[THROTTLE_OPS_WRITE].avg = 86; in test_groups()
/openbmc/qemu/block/
H A Dqapi-sysemu.c445 cfg.buckets[THROTTLE_OPS_WRITE].avg = arg->iops_wr; in qmp_block_set_io_throttle()
463 cfg.buckets[THROTTLE_OPS_WRITE].max = arg->iops_wr_max; in qmp_block_set_io_throttle()
482 cfg.buckets[THROTTLE_OPS_WRITE].burst_length = arg->iops_wr_max_length; in qmp_block_set_io_throttle()
H A Dthrottle-groups.c700 THROTTLE_OPS_WRITE, AVG,
704 THROTTLE_OPS_WRITE, MAX,
708 THROTTLE_OPS_WRITE, BURST_LENGTH,
H A Dqapi.c103 info->iops_wr = cfg.buckets[THROTTLE_OPS_WRITE].avg; in bdrv_block_device_info()
116 info->has_iops_wr_max = cfg.buckets[THROTTLE_OPS_WRITE].max; in bdrv_block_device_info()
117 info->iops_wr_max = cfg.buckets[THROTTLE_OPS_WRITE].max; in bdrv_block_device_info()
137 cfg.buckets[THROTTLE_OPS_WRITE].burst_length; in bdrv_block_device_info()
/openbmc/qemu/include/qemu/
H A Dthrottle.h39 THROTTLE_OPS_WRITE, enumerator
/openbmc/qemu/
H A Dblockdev.c417 throttle_cfg->buckets[THROTTLE_OPS_WRITE].avg = in extract_common_blockdev_options()
430 throttle_cfg->buckets[THROTTLE_OPS_WRITE].max = in extract_common_blockdev_options()
443 throttle_cfg->buckets[THROTTLE_OPS_WRITE].burst_length = in extract_common_blockdev_options()