Lines Matching refs:BLK_RW_SYNC
527 wake_up(&rl->wait[BLK_RW_SYNC]); in blk_set_queue_dying()
622 rl->count[BLK_RW_SYNC] = rl->count[BLK_RW_ASYNC] = 0; in blk_init_rl()
623 rl->starved[BLK_RW_SYNC] = rl->starved[BLK_RW_ASYNC] = 0; in blk_init_rl()
624 init_waitqueue_head(&rl->wait[BLK_RW_SYNC]); in blk_init_rl()
982 if (rl->count[BLK_RW_SYNC] >= on_thresh) in blk_update_nr_requests()
983 blk_set_congested(rl, BLK_RW_SYNC); in blk_update_nr_requests()
984 else if (rl->count[BLK_RW_SYNC] < off_thresh) in blk_update_nr_requests()
985 blk_clear_congested(rl, BLK_RW_SYNC); in blk_update_nr_requests()
992 if (rl->count[BLK_RW_SYNC] >= q->nr_requests) { in blk_update_nr_requests()
993 blk_set_rl_full(rl, BLK_RW_SYNC); in blk_update_nr_requests()
995 blk_clear_rl_full(rl, BLK_RW_SYNC); in blk_update_nr_requests()
996 wake_up(&rl->wait[BLK_RW_SYNC]); in blk_update_nr_requests()