Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dthrottle.c152 THROTTLE_BPS_WRITE, in throttle_compute_wait_for()
324 cfg->buckets[THROTTLE_BPS_WRITE].avg); in throttle_is_valid()
332 cfg->buckets[THROTTLE_BPS_WRITE].max); in throttle_is_valid()
475 { THROTTLE_BPS_TOTAL, THROTTLE_BPS_WRITE } in throttle_account()
523 cfg->buckets[THROTTLE_BPS_WRITE].avg = arg->bps_write; in throttle_limits_to_config()
543 cfg->buckets[THROTTLE_BPS_WRITE].max = arg->bps_write_max; in throttle_limits_to_config()
577 cfg->buckets[THROTTLE_BPS_WRITE].burst_length = arg->bps_write_max_length; in throttle_limits_to_config()
620 var->bps_write = cfg->buckets[THROTTLE_BPS_WRITE].avg; in throttle_config_to_limits()
626 var->bps_write_max = cfg->buckets[THROTTLE_BPS_WRITE].max; in throttle_config_to_limits()
632 var->bps_write_max_length = cfg->buckets[THROTTLE_BPS_WRITE].burst_length; in throttle_config_to_limits()
/openbmc/qemu/fsdev/
H A Dqemu-fsdev-throttle.c41 fst->cfg.buckets[THROTTLE_BPS_WRITE].avg = in fsdev_throttle_parse_opts()
54 fst->cfg.buckets[THROTTLE_BPS_WRITE].max = in fsdev_throttle_parse_opts()
67 fst->cfg.buckets[THROTTLE_BPS_WRITE].burst_length = in fsdev_throttle_parse_opts()
/openbmc/qemu/tests/unit/
H A Dtest-throttle.c271 orig_cfg.buckets[THROTTLE_BPS_WRITE].avg = 1; in test_config_functions()
279 orig_cfg.buckets[THROTTLE_BPS_WRITE].max = 120; in test_config_functions()
287 orig_cfg.buckets[THROTTLE_BPS_WRITE].level = 23; in test_config_functions()
312 g_assert(final_cfg.buckets[THROTTLE_BPS_WRITE].avg == 1); in test_config_functions()
320 g_assert(final_cfg.buckets[THROTTLE_BPS_WRITE].max == 120); in test_config_functions()
408 THROTTLE_BPS_WRITE); in test_conflicting_config()
420 THROTTLE_BPS_WRITE); in test_conflicting_config()
617 THROTTLE_BPS_WRITE, }, in do_test_accounting()
776 cfg1.buckets[THROTTLE_BPS_WRITE].avg = 285000; in test_groups()
786 cfg2.buckets[THROTTLE_BPS_WRITE].avg = 1349; in test_groups()
/openbmc/qemu/block/
H A Dqapi-sysemu.c441 cfg.buckets[THROTTLE_BPS_WRITE].avg = arg->bps_wr; in qmp_block_set_io_throttle()
454 cfg.buckets[THROTTLE_BPS_WRITE].max = arg->bps_wr_max; in qmp_block_set_io_throttle()
473 cfg.buckets[THROTTLE_BPS_WRITE].burst_length = arg->bps_wr_max_length; in qmp_block_set_io_throttle()
H A Dthrottle-groups.c736 THROTTLE_BPS_WRITE, AVG,
740 THROTTLE_BPS_WRITE, MAX,
744 THROTTLE_BPS_WRITE, BURST_LENGTH,
H A Dqapi.c99 info->bps_wr = cfg.buckets[THROTTLE_BPS_WRITE].avg; in bdrv_block_device_info()
109 info->has_bps_wr_max = cfg.buckets[THROTTLE_BPS_WRITE].max; in bdrv_block_device_info()
110 info->bps_wr_max = cfg.buckets[THROTTLE_BPS_WRITE].max; in bdrv_block_device_info()
127 cfg.buckets[THROTTLE_BPS_WRITE].burst_length; in bdrv_block_device_info()
/openbmc/qemu/include/qemu/
H A Dthrottle.h36 THROTTLE_BPS_WRITE, enumerator
/openbmc/qemu/
H A Dblockdev.c411 throttle_cfg->buckets[THROTTLE_BPS_WRITE].avg = in extract_common_blockdev_options()
424 throttle_cfg->buckets[THROTTLE_BPS_WRITE].max = in extract_common_blockdev_options()
437 throttle_cfg->buckets[THROTTLE_BPS_WRITE].burst_length = in extract_common_blockdev_options()
H A Dqemu-img.c2228 cfg.buckets[THROTTLE_BPS_WRITE].avg = rate_limit; in set_rate_limit()