Searched refs:prev (Results 1 – 3 of 3) sorted by relevance
47 if (rq->queuelist.prev == &nd->queue) in noop_former_request()49 return list_entry(rq->queuelist.prev, struct request, queuelist); in noop_former_request()
491 struct request *prev = elv_former_request(q, rq); in attempt_front_merge() local493 if (prev) in attempt_front_merge()494 return attempt_merge(q, prev, rq); in attempt_front_merge()
1213 struct request *next = NULL, *prev = NULL; in cfq_find_next_rq() local1218 prev = rb_entry_rq(rbprev); in cfq_find_next_rq()1228 return cfq_choose_req(cfqd, next, prev, blk_rq_pos(last)); in cfq_find_next_rq()2227 struct request *prev; in cfq_add_rq_rb() local2239 prev = cfqq->next_rq; in cfq_add_rq_rb()2245 if (prev != cfqq->next_rq) in cfq_add_rq_rb()