Lines Matching refs:WRITE
434 for (rw = READ; rw <= WRITE; rw++) { in throtl_pd_init()
443 tg->bps[WRITE] = -1; in throtl_pd_init()
445 tg->iops[WRITE] = -1; in throtl_pd_init()
468 for (rw = READ; rw <= WRITE; rw++) in tg_update_has_rules()
1053 if ((bio = throtl_peek_queued(&sq->queued[WRITE]))) in tg_update_disptime()
1140 while ((bio = throtl_peek_queued(&sq->queued[WRITE])) && in throtl_dispatch_tg()
1213 sq->nr_queued[READ] + sq->nr_queued[WRITE], in throtl_pending_timer_fn()
1214 sq->nr_queued[READ], sq->nr_queued[WRITE]); in throtl_pending_timer_fn()
1275 for (rw = READ; rw <= WRITE; rw++) in blk_throtl_dispatch_work_fn()
1380 tg->bps[READ], tg->bps[WRITE], in tg_set_conf()
1381 tg->iops[READ], tg->iops[WRITE]); in tg_set_conf()
1434 .private = offsetof(struct throtl_grp, bps[WRITE]),
1446 .private = offsetof(struct throtl_grp, iops[WRITE]),
1563 sq->nr_queued[READ], sq->nr_queued[WRITE]); in blk_throtl_bio()
1613 while ((bio = throtl_peek_queued(&sq->queued[WRITE]))) in tg_drain_bios()
1652 for (rw = READ; rw <= WRITE; rw++) in blk_throtl_drain()