Lines Matching refs:BLK_RW_SYNC
487 wake_up(&rl->wait[BLK_RW_SYNC]); 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()
583 init_waitqueue_head(&rl->wait[BLK_RW_SYNC]); in blk_init_rl()
895 if (rl->count[BLK_RW_SYNC] >= queue_congestion_on_threshold(q)) in blk_update_nr_requests()
896 blk_set_queue_congested(q, BLK_RW_SYNC); in blk_update_nr_requests()
897 else if (rl->count[BLK_RW_SYNC] < queue_congestion_off_threshold(q)) in blk_update_nr_requests()
898 blk_clear_queue_congested(q, BLK_RW_SYNC); in blk_update_nr_requests()
906 if (rl->count[BLK_RW_SYNC] >= q->nr_requests) { in blk_update_nr_requests()
907 blk_set_rl_full(rl, BLK_RW_SYNC); in blk_update_nr_requests()
909 blk_clear_rl_full(rl, BLK_RW_SYNC); in blk_update_nr_requests()
910 wake_up(&rl->wait[BLK_RW_SYNC]); in blk_update_nr_requests()