/linux-4.19.296/include/linux/ |
D | elevator.h | 26 typedef enum elv_merge (elevator_merge_fn) (struct request_queue *, struct request **, 29 typedef void (elevator_merge_req_fn) (struct request_queue *, struct request *, struct request *); 31 typedef void (elevator_merged_fn) (struct request_queue *, struct request *, enum elv_merge); 33 typedef int (elevator_allow_bio_merge_fn) (struct request_queue *, 36 typedef int (elevator_allow_rq_merge_fn) (struct request_queue *, 39 typedef void (elevator_bio_merged_fn) (struct request_queue *, 42 typedef int (elevator_dispatch_fn) (struct request_queue *, int); 44 typedef void (elevator_add_req_fn) (struct request_queue *, struct request *); 45 typedef struct request *(elevator_request_list_fn) (struct request_queue *, struct request *); 46 typedef void (elevator_completed_req_fn) (struct request_queue *, struct request *); [all …]
|
D | blkdev.h | 34 struct request_queue; 73 struct request_queue *q; /* the queue this rl belongs to */ 159 struct request_queue *q; 322 typedef void (request_fn_proc) (struct request_queue *q); 323 typedef blk_qc_t (make_request_fn) (struct request_queue *q, struct bio *bio); 324 typedef bool (poll_q_fn) (struct request_queue *q, blk_qc_t); 325 typedef int (prep_rq_fn) (struct request_queue *, struct request *); 326 typedef void (unprep_rq_fn) (struct request_queue *, struct request *); 331 typedef int (lld_busy_fn) (struct request_queue *q); 333 typedef int (init_rq_fn)(struct request_queue *, struct request *, gfp_t); [all …]
|
D | blk-mq.h | 30 struct request_queue *queue; 210 struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *); 211 struct request_queue *blk_mq_init_allocated_queue(struct blk_mq_tag_set *set, 212 struct request_queue *q); 213 int blk_mq_register_dev(struct device *, struct request_queue *); 214 void blk_mq_unregister_dev(struct device *, struct request_queue *); 235 struct request *blk_mq_alloc_request(struct request_queue *q, unsigned int op, 237 struct request *blk_mq_alloc_request_hctx(struct request_queue *q, 268 void blk_mq_kick_requeue_list(struct request_queue *q); 269 void blk_mq_delay_kick_requeue_list(struct request_queue *q, unsigned long msecs); [all …]
|
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 | 112 struct request_queue *q; 187 struct request_queue *q, bool update_hint); 189 struct request_queue *q); 190 int blkcg_init_queue(struct request_queue *q); 191 void blkcg_drain_queue(struct request_queue *q); 192 void blkcg_exit_queue(struct request_queue *q); 197 int blkcg_activate_policy(struct request_queue *q, 199 void blkcg_deactivate_policy(struct request_queue *q, 311 struct request_queue *q, in __blkg_lookup() 336 struct request_queue *q) in blkg_lookup() [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);
|
/linux-4.19.296/block/ |
D | blk.h | 52 static inline void queue_lockdep_assert_held(struct request_queue *q) in queue_lockdep_assert_held() 59 struct request_queue *q) in queue_flag_set_unlocked() 68 struct request_queue *q) in queue_flag_clear_unlocked() 77 struct request_queue *q) in queue_flag_test_and_clear() 90 struct request_queue *q) in queue_flag_test_and_set() 102 static inline void queue_flag_set(unsigned int flag, struct request_queue *q) in queue_flag_set() 108 static inline void queue_flag_clear(unsigned int flag, struct request_queue *q) in queue_flag_clear() 115 struct request_queue *q, struct blk_mq_ctx *ctx) in blk_get_flush_queue() 122 static inline void __blk_get_queue(struct request_queue *q) in __blk_get_queue() 133 struct blk_flush_queue *blk_alloc_flush_queue(struct request_queue *q, [all …]
|
D | blk-wbt.h | 91 int wbt_init(struct request_queue *); 92 void wbt_update_limits(struct request_queue *); 93 void wbt_disable_default(struct request_queue *); 94 void wbt_enable_default(struct request_queue *); 96 u64 wbt_get_min_lat(struct request_queue *q); 97 void wbt_set_min_lat(struct request_queue *q, u64 val); 99 void wbt_set_queue_depth(struct request_queue *, unsigned int); 100 void wbt_set_write_cache(struct request_queue *, bool); 102 u64 wbt_default_latency_nsec(struct request_queue *); 109 static inline int wbt_init(struct request_queue *q) in wbt_init() [all …]
|
D | blk-mq-debugfs.h | 21 int blk_mq_debugfs_register(struct request_queue *q); 22 void blk_mq_debugfs_unregister(struct request_queue *q); 23 int blk_mq_debugfs_register_hctx(struct request_queue *q, 26 int blk_mq_debugfs_register_hctxs(struct request_queue *q); 27 void blk_mq_debugfs_unregister_hctxs(struct request_queue *q); 29 int blk_mq_debugfs_register_sched(struct request_queue *q); 30 void blk_mq_debugfs_unregister_sched(struct request_queue *q); 31 int blk_mq_debugfs_register_sched_hctx(struct request_queue *q, 35 static inline int blk_mq_debugfs_register(struct request_queue *q) in blk_mq_debugfs_register() 40 static inline void blk_mq_debugfs_unregister(struct request_queue *q) in blk_mq_debugfs_unregister() [all …]
|
D | blk-mq.h | 29 struct request_queue *queue; 33 void blk_mq_freeze_queue(struct request_queue *q); 34 void blk_mq_exit_queue(struct request_queue *q); 35 int blk_mq_update_nr_requests(struct request_queue *q, unsigned int nr); 36 void blk_mq_wake_waiters(struct request_queue *q); 37 bool blk_mq_dispatch_rq_list(struct request_queue *, struct list_head *, bool); 75 static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q, in blk_mq_map_queue() 84 extern void blk_mq_sysfs_init(struct request_queue *q); 85 extern void blk_mq_sysfs_deinit(struct request_queue *q); 86 extern int __blk_mq_register_dev(struct device *dev, struct request_queue *q); [all …]
|
D | blk-rq-qos.h | 22 struct request_queue *q; 48 static inline struct rq_qos *rq_qos_id(struct request_queue *q, in rq_qos_id() 59 static inline struct rq_qos *wbt_rq_qos(struct request_queue *q) in wbt_rq_qos() 64 static inline struct rq_qos *blkcg_rq_qos(struct request_queue *q) in blkcg_rq_qos() 75 static inline void rq_qos_add(struct request_queue *q, struct rq_qos *rqos) in rq_qos_add() 81 static inline void rq_qos_del(struct request_queue *q, struct rq_qos *rqos) in rq_qos_del() 98 void rq_qos_cleanup(struct request_queue *, struct bio *); 99 void rq_qos_done(struct request_queue *, struct request *); 100 void rq_qos_issue(struct request_queue *, struct request *); 101 void rq_qos_requeue(struct request_queue *, struct request *); [all …]
|
D | blk-sysfs.c | 22 ssize_t (*show)(struct request_queue *, char *); 23 ssize_t (*store)(struct request_queue *, const char *, size_t); 60 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show() 66 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store() 92 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show() 101 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store() 114 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show() 121 static ssize_t queue_max_segments_show(struct request_queue *q, char *page) in queue_max_segments_show() 126 static ssize_t queue_max_discard_segments_show(struct request_queue *q, in queue_max_discard_segments_show() 132 static ssize_t queue_max_integrity_segments_show(struct request_queue *q, char *page) in queue_max_integrity_segments_show() [all …]
|
D | blk-mq-sched.h | 8 void blk_mq_sched_free_hctx_data(struct request_queue *q, 14 bool blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio, 16 bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio); 17 bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq); 23 void blk_mq_sched_insert_requests(struct request_queue *q, 29 int blk_mq_init_sched(struct request_queue *q, struct elevator_type *e); 30 void blk_mq_exit_sched(struct request_queue *q, struct elevator_queue *e); 33 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_started_request() [all …]
|
D | blk-settings.c | 34 void blk_queue_prep_rq(struct request_queue *q, prep_rq_fn *pfn) in blk_queue_prep_rq() 51 void blk_queue_unprep_rq(struct request_queue *q, unprep_rq_fn *ufn) in blk_queue_unprep_rq() 57 void blk_queue_softirq_done(struct request_queue *q, softirq_done_fn *fn) in blk_queue_softirq_done() 63 void blk_queue_rq_timeout(struct request_queue *q, unsigned int timeout) in blk_queue_rq_timeout() 69 void blk_queue_rq_timed_out(struct request_queue *q, rq_timed_out_fn *fn) in blk_queue_rq_timed_out() 76 void blk_queue_lld_busy(struct request_queue *q, lld_busy_fn *fn) in blk_queue_lld_busy() 163 void blk_queue_make_request(struct request_queue *q, make_request_fn *mfn) in blk_queue_make_request() 190 void blk_queue_bounce_limit(struct request_queue *q, u64 max_addr) in blk_queue_bounce_limit() 237 void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors) in blk_queue_max_hw_sectors() 269 void blk_queue_chunk_sectors(struct request_queue *q, unsigned int chunk_sectors) in blk_queue_chunk_sectors() [all …]
|
D | elevator.c | 60 struct request_queue *q = rq->q; in elv_iosched_allow_bio_merge() 116 static struct elevator_type *elevator_get(struct request_queue *q, in elevator_get() 174 struct elevator_queue *elevator_alloc(struct request_queue *q, in elevator_alloc() 207 int elevator_init(struct request_queue *q) in elevator_init() 243 void elevator_exit(struct request_queue *q, struct elevator_queue *e) in elevator_exit() 261 void elv_rqhash_del(struct request_queue *q, struct request *rq) in elv_rqhash_del() 268 void elv_rqhash_add(struct request_queue *q, struct request *rq) in elv_rqhash_add() 278 void elv_rqhash_reposition(struct request_queue *q, struct request *rq) in elv_rqhash_reposition() 284 struct request *elv_rqhash_find(struct request_queue *q, sector_t offset) in elv_rqhash_find() 363 void elv_dispatch_sort(struct request_queue *q, struct request *rq) in elv_dispatch_sort() [all …]
|
D | blk-core.c | 79 void blk_queue_flag_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_set() 94 void blk_queue_flag_clear(unsigned int flag, struct request_queue *q) in blk_queue_flag_clear() 112 bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_test_and_set() 133 bool blk_queue_flag_test_and_clear(unsigned int flag, struct request_queue *q) in blk_queue_flag_test_and_clear() 171 void blk_queue_congestion_threshold(struct request_queue *q) in blk_queue_congestion_threshold() 186 void blk_rq_init(struct request_queue *q, struct request *rq) in blk_rq_init() 297 struct request_queue *q; in blk_delay_work() 299 q = container_of(work, struct request_queue, delay_work.work); in blk_delay_work() 315 void blk_delay_queue(struct request_queue *q, unsigned long msecs) in blk_delay_queue() 335 void blk_start_queue_async(struct request_queue *q) in blk_start_queue_async() [all …]
|
D | blk-rq-qos.c | 30 void rq_qos_cleanup(struct request_queue *q, struct bio *bio) in rq_qos_cleanup() 40 void rq_qos_done(struct request_queue *q, struct request *rq) in rq_qos_done() 50 void rq_qos_issue(struct request_queue *q, struct request *rq) in rq_qos_issue() 60 void rq_qos_requeue(struct request_queue *q, struct request *rq) in rq_qos_requeue() 70 void rq_qos_throttle(struct request_queue *q, struct bio *bio, in rq_qos_throttle() 81 void rq_qos_track(struct request_queue *q, struct request *rq, struct bio *bio) in rq_qos_track() 91 void rq_qos_done_bio(struct request_queue *q, struct bio *bio) in rq_qos_done_bio() 191 void rq_qos_exit(struct request_queue *q) in rq_qos_exit()
|
D | noop-iosched.c | 15 static void noop_merged_requests(struct request_queue *q, struct request *rq, in noop_merged_requests() 21 static int noop_dispatch(struct request_queue *q, int force) in noop_dispatch() 35 static void noop_add_request(struct request_queue *q, struct request *rq) in noop_add_request() 43 noop_former_request(struct request_queue *q, struct request *rq) in noop_former_request() 53 noop_latter_request(struct request_queue *q, struct request *rq) in noop_latter_request() 62 static int noop_init_queue(struct request_queue *q, struct elevator_type *e) in noop_init_queue()
|
D | blk-mq-sched.c | 19 void blk_mq_sched_free_hctx_data(struct request_queue *q, in blk_mq_sched_free_hctx_data() 36 struct request_queue *q = rq->q; in blk_mq_sched_assign_ioc() 90 struct request_queue *q = hctx->queue; in blk_mq_do_dispatch_sched() 137 struct request_queue *q = hctx->queue; in blk_mq_do_dispatch_ctx() 173 struct request_queue *q = hctx->queue; in blk_mq_sched_dispatch_requests() 227 bool blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio, in blk_mq_sched_try_merge() 263 bool blk_mq_bio_list_merge(struct request_queue *q, struct list_head *list, in blk_mq_bio_list_merge() 306 static bool blk_mq_attempt_merge(struct request_queue *q, in blk_mq_attempt_merge() 319 bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio) in __blk_mq_sched_bio_merge() 343 bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq) in blk_mq_sched_try_insert_merge() [all …]
|
D | blk-mq.c | 40 static bool blk_mq_poll(struct request_queue *q, blk_qc_t cookie); 41 static void blk_mq_poll_stats_start(struct request_queue *q); 109 void blk_mq_in_flight(struct request_queue *q, struct hd_struct *part, in blk_mq_in_flight() 128 void blk_mq_in_flight_rw(struct request_queue *q, struct hd_struct *part, in blk_mq_in_flight_rw() 137 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() 184 void blk_mq_freeze_queue(struct request_queue *q) in blk_mq_freeze_queue() 194 void blk_mq_unfreeze_queue(struct request_queue *q) in blk_mq_unfreeze_queue() [all …]
|
D | blk-merge.c | 17 static struct bio *blk_bio_discard_split(struct request_queue *q, in blk_bio_discard_split() 61 static struct bio *blk_bio_write_zeroes_split(struct request_queue *q, in blk_bio_write_zeroes_split() 75 static struct bio *blk_bio_write_same_split(struct request_queue *q, in blk_bio_write_same_split() 91 static inline unsigned get_max_io_size(struct request_queue *q, in get_max_io_size() 103 static struct bio *blk_bio_segment_split(struct request_queue *q, in blk_bio_segment_split() 186 void blk_queue_split(struct request_queue *q, struct bio **bio) in blk_queue_split() 234 static unsigned int __blk_recalc_rq_segments(struct request_queue *q, in __blk_recalc_rq_segments() 312 void blk_recount_segments(struct request_queue *q, struct bio *bio) in blk_recount_segments() 331 static int blk_phys_contig_segment(struct request_queue *q, struct bio *bio, in blk_phys_contig_segment() 363 __blk_segment_map_sg(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg() [all …]
|
D | blk-mq-sysfs.c | 52 struct request_queue *q; in blk_mq_sysfs_show() 75 struct request_queue *q; in blk_mq_sysfs_store() 98 struct request_queue *q; in blk_mq_hw_sysfs_show() 122 struct request_queue *q; in blk_mq_hw_sysfs_store() 242 struct request_queue *q = hctx->queue; in blk_mq_register_hctx() 269 void blk_mq_unregister_dev(struct device *dev, struct request_queue *q) in blk_mq_unregister_dev() 291 void blk_mq_sysfs_deinit(struct request_queue *q) in blk_mq_sysfs_deinit() 303 void blk_mq_sysfs_init(struct request_queue *q) in blk_mq_sysfs_init() 316 int __blk_mq_register_dev(struct device *dev, struct request_queue *q) in __blk_mq_register_dev() 351 int blk_mq_register_dev(struct device *dev, struct request_queue *q) in blk_mq_register_dev() [all …]
|
D | blk-tag.c | 24 struct request *blk_queue_find_tag(struct request_queue *q, int tag) in blk_queue_find_tag() 62 void __blk_queue_free_tags(struct request_queue *q) in __blk_queue_free_tags() 83 void blk_queue_free_tags(struct request_queue *q) in blk_queue_free_tags() 90 init_tag_map(struct request_queue *q, struct blk_queue_tag *tags, int depth) in init_tag_map() 122 static struct blk_queue_tag *__blk_queue_init_tags(struct request_queue *q, in __blk_queue_init_tags() 164 int blk_queue_init_tags(struct request_queue *q, int depth, in blk_queue_init_tags() 203 int blk_queue_resize_tags(struct request_queue *q, int new_depth) in blk_queue_resize_tags() 262 void blk_queue_end_tag(struct request_queue *q, struct request *rq) in blk_queue_end_tag() 309 int blk_queue_start_tag(struct request_queue *q, struct request *rq) in blk_queue_start_tag()
|
/linux-4.19.296/include/scsi/ |
D | scsi_dh.h | 78 extern int scsi_dh_activate(struct request_queue *, activate_complete, void *); 79 extern int scsi_dh_attach(struct request_queue *, const char *); 80 extern const char *scsi_dh_attached_handler_name(struct request_queue *, gfp_t); 81 extern int scsi_dh_set_params(struct request_queue *, const char *); 83 static inline int scsi_dh_activate(struct request_queue *req, in scsi_dh_activate() 89 static inline int scsi_dh_attach(struct request_queue *req, const char *name) in scsi_dh_attach() 93 static inline const char *scsi_dh_attached_handler_name(struct request_queue *q, in scsi_dh_attached_handler_name() 98 static inline int scsi_dh_set_params(struct request_queue *req, const char *params) in scsi_dh_set_params()
|
/linux-4.19.296/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), 227 TP_PROTO(struct request_queue *q, struct bio *bio), 264 TP_PROTO(struct request_queue *q, struct bio *bio, int error), 292 TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), 329 TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), 345 TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), 359 TP_PROTO(struct request_queue *q, struct bio *bio), [all …]
|