Searched refs:THROTTLE_BPS_TOTAL (Results 1 – 9 of 9) sorted by relevance
/openbmc/qemu/util/ |
H A D | throttle.c | 146 {THROTTLE_BPS_TOTAL, in throttle_compute_wait_for() 150 {THROTTLE_BPS_TOTAL, in throttle_compute_wait_for() 322 bps_flag = cfg->buckets[THROTTLE_BPS_TOTAL].avg && in throttle_is_valid() 330 bps_max_flag = cfg->buckets[THROTTLE_BPS_TOTAL].max && in throttle_is_valid() 474 { THROTTLE_BPS_TOTAL, THROTTLE_BPS_READ }, in throttle_account() 475 { THROTTLE_BPS_TOTAL, THROTTLE_BPS_WRITE } in throttle_account() 517 cfg->buckets[THROTTLE_BPS_TOTAL].avg = arg->bps_total; in throttle_limits_to_config() 537 cfg->buckets[THROTTLE_BPS_TOTAL].max = arg->bps_total_max; in throttle_limits_to_config() 561 cfg->buckets[THROTTLE_BPS_TOTAL].burst_length = arg->bps_total_max_length; in throttle_limits_to_config() 618 var->bps_total = cfg->buckets[THROTTLE_BPS_TOTAL].avg; in throttle_config_to_limits() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-throttle.c | 43 bkt = cfg.buckets[THROTTLE_BPS_TOTAL]; in test_leak_bucket() 92 bkt = cfg.buckets[THROTTLE_BPS_TOTAL]; in test_compute_wait() 269 orig_cfg.buckets[THROTTLE_BPS_TOTAL].avg = 153; in test_config_functions() 277 orig_cfg.buckets[THROTTLE_BPS_TOTAL].max = 0; in test_config_functions() 285 orig_cfg.buckets[THROTTLE_BPS_TOTAL].level = 45; in test_config_functions() 310 g_assert(final_cfg.buckets[THROTTLE_BPS_TOTAL].avg == 153); in test_config_functions() 318 g_assert(final_cfg.buckets[THROTTLE_BPS_TOTAL].max == 0); in test_config_functions() 406 THROTTLE_BPS_TOTAL, in test_conflicting_config() 418 THROTTLE_BPS_TOTAL, in test_conflicting_config() 615 BucketType to_test[2][3] = { { THROTTLE_BPS_TOTAL, in do_test_accounting()
|
/openbmc/qemu/fsdev/ |
H A D | qemu-fsdev-throttle.c | 37 fst->cfg.buckets[THROTTLE_BPS_TOTAL].avg = in fsdev_throttle_parse_opts() 50 fst->cfg.buckets[THROTTLE_BPS_TOTAL].max = in fsdev_throttle_parse_opts() 63 fst->cfg.buckets[THROTTLE_BPS_TOTAL].burst_length = in fsdev_throttle_parse_opts()
|
/openbmc/qemu/backends/ |
H A D | cryptodev.c | 357 uint64_t value = backend->tc.buckets[THROTTLE_BPS_TOTAL].avg; in cryptodev_backend_get_bps() 372 cryptodev_backend_set_throttle(backend, THROTTLE_BPS_TOTAL, value, errp); in cryptodev_backend_set_bps() 413 value = backend->tc.buckets[THROTTLE_BPS_TOTAL].avg; in cryptodev_backend_complete() 414 cryptodev_backend_set_throttle(backend, THROTTLE_BPS_TOTAL, value, errp); in cryptodev_backend_complete()
|
/openbmc/qemu/block/ |
H A D | qapi-sysemu.c | 439 cfg.buckets[THROTTLE_BPS_TOTAL].avg = arg->bps; in qmp_block_set_io_throttle() 448 cfg.buckets[THROTTLE_BPS_TOTAL].max = arg->bps_max; in qmp_block_set_io_throttle() 467 cfg.buckets[THROTTLE_BPS_TOTAL].burst_length = arg->bps_max_length; in qmp_block_set_io_throttle()
|
H A D | throttle-groups.c | 712 THROTTLE_BPS_TOTAL, AVG, 716 THROTTLE_BPS_TOTAL, MAX, 720 THROTTLE_BPS_TOTAL, BURST_LENGTH,
|
H A D | qapi.c | 97 info->bps = cfg.buckets[THROTTLE_BPS_TOTAL].avg; in bdrv_block_device_info() 105 info->has_bps_max = cfg.buckets[THROTTLE_BPS_TOTAL].max; in bdrv_block_device_info() 106 info->bps_max = cfg.buckets[THROTTLE_BPS_TOTAL].max; in bdrv_block_device_info() 121 cfg.buckets[THROTTLE_BPS_TOTAL].burst_length; in bdrv_block_device_info()
|
/openbmc/qemu/include/qemu/ |
H A D | throttle.h | 34 THROTTLE_BPS_TOTAL, enumerator
|
/openbmc/qemu/ |
H A D | blockdev.c | 407 throttle_cfg->buckets[THROTTLE_BPS_TOTAL].avg = in extract_common_blockdev_options() 420 throttle_cfg->buckets[THROTTLE_BPS_TOTAL].max = in extract_common_blockdev_options() 433 throttle_cfg->buckets[THROTTLE_BPS_TOTAL].burst_length = in extract_common_blockdev_options()
|