/kernel/linux/linux-5.10/block/ |
D | blk-mq-debugfs.h | 21 void blk_mq_debugfs_register(struct request_queue *q); 22 void blk_mq_debugfs_unregister(struct request_queue *q); 23 void blk_mq_debugfs_register_hctx(struct request_queue *q, 26 void blk_mq_debugfs_register_hctxs(struct request_queue *q); 27 void blk_mq_debugfs_unregister_hctxs(struct request_queue *q); 29 void blk_mq_debugfs_register_sched(struct request_queue *q); 30 void blk_mq_debugfs_unregister_sched(struct request_queue *q); 31 void blk_mq_debugfs_register_sched_hctx(struct request_queue *q, 37 void blk_mq_debugfs_unregister_queue_rqos(struct request_queue *q); 39 static inline void blk_mq_debugfs_register(struct request_queue *q) in blk_mq_debugfs_register() [all …]
|
D | blk-wbt.h | 91 int wbt_init(struct request_queue *); 92 void wbt_disable_default(struct request_queue *); 93 void wbt_enable_default(struct request_queue *); 95 u64 wbt_get_min_lat(struct request_queue *q); 96 void wbt_set_min_lat(struct request_queue *q, u64 val); 98 void wbt_set_write_cache(struct request_queue *, bool); 100 u64 wbt_default_latency_nsec(struct request_queue *); 107 static inline int wbt_init(struct request_queue *q) in wbt_init() 111 static inline void wbt_disable_default(struct request_queue *q) in wbt_disable_default() 114 static inline void wbt_enable_default(struct request_queue *q) in wbt_enable_default() [all …]
|
D | blk.h | 36 blk_get_flush_queue(struct request_queue *q, struct blk_mq_ctx *ctx) in blk_get_flush_queue() 41 static inline void __blk_get_queue(struct request_queue *q) in __blk_get_queue() 52 void blk_freeze_queue(struct request_queue *q); 54 static inline bool biovec_phys_mergeable(struct request_queue *q, in biovec_phys_mergeable() 70 static inline bool __bvec_gap_to_prev(struct request_queue *q, in __bvec_gap_to_prev() 81 static inline bool bvec_gap_to_prev(struct request_queue *q, in bvec_gap_to_prev() 112 bool blk_integrity_merge_rq(struct request_queue *, struct request *, 114 bool blk_integrity_merge_bio(struct request_queue *, struct request *, 140 static inline bool blk_integrity_merge_rq(struct request_queue *rq, in blk_integrity_merge_rq() 145 static inline bool blk_integrity_merge_bio(struct request_queue *rq, in blk_integrity_merge_bio() [all …]
|
D | blk-sysfs.c | 23 ssize_t (*show)(struct request_queue *, char *); 24 ssize_t (*store)(struct request_queue *, const char *, size_t); 61 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show() 67 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store() 89 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show() 98 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store() 111 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show() 118 static ssize_t queue_max_segments_show(struct request_queue *q, char *page) in queue_max_segments_show() 123 static ssize_t queue_max_discard_segments_show(struct request_queue *q, in queue_max_discard_segments_show() 129 static ssize_t queue_max_integrity_segments_show(struct request_queue *q, char *page) in queue_max_integrity_segments_show() [all …]
|
D | blk-mq.h | 35 struct request_queue *queue; 40 void blk_mq_exit_queue(struct request_queue *q); 41 int blk_mq_update_nr_requests(struct request_queue *q, unsigned int nr); 42 void blk_mq_wake_waiters(struct request_queue *q); 92 static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue *q, in blk_mq_map_queue_type() 105 static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q, in blk_mq_map_queue() 125 extern void blk_mq_sysfs_init(struct request_queue *q); 126 extern void blk_mq_sysfs_deinit(struct request_queue *q); 127 extern int __blk_mq_register_dev(struct device *dev, struct request_queue *q); 128 extern int blk_mq_sysfs_register(struct request_queue *q); [all …]
|
D | blk-rq-qos.h | 29 struct request_queue *q; 61 static inline struct rq_qos *rq_qos_id(struct request_queue *q, in rq_qos_id() 72 static inline struct rq_qos *wbt_rq_qos(struct request_queue *q) in wbt_rq_qos() 77 static inline struct rq_qos *blkcg_rq_qos(struct request_queue *q) in blkcg_rq_qos() 101 static inline void rq_qos_add(struct request_queue *q, struct rq_qos *rqos) in rq_qos_add() 123 static inline void rq_qos_del(struct request_queue *q, struct rq_qos *rqos) in rq_qos_del() 168 static inline void rq_qos_cleanup(struct request_queue *q, struct bio *bio) in rq_qos_cleanup() 174 static inline void rq_qos_done(struct request_queue *q, struct request *rq) in rq_qos_done() 180 static inline void rq_qos_issue(struct request_queue *q, struct request *rq) in rq_qos_issue() 186 static inline void rq_qos_requeue(struct request_queue *q, struct request *rq) in rq_qos_requeue() [all …]
|
D | blk-mq-sched.h | 11 bool blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio, 13 bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, 15 bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq, 28 int blk_mq_init_sched(struct request_queue *q, struct elevator_type *e); 29 void blk_mq_exit_sched(struct request_queue *q, struct elevator_queue *e); 30 void blk_mq_sched_free_requests(struct request_queue *q); 33 blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, in blk_mq_sched_bio_merge() 43 blk_mq_sched_allow_merge(struct request_queue *q, struct request *rq, in blk_mq_sched_allow_merge() 64 struct request_queue *q = rq->q; in blk_mq_sched_requeue_request()
|
D | blk-settings.c | 25 void blk_queue_rq_timeout(struct request_queue *q, unsigned int timeout) in blk_queue_rq_timeout() 102 void blk_queue_bounce_limit(struct request_queue *q, u64 max_addr) in blk_queue_bounce_limit() 149 void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors) in blk_queue_max_hw_sectors() 180 void blk_queue_chunk_sectors(struct request_queue *q, unsigned int chunk_sectors) in blk_queue_chunk_sectors() 191 void blk_queue_max_discard_sectors(struct request_queue *q, in blk_queue_max_discard_sectors() 204 void blk_queue_max_write_same_sectors(struct request_queue *q, in blk_queue_max_write_same_sectors() 217 void blk_queue_max_write_zeroes_sectors(struct request_queue *q, in blk_queue_max_write_zeroes_sectors() 229 void blk_queue_max_zone_append_sectors(struct request_queue *q, in blk_queue_max_zone_append_sectors() 260 void blk_queue_max_segments(struct request_queue *q, unsigned short max_segments) in blk_queue_max_segments() 281 void blk_queue_max_discard_segments(struct request_queue *q, in blk_queue_max_discard_segments() [all …]
|
D | elevator.c | 62 struct request_queue *q = rq->q; in elv_iosched_allow_bio_merge() 140 static struct elevator_type *elevator_get(struct request_queue *q, in elevator_get() 164 struct elevator_queue *elevator_alloc(struct request_queue *q, in elevator_alloc() 191 void __elevator_exit(struct request_queue *q, struct elevator_queue *e) in __elevator_exit() 206 void elv_rqhash_del(struct request_queue *q, struct request *rq) in elv_rqhash_del() 213 void elv_rqhash_add(struct request_queue *q, struct request *rq) in elv_rqhash_add() 223 void elv_rqhash_reposition(struct request_queue *q, struct request *rq) in elv_rqhash_reposition() 229 struct request *elv_rqhash_find(struct request_queue *q, sector_t offset) in elv_rqhash_find() 303 enum elv_merge elv_merge(struct request_queue *q, struct request **req, in elv_merge() 359 bool elv_attempt_insert_merge(struct request_queue *q, struct request *rq, in elv_attempt_insert_merge() [all …]
|
D | blk-pm.c | 31 void blk_pm_runtime_init(struct request_queue *q, struct device *dev) in blk_pm_runtime_init() 61 int blk_pre_runtime_suspend(struct request_queue *q) in blk_pre_runtime_suspend() 122 void blk_post_runtime_suspend(struct request_queue *q, int err) in blk_post_runtime_suspend() 152 void blk_pre_runtime_resume(struct request_queue *q) in blk_pre_runtime_resume() 176 void blk_post_runtime_resume(struct request_queue *q) in blk_post_runtime_resume() 199 void blk_set_runtime_active(struct request_queue *q) in blk_set_runtime_active()
|
D | blk-merge.c | 16 static inline bool bio_will_gap(struct request_queue *q, in bio_will_gap() 62 static struct bio *blk_bio_discard_split(struct request_queue *q, in blk_bio_discard_split() 106 static struct bio *blk_bio_write_zeroes_split(struct request_queue *q, in blk_bio_write_zeroes_split() 120 static struct bio *blk_bio_write_same_split(struct request_queue *q, in blk_bio_write_same_split() 144 static inline unsigned get_max_io_size(struct request_queue *q, in get_max_io_size() 161 static inline unsigned get_max_segment_size(const struct request_queue *q, in get_max_segment_size() 197 static bool bvec_split_segs(const struct request_queue *q, in bvec_split_segs() 245 static struct bio *blk_bio_segment_split(struct request_queue *q, in blk_bio_segment_split() 300 struct request_queue *q = (*bio)->bi_disk->queue; in __blk_queue_split() 417 static unsigned blk_bvec_map_sg(struct request_queue *q, in blk_bvec_map_sg() [all …]
|
D | blk-mq-sched.c | 23 struct request_queue *q = rq->q; in blk_mq_sched_assign_ioc() 120 struct request_queue *q = hctx->queue; in __blk_mq_do_dispatch_sched() 227 struct request_queue *q = hctx->queue; in blk_mq_do_dispatch_ctx() 277 struct request_queue *q = hctx->queue; in __blk_mq_sched_dispatch_requests() 330 struct request_queue *q = hctx->queue; in blk_mq_sched_dispatch_requests() 348 bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, in __blk_mq_sched_bio_merge() 384 bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq, in blk_mq_sched_try_insert_merge() 424 struct request_queue *q = rq->q; in blk_mq_sched_insert_request() 479 struct request_queue *q = hctx->queue; in blk_mq_sched_insert_requests() 510 static int blk_mq_sched_alloc_tags(struct request_queue *q, in blk_mq_sched_alloc_tags() [all …]
|
D | blk-mq-sysfs.c | 65 struct request_queue *q; in blk_mq_sysfs_show() 86 struct request_queue *q; in blk_mq_sysfs_store() 107 struct request_queue *q; in blk_mq_hw_sysfs_show() 129 struct request_queue *q; in blk_mq_hw_sysfs_store() 243 struct request_queue *q = hctx->queue; in blk_mq_register_hctx() 263 void blk_mq_unregister_dev(struct device *dev, struct request_queue *q) in blk_mq_unregister_dev() 285 void blk_mq_sysfs_deinit(struct request_queue *q) in blk_mq_sysfs_deinit() 297 void blk_mq_sysfs_init(struct request_queue *q) in blk_mq_sysfs_init() 312 int __blk_mq_register_dev(struct device *dev, struct request_queue *q) in __blk_mq_register_dev() 347 void blk_mq_sysfs_unregister(struct request_queue *q) in blk_mq_sysfs_unregister() [all …]
|
D | blk-mq-debugfs.c | 29 struct request_queue *q = data; in queue_poll_stat_show() 47 struct request_queue *q = m->private; in queue_requeue_list_start() 55 struct request_queue *q = m->private; in queue_requeue_list_next() 63 struct request_queue *q = m->private; in queue_requeue_list_stop() 97 struct request_queue *q = data; in queue_pm_only_show() 139 struct request_queue *q = data; in queue_state_show() 150 struct request_queue *q = data; in queue_state_write() 186 struct request_queue *q = data; in queue_write_hint_show() 198 struct request_queue *q = data; in queue_write_hint_store() 469 struct request_queue *q = hctx->queue; in hctx_tags_show() [all …]
|
D | mq-deadline.c | 109 static void deadline_remove_request(struct request_queue *q, struct request *rq) in deadline_remove_request() 126 static void dd_request_merged(struct request_queue *q, struct request *req, in dd_request_merged() 140 static void dd_merged_requests(struct request_queue *q, struct request *req, in dd_merged_requests() 408 static int dd_init_queue(struct request_queue *q, struct elevator_type *e) in dd_init_queue() 441 static int dd_request_merge(struct request_queue *q, struct request **rq, in dd_request_merge() 466 static bool dd_bio_merge(struct request_queue *q, struct bio *bio, in dd_bio_merge() 489 struct request_queue *q = hctx->queue; in dd_insert_request() 532 struct request_queue *q = hctx->queue; in dd_insert_requests() 571 struct request_queue *q = rq->q; in dd_finish_request() 671 struct request_queue *q = m->private; \ [all …]
|
D | blk-pm.h | 9 static inline int blk_pm_resume_queue(const bool pm, struct request_queue *q) in blk_pm_resume_queue() 33 static inline void blk_pm_add_request(struct request_queue *q, in blk_pm_add_request() 50 static inline int blk_pm_resume_queue(const bool pm, struct request_queue *q) in blk_pm_resume_queue() 63 static inline void blk_pm_add_request(struct request_queue *q, in blk_pm_add_request()
|
/kernel/linux/linux-5.10/include/linux/ |
D | elevator.h | 30 int (*init_sched)(struct request_queue *, struct elevator_type *); 36 bool (*allow_merge)(struct request_queue *, struct request *, struct bio *); 37 bool (*bio_merge)(struct request_queue *, struct bio *, unsigned int); 38 int (*request_merge)(struct request_queue *q, struct request **, struct bio *); 39 void (*request_merged)(struct request_queue *, struct request *, enum elv_merge); 40 void (*requests_merged)(struct request_queue *, struct request *, struct request *); 49 struct request *(*former_request)(struct request_queue *, struct request *); 50 struct request *(*next_request)(struct request_queue *, struct request *); 93 void elv_rqhash_del(struct request_queue *q, struct request *rq); 94 void elv_rqhash_add(struct request_queue *q, struct request *rq); [all …]
|
D | blkdev.h | 33 struct request_queue; 136 struct request_queue *q; 404 struct request_queue { struct 640 void blk_queue_flag_set(unsigned int flag, struct request_queue *q); 641 void blk_queue_flag_clear(unsigned int flag, struct request_queue *q); 642 bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q); 682 extern void blk_set_pm_only(struct request_queue *q); 683 extern void blk_clear_pm_only(struct request_queue *q); 701 static inline bool queue_is_mq(struct request_queue *q) in queue_is_mq() 707 static inline enum rpm_status queue_rpm_status(struct request_queue *q) in queue_rpm_status() [all …]
|
D | blk-mq.h | 64 struct request_queue *queue; 313 bool (*get_budget)(struct request_queue *); 318 void (*put_budget)(struct request_queue *); 375 bool (*busy)(struct request_queue *); 430 struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *); 431 struct request_queue *blk_mq_init_queue_data(struct blk_mq_tag_set *set, 433 struct request_queue *blk_mq_init_allocated_queue(struct blk_mq_tag_set *set, 434 struct request_queue *q, 436 struct request_queue *blk_mq_init_sq_queue(struct blk_mq_tag_set *set, 440 void blk_mq_unregister_dev(struct device *, struct request_queue *); [all …]
|
D | blk-pm.h | 7 struct request_queue; 13 extern void blk_pm_runtime_init(struct request_queue *q, struct device *dev); 14 extern int blk_pre_runtime_suspend(struct request_queue *q); 15 extern void blk_post_runtime_suspend(struct request_queue *q, int err); 16 extern void blk_pre_runtime_resume(struct request_queue *q); 17 extern void blk_post_runtime_resume(struct request_queue *q); 18 extern void blk_set_runtime_active(struct request_queue *q); 20 static inline void blk_pm_runtime_init(struct request_queue *q, in blk_pm_runtime_init()
|
D | bsg.h | 21 struct request_queue *queue; 25 int bsg_register_queue(struct request_queue *q, struct device *parent, 27 int bsg_scsi_register_queue(struct request_queue *q, struct device *parent); 28 void bsg_unregister_queue(struct request_queue *q); 30 static inline int bsg_scsi_register_queue(struct request_queue *q, in bsg_scsi_register_queue() 35 static inline void bsg_unregister_queue(struct request_queue *q) in bsg_unregister_queue()
|
D | blk-cgroup.h | 107 struct request_queue *q; 144 struct request_queue *q, struct blkcg *blkcg); 179 struct request_queue *q, bool update_hint); 180 int blkcg_init_queue(struct request_queue *q); 181 void blkcg_exit_queue(struct request_queue *q); 186 int blkcg_activate_policy(struct request_queue *q, 188 void blkcg_deactivate_policy(struct request_queue *q, 327 struct request_queue *q, in __blkg_lookup() 351 struct request_queue *q) in blkg_lookup() 363 static inline struct blkcg_gq *blk_queue_root_blkg(struct request_queue *q) in blk_queue_root_blkg() [all …]
|
D | blktrace_api.h | 35 extern void blk_trace_shutdown(struct request_queue *); 66 static inline bool blk_trace_note_message_enabled(struct request_queue *q) in blk_trace_note_message_enabled() 78 extern void blk_add_driver_data(struct request_queue *q, struct request *rq, 80 extern int blk_trace_setup(struct request_queue *q, char *name, dev_t dev, 83 extern int blk_trace_startstop(struct request_queue *q, int start); 84 extern int blk_trace_remove(struct request_queue *q);
|
/kernel/linux/linux-5.10/include/scsi/ |
D | scsi_dh.h | 65 extern int scsi_dh_activate(struct request_queue *, activate_complete, void *); 66 extern int scsi_dh_attach(struct request_queue *, const char *); 67 extern const char *scsi_dh_attached_handler_name(struct request_queue *, gfp_t); 68 extern int scsi_dh_set_params(struct request_queue *, const char *); 70 static inline int scsi_dh_activate(struct request_queue *req, in scsi_dh_activate() 76 static inline int scsi_dh_attach(struct request_queue *req, const char *name) in scsi_dh_attach() 80 static inline const char *scsi_dh_attached_handler_name(struct request_queue *q, in scsi_dh_attached_handler_name() 85 static inline int scsi_dh_set_params(struct request_queue *req, const char *params) in scsi_dh_set_params()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | block.h | 76 TP_PROTO(struct request_queue *q, struct request *rq), 150 TP_PROTO(struct request_queue *q, struct request *rq), 194 TP_PROTO(struct request_queue *q, struct request *rq), 209 TP_PROTO(struct request_queue *q, struct request *rq), 224 TP_PROTO(struct request_queue *q, struct request *rq), 242 TP_PROTO(struct request_queue *q, struct bio *bio), 278 TP_PROTO(struct request_queue *q, struct bio *bio), 306 TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), 343 TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), 359 TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), [all …]
|