Lines Matching refs:BLK_RW_ASYNC
488 wake_up(&rl->wait[BLK_RW_ASYNC]); in blk_set_queue_dying()
581 rl->count[BLK_RW_SYNC] = rl->count[BLK_RW_ASYNC] = 0; in blk_init_rl()
582 rl->starved[BLK_RW_SYNC] = rl->starved[BLK_RW_ASYNC] = 0; in blk_init_rl()
584 init_waitqueue_head(&rl->wait[BLK_RW_ASYNC]); in blk_init_rl()
900 if (rl->count[BLK_RW_ASYNC] >= queue_congestion_on_threshold(q)) in blk_update_nr_requests()
901 blk_set_queue_congested(q, BLK_RW_ASYNC); in blk_update_nr_requests()
902 else if (rl->count[BLK_RW_ASYNC] < queue_congestion_off_threshold(q)) in blk_update_nr_requests()
903 blk_clear_queue_congested(q, BLK_RW_ASYNC); in blk_update_nr_requests()
913 if (rl->count[BLK_RW_ASYNC] >= q->nr_requests) { in blk_update_nr_requests()
914 blk_set_rl_full(rl, BLK_RW_ASYNC); in blk_update_nr_requests()
916 blk_clear_rl_full(rl, BLK_RW_ASYNC); in blk_update_nr_requests()
917 wake_up(&rl->wait[BLK_RW_ASYNC]); in blk_update_nr_requests()