Lines Matching refs:is_sync
982 const bool is_sync = rw_is_sync(rw_flags) != 0; in __get_request() local
992 if (rl->count[is_sync]+1 >= queue_congestion_on_threshold(q)) { in __get_request()
993 if (rl->count[is_sync]+1 >= q->nr_requests) { in __get_request()
1000 if (!blk_rl_full(rl, is_sync)) { in __get_request()
1002 blk_set_rl_full(rl, is_sync); in __get_request()
1020 blk_set_queue_congested(q, is_sync); in __get_request()
1028 if (rl->count[is_sync] >= (3 * q->nr_requests / 2)) in __get_request()
1031 q->nr_rqs[is_sync]++; in __get_request()
1032 rl->count[is_sync]++; in __get_request()
1033 rl->starved[is_sync] = 0; in __get_request()
1132 if (unlikely(rl->count[is_sync] == 0)) in __get_request()
1133 rl->starved[is_sync] = 1; in __get_request()
1154 const bool is_sync = rw_is_sync(rw_flags) != 0; in get_request() local
1171 prepare_to_wait_exclusive(&rl->wait[is_sync], &wait, in get_request()
1187 finish_wait(&rl->wait[is_sync], &wait); in get_request()