Lines Matching refs:nr_queued
67 unsigned int nr_queued[2]; member
873 BUG_ON(tg->service_queue.nr_queued[rw] && in tg_may_dispatch()
891 if (throtl_slice_used(tg, rw) && !(tg->service_queue.nr_queued[rw])) in tg_may_dispatch()
966 if (!sq->nr_queued[rw]) in throtl_add_bio_tg()
971 sq->nr_queued[rw]++; in throtl_add_bio_tg()
1026 sq->nr_queued[rw]--; in tg_dispatch_one_bio()
1043 BUG_ON(tg->td->nr_queued[rw] <= 0); in tg_dispatch_one_bio()
1044 tg->td->nr_queued[rw]--; in tg_dispatch_one_bio()
1109 if (sq->nr_queued[0] || sq->nr_queued[1]) in throtl_select_dispatch()
1166 sq->nr_queued[READ] + sq->nr_queued[WRITE], in throtl_pending_timer_fn()
1167 sq->nr_queued[READ], sq->nr_queued[WRITE]); in throtl_pending_timer_fn()
1754 if (read_limit && sq->nr_queued[READ] && in throtl_tg_can_upgrade()
1755 (!write_limit || sq->nr_queued[WRITE])) in throtl_tg_can_upgrade()
1757 if (write_limit && sq->nr_queued[WRITE] && in throtl_tg_can_upgrade()
1758 (!read_limit || sq->nr_queued[READ])) in throtl_tg_can_upgrade()
2125 if (sq->nr_queued[rw]) in __blk_throtl_bio()
2172 sq->nr_queued[READ], sq->nr_queued[WRITE]); in __blk_throtl_bio()
2176 td->nr_queued[rw]++; in __blk_throtl_bio()