Lines Matching full:request

106 	unsigned int		cmd_size;	/* per-request extra data */
119 struct request *rq;
128 typedef enum blk_eh_timer_return (timeout_fn)(struct request *, bool);
131 typedef int (init_request_fn)(struct blk_mq_tag_set *set, struct request *,
133 typedef void (exit_request_fn)(struct blk_mq_tag_set *set, struct request *,
136 typedef bool (busy_iter_fn)(struct blk_mq_hw_ctx *, struct request *, void *,
138 typedef bool (busy_tag_iter_fn)(struct request *, void *, bool);
142 typedef void (complete_fn)(struct request *);
143 typedef void (cleanup_rq_fn)(struct request *);
148 * Queue request
156 * purpose of kicking the hardware (which the last request otherwise
162 * Reserve budget before queue request, once .queue_rq is
171 * Called on request timeout
195 * flush request.
202 void (*initialize_rq_fn)(struct request *rq);
205 * Called before freeing one request which isn't completed yet,
220 * information about a request.
222 void (*show_rq)(struct seq_file *m, struct request *rq);
264 void blk_mq_free_request(struct request *rq);
280 struct request *blk_mq_alloc_request(struct request_queue *q, unsigned int op,
282 struct request *blk_mq_alloc_request_hctx(struct request_queue *q,
285 struct request *blk_mq_tag_to_rq(struct blk_mq_tags *tags, unsigned int tag);
292 u32 blk_mq_unique_tag(struct request *rq);
305 int blk_mq_request_started(struct request *rq);
306 int blk_mq_request_completed(struct request *rq);
307 void blk_mq_start_request(struct request *rq);
308 void blk_mq_end_request(struct request *rq, blk_status_t error);
309 void __blk_mq_end_request(struct request *rq, blk_status_t error);
311 void blk_mq_requeue_request(struct request *rq, bool kick_requeue_list);
314 bool blk_mq_complete_request(struct request *rq);
344 unsigned int blk_mq_rq_cpu(struct request *rq);
347 * Driver command data is immediately after the request. So subtract request
348 * size to get back to the original request, add request size to get the PDU.
350 static inline struct request *blk_mq_rq_from_pdu(void *pdu) in blk_mq_rq_from_pdu()
352 return pdu - sizeof(struct request); in blk_mq_rq_from_pdu()
354 static inline void *blk_mq_rq_to_pdu(struct request *rq) in blk_mq_rq_to_pdu()
368 struct request *rq) in request_to_qc_t()
377 static inline void blk_mq_cleanup_rq(struct request *rq) in blk_mq_cleanup_rq()