Searched refs:__rq (Results 1 – 5 of 5) sorted by relevance
128 struct request *__rq; in deadline_merge() local137 __rq = elv_rb_find(&dd->sort_list[bio_data_dir(bio)], sector); in deadline_merge()138 if (__rq) { in deadline_merge()139 BUG_ON(sector != blk_rq_pos(__rq)); in deadline_merge()141 if (elv_rq_merge_ok(__rq, bio)) { in deadline_merge()150 *req = __rq; in deadline_merge()
306 struct request *__rq; in elv_rb_add() local310 __rq = rb_entry(parent, struct request, rb_node); in elv_rb_add()312 if (blk_rq_pos(rq) < blk_rq_pos(__rq)) in elv_rb_add()314 else if (blk_rq_pos(rq) >= blk_rq_pos(__rq)) in elv_rb_add()419 struct request *__rq; in elv_merge() local448 __rq = elv_rqhash_find(q, bio->bi_sector); in elv_merge()449 if (__rq && elv_rq_merge_ok(__rq, bio)) { in elv_merge()450 *req = __rq; in elv_merge()470 struct request *__rq; in elv_attempt_insert_merge() local487 __rq = elv_rqhash_find(q, blk_rq_pos(rq)); in elv_attempt_insert_merge()[all …]
1627 struct request *__rq; in cfq_merge() local1629 __rq = cfq_find_rq_fmerge(cfqd, bio); in cfq_merge()1630 if (__rq && elv_rq_merge_ok(__rq, bio)) { in cfq_merge()1631 *req = __rq; in cfq_merge()
1407 struct request *__rq; in blk_queue_bio() local1409 __rq = list_entry_rq(plug->list.prev); in blk_queue_bio()1410 if (__rq->q != q) in blk_queue_bio()
534 : "=d" (__rq.__ll) \537 (r) = __rq.__i.__l; (q) = __rq.__i.__h; \