Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dthrottle.c148 THROTTLE_BPS_READ, in throttle_compute_wait_for()
323 (cfg->buckets[THROTTLE_BPS_READ].avg || in throttle_is_valid()
331 (cfg->buckets[THROTTLE_BPS_READ].max || in throttle_is_valid()
474 { THROTTLE_BPS_TOTAL, THROTTLE_BPS_READ }, in throttle_account()
520 cfg->buckets[THROTTLE_BPS_READ].avg = arg->bps_read; in throttle_limits_to_config()
540 cfg->buckets[THROTTLE_BPS_READ].max = arg->bps_read_max; in throttle_limits_to_config()
569 cfg->buckets[THROTTLE_BPS_READ].burst_length = arg->bps_read_max_length; in throttle_limits_to_config()
619 var->bps_read = cfg->buckets[THROTTLE_BPS_READ].avg; in throttle_config_to_limits()
625 var->bps_read_max = cfg->buckets[THROTTLE_BPS_READ].max; in throttle_config_to_limits()
631 var->bps_read_max_length = cfg->buckets[THROTTLE_BPS_READ].burst_length; in throttle_config_to_limits()
/openbmc/qemu/fsdev/
H A Dqemu-fsdev-throttle.c39 fst->cfg.buckets[THROTTLE_BPS_READ].avg = in fsdev_throttle_parse_opts()
52 fst->cfg.buckets[THROTTLE_BPS_READ].max = in fsdev_throttle_parse_opts()
65 fst->cfg.buckets[THROTTLE_BPS_READ].burst_length = in fsdev_throttle_parse_opts()
/openbmc/qemu/tests/unit/
H A Dtest-throttle.c270 orig_cfg.buckets[THROTTLE_BPS_READ].avg = 56; in test_config_functions()
278 orig_cfg.buckets[THROTTLE_BPS_READ].max = 56; in test_config_functions()
286 orig_cfg.buckets[THROTTLE_BPS_READ].level = 65; in test_config_functions()
311 g_assert(final_cfg.buckets[THROTTLE_BPS_READ].avg == 56); in test_config_functions()
319 g_assert(final_cfg.buckets[THROTTLE_BPS_READ].max == 56); in test_config_functions()
407 THROTTLE_BPS_READ, in test_conflicting_config()
419 THROTTLE_BPS_READ, in test_conflicting_config()
616 THROTTLE_BPS_READ, in do_test_accounting()
775 cfg1.buckets[THROTTLE_BPS_READ].avg = 500000; in test_groups()
785 cfg2.buckets[THROTTLE_BPS_READ].avg = 4547; in test_groups()
/openbmc/qemu/block/
H A Dqapi-sysemu.c440 cfg.buckets[THROTTLE_BPS_READ].avg = arg->bps_rd; in qmp_block_set_io_throttle()
451 cfg.buckets[THROTTLE_BPS_READ].max = arg->bps_rd_max; in qmp_block_set_io_throttle()
470 cfg.buckets[THROTTLE_BPS_READ].burst_length = arg->bps_rd_max_length; in qmp_block_set_io_throttle()
H A Dthrottle-groups.c724 THROTTLE_BPS_READ, AVG,
728 THROTTLE_BPS_READ, MAX,
732 THROTTLE_BPS_READ, BURST_LENGTH,
H A Dqapi.c98 info->bps_rd = cfg.buckets[THROTTLE_BPS_READ].avg; in bdrv_block_device_info()
107 info->has_bps_rd_max = cfg.buckets[THROTTLE_BPS_READ].max; in bdrv_block_device_info()
108 info->bps_rd_max = cfg.buckets[THROTTLE_BPS_READ].max; in bdrv_block_device_info()
124 cfg.buckets[THROTTLE_BPS_READ].burst_length; in bdrv_block_device_info()
/openbmc/qemu/include/qemu/
H A Dthrottle.h35 THROTTLE_BPS_READ, enumerator
/openbmc/qemu/
H A Dblockdev.c409 throttle_cfg->buckets[THROTTLE_BPS_READ].avg = in extract_common_blockdev_options()
422 throttle_cfg->buckets[THROTTLE_BPS_READ].max = in extract_common_blockdev_options()
435 throttle_cfg->buckets[THROTTLE_BPS_READ].burst_length = in extract_common_blockdev_options()