Lines Matching full:request
33 bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
35 int (*request_merge)(struct request_queue *q, struct request **, struct bio *);
36 void (*request_merged)(struct request_queue *, struct request *, enum elv_merge);
37 void (*requests_merged)(struct request_queue *, struct request *, struct request *);
39 void (*prepare_request)(struct request *);
40 void (*finish_request)(struct request *);
43 struct request *(*dispatch_request)(struct blk_mq_hw_ctx *);
45 void (*completed_request)(struct request *, u64);
46 void (*requeue_request)(struct request *);
47 struct request *(*former_request)(struct request_queue *, struct request *);
48 struct request *(*next_request)(struct request_queue *, struct request *);
105 void elv_rqhash_del(struct request_queue *q, struct request *rq);
106 void elv_rqhash_add(struct request_queue *q, struct request *rq);
107 void elv_rqhash_reposition(struct request_queue *q, struct request *rq);
108 struct request *elv_rqhash_find(struct request_queue *q, sector_t offset);
129 extern enum elv_merge elv_merge(struct request_queue *, struct request **,
131 extern void elv_merge_requests(struct request_queue *, struct request *,
132 struct request *);
133 extern void elv_merged_request(struct request_queue *, struct request *,
135 extern bool elv_attempt_insert_merge(struct request_queue *, struct request *,
137 extern struct request *elv_former_request(struct request_queue *, struct request *);
138 extern struct request *elv_latter_request(struct request_queue *, struct request *);
155 extern bool elv_bio_merge_ok(struct request *, struct bio *);
162 extern struct request *elv_rb_former_request(struct request_queue *, struct request *);
163 extern struct request *elv_rb_latter_request(struct request_queue *, struct request *);
168 extern void elv_rb_add(struct rb_root *, struct request *);
169 extern void elv_rb_del(struct rb_root *, struct request *);
170 extern struct request *elv_rb_find(struct rb_root *, sector_t);
182 #define rb_entry_rq(node) rb_entry((node), struct request, rb_node)
184 #define rq_entry_fifo(ptr) list_entry((ptr), struct request, queuelist)