Searched refs:io_allowed (Results 1 – 3 of 3) sorted by relevance
546 unsigned int io_allowed; in calculate_io_allowed() local560 io_allowed = UINT_MAX; in calculate_io_allowed()562 io_allowed = tmp; in calculate_io_allowed()564 return io_allowed; in calculate_io_allowed()678 int io_allowed; in tg_within_iops_limit() local689 io_allowed = calculate_io_allowed(iops_limit, jiffy_elapsed_rnd) + in tg_within_iops_limit()691 if (io_allowed > 0 && tg->io_disp[rw] + 1 <= io_allowed) in tg_within_iops_limit()
2038 int io_allowed; in _get_ldev_if_state() local2045 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()2046 if (!io_allowed) in _get_ldev_if_state()2048 return io_allowed; in _get_ldev_if_state()
146 int io_allowed; in _get_ldev_if_state() local149 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()150 if (!io_allowed) { in _get_ldev_if_state()154 return io_allowed; in _get_ldev_if_state()