Searched refs:burst_length (Results 1 – 11 of 11) sorted by relevance
49 if (bkt->burst_length > 1) { in throttle_leak_bucket()114 bucket_size = bkt->max * bkt->burst_length; in throttle_compute_wait()126 if (bkt->burst_length > 1) { in throttle_compute_wait()223 cfg->buckets[i].burst_length = 1; in throttle_config_init()360 if (!bkt->burst_length) { in throttle_is_valid()365 if (bkt->burst_length > 1 && !bkt->max) { in throttle_is_valid()370 if (bkt->max && bkt->burst_length > THROTTLE_VALUE_MAX / bkt->max) { in throttle_is_valid()495 if (bkt->burst_length > 1) { in throttle_account()501 if (bkt->burst_length > 1) { in throttle_account()569 cfg->buckets[THROTTLE_BPS_READ].burst_length = arg->bps_read_max_length; in throttle_limits_to_config()[all …]
63 fst->cfg.buckets[THROTTLE_BPS_TOTAL].burst_length = in fsdev_throttle_parse_opts()65 fst->cfg.buckets[THROTTLE_BPS_READ].burst_length = in fsdev_throttle_parse_opts()67 fst->cfg.buckets[THROTTLE_BPS_WRITE].burst_length = in fsdev_throttle_parse_opts()69 fst->cfg.buckets[THROTTLE_OPS_TOTAL].burst_length = in fsdev_throttle_parse_opts()71 fst->cfg.buckets[THROTTLE_OPS_READ].burst_length = in fsdev_throttle_parse_opts()73 fst->cfg.buckets[THROTTLE_OPS_WRITE].burst_length = in fsdev_throttle_parse_opts()
68 VMSTATE_INT16(burst_length, IMXSPIState),173 if (s->burst_length <= 0) { in imx_spi_flush_txfifo()174 s->burst_length = imx_spi_burst_length(s); in imx_spi_flush_txfifo()176 DPRINTF("Burst length = %d\n", s->burst_length); in imx_spi_flush_txfifo()187 tx_burst = (s->burst_length % 32) ? : 32; in imx_spi_flush_txfifo()205 s->burst_length -= 8; in imx_spi_flush_txfifo()216 if (s->burst_length <= 0) { in imx_spi_flush_txfifo()256 s->burst_length = 0; in imx_spi_common_reset()
71 bkt.burst_length = 2; /* otherwise burst_level will not leak */ in test_leak_bucket()125 bkt.burst_length = 2; in test_compute_wait()485 b->burst_length = 0; in test_ranges()490 b->burst_length = 1; in test_ranges()495 b->burst_length = THROTTLE_VALUE_MAX; in test_ranges()500 b->burst_length = THROTTLE_VALUE_MAX + 1; in test_ranges()506 b->burst_length = THROTTLE_VALUE_MAX / 2; in test_ranges()511 b->burst_length = THROTTLE_VALUE_MAX / 2; in test_ranges()516 b->burst_length = 1; in test_ranges()521 b->burst_length = 2; in test_ranges()
467 cfg.buckets[THROTTLE_BPS_TOTAL].burst_length = arg->bps_max_length; 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()473 cfg.buckets[THROTTLE_BPS_WRITE].burst_length = arg->bps_wr_max_length; in qmp_block_set_io_throttle()476 cfg.buckets[THROTTLE_OPS_TOTAL].burst_length = arg->iops_max_length; 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()482 cfg.buckets[THROTTLE_OPS_WRITE].burst_length = arg->iops_wr_max_length; in qmp_block_set_io_throttle()
121 cfg.buckets[THROTTLE_BPS_TOTAL].burst_length; in bdrv_block_device_info()124 cfg.buckets[THROTTLE_BPS_READ].burst_length; in bdrv_block_device_info()127 cfg.buckets[THROTTLE_BPS_WRITE].burst_length; in bdrv_block_device_info()131 cfg.buckets[THROTTLE_OPS_TOTAL].burst_length; in bdrv_block_device_info()134 cfg.buckets[THROTTLE_OPS_READ].burst_length; in bdrv_block_device_info()137 cfg.buckets[THROTTLE_OPS_WRITE].burst_length; in bdrv_block_device_info()
851 cfg->buckets[info->type].burst_length = value; in throttle_group_set()876 value = cfg.buckets[info->type].burst_length; in throttle_group_get()
193 burst_length = 4199 settings['%s_max_length' % tk] = burst_length203 wait_ns = nsec_per_sec * burst_length * burst_rate // rate209 self.do_test_throttle(ndrives, burst_length, limits)
104 int16_t burst_length; member
84 uint64_t burst_length; /* max length of the burst period, in seconds */ member
433 throttle_cfg->buckets[THROTTLE_BPS_TOTAL].burst_length = in extract_common_blockdev_options()435 throttle_cfg->buckets[THROTTLE_BPS_READ].burst_length = in extract_common_blockdev_options()437 throttle_cfg->buckets[THROTTLE_BPS_WRITE].burst_length = in extract_common_blockdev_options()439 throttle_cfg->buckets[THROTTLE_OPS_TOTAL].burst_length = in extract_common_blockdev_options()441 throttle_cfg->buckets[THROTTLE_OPS_READ].burst_length = in extract_common_blockdev_options()443 throttle_cfg->buckets[THROTTLE_OPS_WRITE].burst_length = in extract_common_blockdev_options()