Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-throttle.c546 unsigned int io_allowed; in calculate_io_allowed() local
560 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() local
689 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()
/linux/drivers/block/drbd/
H A Ddrbd_int.h2038 int io_allowed; in _get_ldev_if_state() local
2045 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()
H A 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()