Searched refs:__rq (Results 1 – 3 of 3) sorted by relevance
/block/ |
D | elevator.c | 259 struct request *__rq; in elv_rb_add() local 263 __rq = rb_entry(parent, struct request, rb_node); in elv_rb_add() 265 if (blk_rq_pos(rq) < blk_rq_pos(__rq)) in elv_rb_add() 267 else if (blk_rq_pos(rq) >= blk_rq_pos(__rq)) in elv_rb_add() 308 struct request *__rq; in elv_merge() local 337 __rq = elv_rqhash_find(q, bio->bi_iter.bi_sector); in elv_merge() 338 if (__rq && elv_bio_merge_ok(__rq, bio)) { in elv_merge() 339 *req = __rq; in elv_merge() 358 struct request *__rq; in elv_attempt_insert_merge() local 378 __rq = elv_rqhash_find(q, blk_rq_pos(rq)); in elv_attempt_insert_merge() [all …]
|
D | mq-deadline.c | 444 struct request *__rq; in dd_request_merge() local 449 __rq = elv_rb_find(&dd->sort_list[bio_data_dir(bio)], sector); in dd_request_merge() 450 if (__rq) { in dd_request_merge() 451 BUG_ON(sector != blk_rq_pos(__rq)); in dd_request_merge() 453 if (elv_bio_merge_ok(__rq, bio)) { in dd_request_merge() 454 *rq = __rq; in dd_request_merge()
|
D | bfq-iosched.c | 2246 struct request *__rq; in bfq_request_merge() local 2248 __rq = bfq_find_rq_fmerge(bfqd, bio, q); in bfq_request_merge() 2249 if (__rq && elv_bio_merge_ok(__rq, bio)) { in bfq_request_merge() 2250 *req = __rq; in bfq_request_merge()
|