Lines Matching refs:is_sync
1068 const bool is_sync = rw_is_sync(rw_flags) != 0; in __get_request() local
1078 if (rl->count[is_sync]+1 >= queue_congestion_on_threshold(q)) { in __get_request()
1079 if (rl->count[is_sync]+1 >= q->nr_requests) { in __get_request()
1086 if (!blk_rl_full(rl, is_sync)) { in __get_request()
1088 blk_set_rl_full(rl, is_sync); in __get_request()
1101 blk_set_congested(rl, is_sync); in __get_request()
1109 if (rl->count[is_sync] >= (3 * q->nr_requests / 2)) in __get_request()
1112 q->nr_rqs[is_sync]++; in __get_request()
1113 rl->count[is_sync]++; in __get_request()
1114 rl->starved[is_sync] = 0; in __get_request()
1213 if (unlikely(rl->count[is_sync] == 0)) in __get_request()
1214 rl->starved[is_sync] = 1; in __get_request()
1235 const bool is_sync = rw_is_sync(rw_flags) != 0; in get_request() local
1252 prepare_to_wait_exclusive(&rl->wait[is_sync], &wait, in get_request()
1268 finish_wait(&rl->wait[is_sync], &wait); in get_request()