/block/ |
D | blk-sysfs.c | 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() 134 static ssize_t queue_max_segment_size_show(struct request_queue *q, char *page) in queue_max_segment_size_show() 139 static ssize_t queue_logical_block_size_show(struct request_queue *q, char *page) in queue_logical_block_size_show() [all …]
|
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() local 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() 358 bool elv_attempt_insert_merge(struct request_queue *q, struct request *rq) in elv_attempt_insert_merge() [all …]
|
D | blk-rq-qos.h | 30 struct request_queue *q; member 62 static inline struct rq_qos *rq_qos_id(struct request_queue *q, in rq_qos_id() 73 static inline struct rq_qos *wbt_rq_qos(struct request_queue *q) in wbt_rq_qos() 78 static inline struct rq_qos *blkcg_rq_qos(struct request_queue *q) in blkcg_rq_qos() 89 static inline void rq_qos_add(struct request_queue *q, struct rq_qos *rqos) in rq_qos_add() 111 static inline void rq_qos_del(struct request_queue *q, struct rq_qos *rqos) in rq_qos_del() 156 static inline void rq_qos_cleanup(struct request_queue *q, struct bio *bio) in rq_qos_cleanup() 162 static inline void rq_qos_done(struct request_queue *q, struct request *rq) in rq_qos_done() 168 static inline void rq_qos_issue(struct request_queue *q, struct request *rq) in rq_qos_issue() 174 static inline void rq_qos_requeue(struct request_queue *q, struct request *rq) in rq_qos_requeue() [all …]
|
D | blk-mq-debugfs.h | 39 static inline void blk_mq_debugfs_register(struct request_queue *q) in blk_mq_debugfs_register() 43 static inline void blk_mq_debugfs_unregister(struct request_queue *q) in blk_mq_debugfs_unregister() 47 static inline void blk_mq_debugfs_register_hctx(struct request_queue *q, in blk_mq_debugfs_register_hctx() 56 static inline void blk_mq_debugfs_register_hctxs(struct request_queue *q) in blk_mq_debugfs_register_hctxs() 60 static inline void blk_mq_debugfs_unregister_hctxs(struct request_queue *q) in blk_mq_debugfs_unregister_hctxs() 64 static inline void blk_mq_debugfs_register_sched(struct request_queue *q) in blk_mq_debugfs_register_sched() 68 static inline void blk_mq_debugfs_unregister_sched(struct request_queue *q) in blk_mq_debugfs_unregister_sched() 72 static inline void blk_mq_debugfs_register_sched_hctx(struct request_queue *q, in blk_mq_debugfs_register_sched_hctx() 89 static inline void blk_mq_debugfs_unregister_queue_rqos(struct request_queue *q) in blk_mq_debugfs_unregister_queue_rqos()
|
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 | 19 static inline bool bio_will_gap(struct request_queue *q, in bio_will_gap() 65 static struct bio *blk_bio_discard_split(struct request_queue *q, in blk_bio_discard_split() 109 static struct bio *blk_bio_write_zeroes_split(struct request_queue *q, in blk_bio_write_zeroes_split() 123 static struct bio *blk_bio_write_same_split(struct request_queue *q, in blk_bio_write_same_split() 147 static inline unsigned get_max_io_size(struct request_queue *q, in get_max_io_size() 164 static inline unsigned get_max_segment_size(const struct request_queue *q, in get_max_segment_size() 200 static bool bvec_split_segs(const struct request_queue *q, in bvec_split_segs() 248 static struct bio *blk_bio_segment_split(struct request_queue *q, in blk_bio_segment_split() 303 struct request_queue *q = (*bio)->bi_disk->queue; in __blk_queue_split() local 420 static unsigned blk_bvec_map_sg(struct request_queue *q, in blk_bvec_map_sg() [all …]
|
D | blk-mq.c | 117 unsigned int blk_mq_in_flight(struct request_queue *q, struct hd_struct *part) in blk_mq_in_flight() 126 void blk_mq_in_flight_rw(struct request_queue *q, struct hd_struct *part, in blk_mq_in_flight_rw() 136 void blk_freeze_queue_start(struct request_queue *q) in blk_freeze_queue_start() 150 void blk_mq_freeze_queue_wait(struct request_queue *q) in blk_mq_freeze_queue_wait() 156 int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, in blk_mq_freeze_queue_wait_timeout() 169 void blk_freeze_queue(struct request_queue *q) in blk_freeze_queue() 182 void blk_mq_freeze_queue(struct request_queue *q) in blk_mq_freeze_queue() 192 void blk_mq_unfreeze_queue(struct request_queue *q) in blk_mq_unfreeze_queue() 209 void blk_mq_quiesce_queue_nowait(struct request_queue *q) in blk_mq_quiesce_queue_nowait() 224 void blk_mq_quiesce_queue(struct request_queue *q) in blk_mq_quiesce_queue() [all …]
|
D | blk-mq-sched.c | 23 struct request_queue *q = rq->q; in blk_mq_sched_assign_ioc() local 118 struct request_queue *q = hctx->queue; in __blk_mq_do_dispatch_sched() local 232 struct request_queue *q = hctx->queue; in blk_mq_do_dispatch_ctx() local 282 struct request_queue *q = hctx->queue; in __blk_mq_sched_dispatch_requests() local 335 struct request_queue *q = hctx->queue; in blk_mq_sched_dispatch_requests() local 353 bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, in __blk_mq_sched_bio_merge() 389 bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq) in blk_mq_sched_try_insert_merge() 429 struct request_queue *q = rq->q; in blk_mq_sched_insert_request() local 487 struct request_queue *q = hctx->queue; in blk_mq_sched_insert_requests() local 531 static int blk_mq_sched_alloc_tags(struct request_queue *q, in blk_mq_sched_alloc_tags() [all …]
|
D | blk.h | 37 blk_get_flush_queue(struct request_queue *q, struct blk_mq_ctx *ctx) in blk_get_flush_queue() 42 static inline void __blk_get_queue(struct request_queue *q) in __blk_get_queue() 55 static inline bool biovec_phys_mergeable(struct request_queue *q, in biovec_phys_mergeable() 71 static inline bool __bvec_gap_to_prev(struct request_queue *q, in __bvec_gap_to_prev() 82 static inline bool bvec_gap_to_prev(struct request_queue *q, in bvec_gap_to_prev() 211 static inline void elevator_exit(struct request_queue *q, in elevator_exit() 259 static inline void req_set_nomerge(struct request_queue *q, struct request *req) in req_set_nomerge() 271 static inline unsigned int bio_allowed_max_sectors(struct request_queue *q) in bio_allowed_max_sectors() 284 struct request_queue *q) in bio_aligned_discard_max_sectors() 311 static inline int blk_throtl_init(struct request_queue *q) { return 0; } in blk_throtl_init() [all …]
|
D | blk-core.c | 89 void blk_queue_flag_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_set() 100 void blk_queue_flag_clear(unsigned int flag, struct request_queue *q) in blk_queue_flag_clear() 114 bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_test_and_set() 120 void blk_rq_init(struct request_queue *q, struct request *rq) in blk_rq_init() 307 void blk_sync_queue(struct request_queue *q) in blk_sync_queue() 318 void blk_set_pm_only(struct request_queue *q) in blk_set_pm_only() 324 void blk_clear_pm_only(struct request_queue *q) in blk_clear_pm_only() 345 void blk_put_queue(struct request_queue *q) in blk_put_queue() 351 void blk_set_queue_dying(struct request_queue *q) in blk_set_queue_dying() 379 void blk_cleanup_queue(struct request_queue *q) in blk_cleanup_queue() [all …]
|
D | scsi_ioctl.c | 46 static int scsi_get_idlun(struct request_queue *q, int __user *p) in scsi_get_idlun() 51 static int scsi_get_bus(struct request_queue *q, int __user *p) in scsi_get_bus() 56 static int sg_get_timeout(struct request_queue *q) in sg_get_timeout() 61 static int sg_set_timeout(struct request_queue *q, int __user *p) in sg_set_timeout() 71 static int max_sectors_bytes(struct request_queue *q) in max_sectors_bytes() 80 static int sg_get_reserved_size(struct request_queue *q, int __user *p) in sg_get_reserved_size() 87 static int sg_set_reserved_size(struct request_queue *q, int __user *p) in sg_set_reserved_size() 105 static int sg_emulated_host(struct request_queue *q, int __user *p) in sg_emulated_host() 220 static int blk_fill_sghdr_rq(struct request_queue *q, struct request *rq, in blk_fill_sghdr_rq() 282 static int sg_io(struct request_queue *q, struct gendisk *bd_disk, in sg_io() [all …]
|
D | blk-mq-sysfs.c | 65 struct request_queue *q; in blk_mq_sysfs_show() local 86 struct request_queue *q; in blk_mq_sysfs_store() local 107 struct request_queue *q; in blk_mq_hw_sysfs_show() local 129 struct request_queue *q; in blk_mq_hw_sysfs_store() local 243 struct request_queue *q = hctx->queue; in blk_mq_register_hctx() local 270 void blk_mq_unregister_dev(struct device *dev, struct request_queue *q) in blk_mq_unregister_dev() 292 void blk_mq_sysfs_deinit(struct request_queue *q) in blk_mq_sysfs_deinit() 304 void blk_mq_sysfs_init(struct request_queue *q) in blk_mq_sysfs_init() 319 int __blk_mq_register_dev(struct device *dev, struct request_queue *q) in __blk_mq_register_dev() 354 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() local 47 struct request_queue *q = m->private; in queue_requeue_list_start() local 55 struct request_queue *q = m->private; in queue_requeue_list_next() local 63 struct request_queue *q = m->private; in queue_requeue_list_stop() local 97 struct request_queue *q = data; in queue_pm_only_show() local 139 struct request_queue *q = data; in queue_state_show() local 150 struct request_queue *q = data; in queue_state_write() local 186 struct request_queue *q = data; in queue_write_hint_show() local 198 struct request_queue *q = data; in queue_write_hint_store() local 469 struct request_queue *q = hctx->queue; in hctx_tags_show() local [all …]
|
D | blk-mq.h | 94 static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue *q, in blk_mq_map_queue_type() 107 static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q, in blk_mq_map_queue() 136 static inline struct blk_mq_ctx *__blk_mq_get_ctx(struct request_queue *q, in __blk_mq_get_ctx() 148 static inline struct blk_mq_ctx *blk_mq_get_ctx(struct request_queue *q) in blk_mq_get_ctx() 155 struct request_queue *q; member 192 static inline void blk_mq_put_dispatch_budget(struct request_queue *q) in blk_mq_put_dispatch_budget() 198 static inline bool blk_mq_get_dispatch_budget(struct request_queue *q) in blk_mq_get_dispatch_budget() 273 static inline struct blk_plug *blk_mq_plug(struct request_queue *q, in blk_mq_plug() 306 struct request_queue *q = hctx->queue; in hctx_may_queue() local
|
D | blk-wbt.h | 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() 117 static inline void wbt_set_write_cache(struct request_queue *q, bool wc) in wbt_set_write_cache() 120 static inline u64 wbt_get_min_lat(struct request_queue *q) in wbt_get_min_lat() 124 static inline void wbt_set_min_lat(struct request_queue *q, u64 val) in wbt_set_min_lat() 127 static inline u64 wbt_default_latency_nsec(struct request_queue *q) in wbt_default_latency_nsec()
|
D | blk-pm.h | 9 static inline void blk_pm_request_resume(struct request_queue *q) in blk_pm_request_resume() 30 static inline void blk_pm_add_request(struct request_queue *q, in blk_pm_add_request() 47 static inline void blk_pm_request_resume(struct request_queue *q) in blk_pm_request_resume() 59 static inline void blk_pm_add_request(struct request_queue *q, in blk_pm_add_request()
|
D | blk-ioc.c | 63 struct request_queue *q = icq->q; in ioc_destroy_icq() local 104 struct request_queue *q = icq->q; in ioc_release_fn() local 239 void ioc_clear_queue(struct request_queue *q) in ioc_clear_queue() 332 struct io_cq *ioc_lookup_icq(struct io_context *ioc, struct request_queue *q) in ioc_lookup_icq() 372 struct io_cq *ioc_create_icq(struct io_context *ioc, struct request_queue *q, in ioc_create_icq()
|
D | blk-cgroup.c | 61 static bool blkcg_policy_enabled(struct request_queue *q, in blkcg_policy_enabled() 151 static struct blkcg_gq *blkg_alloc(struct blkcg *blkcg, struct request_queue *q, in blkg_alloc() 205 struct request_queue *q, bool update_hint) in blkg_lookup_slowpath() 233 struct request_queue *q, in blkg_create() 327 struct request_queue *q) in blkg_lookup_create() 424 static void blkg_destroy_all(struct request_queue *q) in blkg_destroy_all() 549 struct request_queue *q) in blkg_lookup_check() 614 struct request_queue *q; in blkg_conf_prep() local 1028 struct request_queue *q = blkg->q; in blkcg_destroy_blkgs() local 1160 int blkcg_init_queue(struct request_queue *q) in blkcg_init_queue() [all …]
|
D | mq-deadline-main.c | 192 static void deadline_remove_request(struct request_queue *q, in deadline_remove_request() 209 static void dd_request_merged(struct request_queue *q, struct request *req, in dd_request_merged() 229 static void dd_merged_requests(struct request_queue *q, struct request *req, in dd_merged_requests() 549 struct request_queue *q = hctx->queue; in dd_depth_updated() local 588 static int dd_init_sched(struct request_queue *q, struct elevator_type *e) in dd_init_sched() 660 static int dd_request_merge(struct request_queue *q, struct request **rq, in dd_request_merge() 692 static bool dd_bio_merge(struct request_queue *q, struct bio *bio, in dd_bio_merge() 715 struct request_queue *q = hctx->queue; in dd_insert_request() local 777 struct request_queue *q = hctx->queue; in dd_insert_requests() local 827 struct request_queue *q = rq->q; in dd_finish_request() local [all …]
|
D | blk-zoned.c | 55 static inline sector_t blk_zone_start(struct request_queue *q, in blk_zone_start() 206 struct request_queue *q = bdev_get_queue(bdev); in blkdev_zone_mgmt() local 285 struct request_queue *q; in blkdev_report_zones_ioctl() local 342 struct request_queue *q; in blkdev_zone_mgmt_ioctl() local 408 void blk_queue_free_zone_bitmaps(struct request_queue *q) in blk_queue_free_zone_bitmaps() 433 struct request_queue *q = disk->queue; in blk_revalidate_zone_cb() local 517 struct request_queue *q = disk->queue; in blk_revalidate_disk_zones() local
|
D | blk-mq-sched.h | 32 blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, in blk_mq_sched_bio_merge() 42 blk_mq_sched_allow_merge(struct request_queue *q, struct request *rq, in blk_mq_sched_allow_merge() 63 struct request_queue *q = rq->q; in blk_mq_sched_requeue_request() local
|
D | blk-flush.c | 168 struct request_queue *q = rq->q; in blk_flush_complete_seq() local 217 struct request_queue *q = flush_rq->q; in flush_end_io() local 286 static void blk_kick_flush(struct request_queue *q, struct blk_flush_queue *fq, in blk_kick_flush() 354 struct request_queue *q = rq->q; in mq_flush_data_end_io() local 387 struct request_queue *q = rq->q; in blk_insert_flush() local
|
D | blk-stat.c | 53 struct request_queue *q = rq->q; in blk_stat_add() local 136 void blk_stat_add_callback(struct request_queue *q, in blk_stat_add_callback() 157 void blk_stat_remove_callback(struct request_queue *q, in blk_stat_remove_callback() 187 void blk_stat_enable_accounting(struct request_queue *q) in blk_stat_enable_accounting()
|
D | bsg.c | 136 static int bsg_sg_io(struct request_queue *q, fmode_t mode, void __user *uarg) in bsg_sg_io() 215 struct request_queue *q = bd->queue; in bsg_put_device() local 267 static struct bsg_device *__bsg_get_device(int minor, struct request_queue *q) in __bsg_get_device() 403 void bsg_unregister_queue(struct request_queue *q) in bsg_unregister_queue() 420 int bsg_register_queue(struct request_queue *q, struct device *parent, in bsg_register_queue() 477 int bsg_scsi_register_queue(struct request_queue *q, struct device *parent) in bsg_scsi_register_queue()
|