Lines Matching defs:rq2
443 * Lifted from AS - choose which of rq1 and rq2 that is best served now.
449 struct request *rq2,
458 if (!rq1 || rq1 == rq2)
459 return rq2;
460 if (!rq2)
463 if (rq_is_sync(rq1) && !rq_is_sync(rq2))
465 else if (rq_is_sync(rq2) && !rq_is_sync(rq1))
466 return rq2;
467 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META))
469 else if ((rq2->cmd_flags & REQ_META) && !(rq1->cmd_flags & REQ_META))
470 return rq2;
473 s2 = blk_rq_pos(rq2);
506 case 0: /* common case for CFQ: rq1 and rq2 not wrapped */
510 return rq2;
515 return rq2;
520 return rq2;
532 return rq2;