Lines Matching refs:next
1214 struct request *next = NULL, *prev = NULL; in cfq_find_next_rq() local
1222 next = rb_entry_rq(rbnext); in cfq_find_next_rq()
1226 next = rb_entry_rq(rbnext); in cfq_find_next_rq()
1229 return cfq_choose_req(cfqd, next, prev, blk_rq_pos(last)); in cfq_find_next_rq()
2548 struct request *next) in cfq_merged_requests() argument
2556 if (!list_empty(&rq->queuelist) && !list_empty(&next->queuelist) && in cfq_merged_requests()
2557 time_before(next->fifo_time, rq->fifo_time) && in cfq_merged_requests()
2558 cfqq == RQ_CFQQ(next)) { in cfq_merged_requests()
2559 list_move(&rq->queuelist, &next->queuelist); in cfq_merged_requests()
2560 rq->fifo_time = next->fifo_time; in cfq_merged_requests()
2563 if (cfqq->next_rq == next) in cfq_merged_requests()
2565 cfq_remove_request(next); in cfq_merged_requests()
2566 cfqg_stats_update_io_merged(RQ_CFQG(rq), next->cmd_flags); in cfq_merged_requests()
2568 cfqq = RQ_CFQQ(next); in cfq_merged_requests()
3003 rq = rq_entry_fifo(cfqq->fifo.next); in cfq_check_fifo()
3582 struct cfq_queue *__cfqq, *next; in cfq_put_cooperator() local
3595 next = __cfqq->new_cfqq; in cfq_put_cooperator()
3597 __cfqq = next; in cfq_put_cooperator()