Searched refs:io_allowed (Results 1 – 3 of 3) sorted by relevance
703 unsigned int io_allowed; in calculate_io_allowed() local717 io_allowed = UINT_MAX; in calculate_io_allowed()719 io_allowed = tmp; in calculate_io_allowed()721 return io_allowed; in calculate_io_allowed()835 int io_allowed; in tg_within_iops_limit() local846 io_allowed = calculate_io_allowed(iops_limit, jiffy_elapsed_rnd) + in tg_within_iops_limit()848 if (io_allowed > 0 && tg->io_disp[rw] + 1 <= io_allowed) in tg_within_iops_limit()
2048 int io_allowed; in _get_ldev_if_state() local2055 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()2056 if (!io_allowed) in _get_ldev_if_state()2058 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()