Home
last modified time | relevance | path

Searched refs:io_allowed (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/block/
Dblk-throttle.c703 unsigned int io_allowed; in calculate_io_allowed() local
717 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() local
846 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()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_int.h2048 int io_allowed; in _get_ldev_if_state() local
2055 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()
Ddrbd_main.c146 int io_allowed; in _get_ldev_if_state() local
149 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()