Searched refs:__rq (Results 1 – 3 of 3) sorted by relevance
303 struct request *__rq; in elv_rb_add() local307 __rq = rb_entry(parent, struct request, rb_node); in elv_rb_add()309 if (blk_rq_pos(rq) < blk_rq_pos(__rq)) in elv_rb_add()311 else if (blk_rq_pos(rq) >= blk_rq_pos(__rq)) in elv_rb_add()416 struct request *__rq; in elv_merge() local445 __rq = elv_rqhash_find(q, bio->bi_sector); in elv_merge()446 if (__rq && elv_rq_merge_ok(__rq, bio)) { in elv_merge()447 *req = __rq; in elv_merge()467 struct request *__rq; in elv_attempt_insert_merge() local487 __rq = elv_rqhash_find(q, blk_rq_pos(rq)); in elv_attempt_insert_merge()[all …]
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()
2322 struct request *__rq; in cfq_merge() local2324 __rq = cfq_find_rq_fmerge(cfqd, bio); in cfq_merge()2325 if (__rq && elv_rq_merge_ok(__rq, bio)) { in cfq_merge()2326 *req = __rq; in cfq_merge()