Lines Matching defs:rq
50 static int blk_mq_poll_stats_bkt(const struct request *rq) in blk_mq_poll_stats_bkt()
86 static inline blk_qc_t blk_rq_to_qc(struct request *rq) in blk_rq_to_qc()
130 struct request *rq, void *priv, in blk_mq_check_inflight()
336 struct request *rq = tags->static_rqs[tag]; in blk_mq_rq_ctx_init() local
408 struct request *rq; in __blk_mq_alloc_requests_batch() local
438 struct request *rq; in __blk_mq_alloc_requests() local
513 struct request *rq; in blk_mq_alloc_request() local
596 static void __blk_mq_free_request(struct request *rq) in __blk_mq_free_request()
614 void blk_mq_free_request(struct request *rq) in blk_mq_free_request()
646 struct request *rq; in blk_mq_free_plug_rqs() local
652 static void req_bio_endio(struct request *rq, struct bio *bio, in req_bio_endio()
794 static inline void __blk_mq_end_request_acct(struct request *rq, u64 now) in __blk_mq_end_request_acct()
805 inline void __blk_mq_end_request(struct request *rq, blk_status_t error) in __blk_mq_end_request()
819 void blk_mq_end_request(struct request *rq, blk_status_t error) in blk_mq_end_request()
849 struct request *rq; in blk_mq_end_request_batch() local
889 struct request *rq, *next; in blk_complete_reqs() local
911 static inline bool blk_mq_complete_need_ipi(struct request *rq) in blk_mq_complete_need_ipi()
937 static void blk_mq_complete_send_ipi(struct request *rq) in blk_mq_complete_send_ipi()
950 static void blk_mq_raise_softirq(struct request *rq) in blk_mq_raise_softirq()
961 bool blk_mq_complete_request_remote(struct request *rq) in blk_mq_complete_request_remote()
992 void blk_mq_complete_request(struct request *rq) in blk_mq_complete_request()
1027 void blk_mq_start_request(struct request *rq) in blk_mq_start_request()
1061 static void __blk_mq_requeue_request(struct request *rq) in __blk_mq_requeue_request()
1076 void blk_mq_requeue_request(struct request *rq, bool kick_requeue_list) in blk_mq_requeue_request()
1092 struct request *rq, *next; in blk_mq_requeue_work() local
1124 void blk_mq_add_to_requeue_list(struct request *rq, bool at_head, in blk_mq_add_to_requeue_list()
1163 static bool blk_mq_rq_inflight(struct blk_mq_hw_ctx *hctx, struct request *rq, in blk_mq_rq_inflight()
1204 static bool blk_mq_req_expired(struct request *rq, unsigned long *next) in blk_mq_req_expired()
1224 void blk_mq_put_rq_ref(struct request *rq) in blk_mq_put_rq_ref()
1233 struct request *rq, void *priv, bool reserved) in blk_mq_check_expired()
1329 struct request *rq; member
1367 static bool __blk_mq_alloc_driver_tag(struct request *rq) in __blk_mq_alloc_driver_tag()
1391 bool __blk_mq_get_driver_tag(struct blk_mq_hw_ctx *hctx, struct request *rq) in __blk_mq_get_driver_tag()
1433 struct request *rq) in blk_mq_mark_tag_wait()
1524 static void blk_mq_handle_dev_resource(struct request *rq, in blk_mq_handle_dev_resource()
1541 static void blk_mq_handle_zone_resource(struct request *rq, in blk_mq_handle_zone_resource()
1560 static enum prep_dispatch blk_mq_prep_dispatch_rq(struct request *rq, in blk_mq_prep_dispatch_rq()
1601 struct request *rq; in blk_mq_release_budgets() local
1619 struct request *rq, *nxt; in blk_mq_dispatch_rq_list() local
2121 struct request *rq, in __blk_mq_insert_req_list()
2137 void __blk_mq_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, in __blk_mq_insert_request()
2157 void blk_mq_request_bypass_insert(struct request *rq, bool at_head, in blk_mq_request_bypass_insert()
2177 struct request *rq; in blk_mq_insert_requests() local
2208 struct request *rq; in blk_mq_plug_issue_direct() local
2268 struct request *rq; in blk_mq_flush_plug_list() local
2297 static void blk_mq_bio_to_request(struct request *rq, struct bio *bio, in blk_mq_bio_to_request()
2317 struct request *rq, bool last) in __blk_mq_issue_directly()
2350 struct request *rq, in __blk_mq_try_issue_directly()
2405 struct request *rq) in blk_mq_try_issue_directly()
2423 blk_status_t blk_mq_request_issue_directly(struct request *rq, bool last) in blk_mq_request_issue_directly()
2444 struct request *rq = list_first_entry(list, struct request, in blk_mq_try_issue_list_directly() local
2472 static void blk_add_rq_to_plug(struct blk_plug *plug, struct request *rq) in blk_add_rq_to_plug()
2523 struct request *rq; in blk_mq_get_new_requests() local
2547 static inline bool blk_mq_can_use_cached_rq(struct request *rq, struct bio *bio) in blk_mq_can_use_cached_rq()
2564 struct request *rq; in blk_mq_get_request() local
2616 struct request *rq; in blk_mq_submit_bio() local
2742 struct request *rq = drv_tags->rqs[i]; in blk_mq_clear_rq_mapping() local
2777 struct request *rq = tags->static_rqs[i]; in blk_mq_free_rqs() local
2847 static int blk_mq_init_request(struct blk_mq_tag_set *set, struct request *rq, in blk_mq_init_request()
2921 struct request *rq = p; in blk_mq_alloc_rqs() local
2945 static bool blk_mq_has_request(struct request *rq, void *data, bool reserved) in blk_mq_has_request()
4281 struct request *rq) in blk_mq_poll_nsecs()
4315 struct request *rq = blk_qc_to_rq(hctx, qc); in blk_mq_poll_hybrid() local
4417 unsigned int blk_mq_rq_cpu(struct request *rq) in blk_mq_rq_cpu()