Lines Matching defs:rq
54 #define rq_hash_key(rq) (blk_rq_pos(rq) + blk_rq_sectors(rq)) argument
60 static bool elv_iosched_allow_bio_merge(struct request *rq, struct bio *bio) in elv_iosched_allow_bio_merge()
74 bool elv_bio_merge_ok(struct request *rq, struct bio *bio) in elv_bio_merge_ok()
173 static inline void __elv_rqhash_del(struct request *rq) in __elv_rqhash_del()
179 void elv_rqhash_del(struct request_queue *q, struct request *rq) in elv_rqhash_del()
186 void elv_rqhash_add(struct request_queue *q, struct request *rq) in elv_rqhash_add()
196 void elv_rqhash_reposition(struct request_queue *q, struct request *rq) in elv_rqhash_reposition()
206 struct request *rq; in elv_rqhash_find() local
227 void elv_rb_add(struct rb_root *root, struct request *rq) in elv_rb_add()
248 void elv_rb_del(struct rb_root *root, struct request *rq) in elv_rb_del()
259 struct request *rq; in elv_rb_find() local
332 bool elv_attempt_insert_merge(struct request_queue *q, struct request *rq, in elv_attempt_insert_merge()
370 void elv_merged_request(struct request_queue *q, struct request *rq, in elv_merged_request()
384 void elv_merge_requests(struct request_queue *q, struct request *rq, in elv_merge_requests()
396 struct request *elv_latter_request(struct request_queue *q, struct request *rq) in elv_latter_request()
406 struct request *elv_former_request(struct request_queue *q, struct request *rq) in elv_former_request()
794 struct request *rq) in elv_rb_former_request()
806 struct request *rq) in elv_rb_latter_request()