Lines Matching refs:request
30 struct request *flush_rq;
36 struct request *orig_rq;
128 is_flush_rq(struct request *req, struct blk_mq_hw_ctx *hctx) in is_flush_rq()
141 void blk_rq_bio_prep(struct request_queue *q, struct request *rq,
180 void blk_add_timer(struct request *req);
181 void blk_delete_timer(struct request *);
184 bool bio_attempt_front_merge(struct request_queue *q, struct request *req,
186 bool bio_attempt_back_merge(struct request_queue *q, struct request *req,
188 bool bio_attempt_discard_merge(struct request_queue *q, struct request *req,
192 struct request **same_queue_rq);
195 void blk_account_io_start(struct request *req, bool new_io);
196 void blk_account_io_completion(struct request *req, unsigned int bytes);
197 void blk_account_io_done(struct request *req, u64 now);
204 static inline int blk_mark_rq_complete(struct request *rq) in blk_mark_rq_complete()
209 static inline void blk_clear_rq_complete(struct request *rq) in blk_clear_rq_complete()
214 static inline bool blk_rq_is_complete(struct request *rq) in blk_rq_is_complete()
224 void blk_insert_flush(struct request *rq);
226 static inline void elv_activate_rq(struct request_queue *q, struct request *rq) in elv_activate_rq()
234 static inline void elv_deactivate_rq(struct request_queue *q, struct request *rq) in elv_deactivate_rq()
264 int ll_back_merge_fn(struct request_queue *q, struct request *req,
266 int ll_front_merge_fn(struct request_queue *q, struct request *req,
268 struct request *attempt_back_merge(struct request_queue *q, struct request *rq);
269 struct request *attempt_front_merge(struct request_queue *q, struct request *rq);
270 int blk_attempt_req_merge(struct request_queue *q, struct request *rq,
271 struct request *next);
272 void blk_recalc_rq_segments(struct request *rq);
273 void blk_rq_set_mixed_merge(struct request *rq);
274 bool blk_rq_merge_ok(struct request *rq, struct bio *bio);
275 enum elv_merge blk_try_merge(struct request *rq, struct bio *bio);
309 static inline bool blk_do_io_stat(struct request *rq) in blk_do_io_stat()
316 static inline void req_set_nomerge(struct request_queue *q, struct request *req) in req_set_nomerge()
328 static inline void blk_rq_set_deadline(struct request *rq, unsigned long time) in blk_rq_set_deadline()
333 static inline unsigned long blk_rq_deadline(struct request *rq) in blk_rq_deadline()
414 extern void blk_throtl_stat_add(struct request *rq, u64 time);
417 static inline void blk_throtl_stat_add(struct request *rq, u64 time) { } in blk_throtl_stat_add()