Home
last modified time | relevance | path

Searched defs:q (Results 1 – 25 of 51) sorted by relevance

123

/block/
Dblk-sysfs.c60 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()
88 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show()
97 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store()
110 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show()
117 static ssize_t queue_max_segments_show(struct request_queue *q, char *page) in queue_max_segments_show()
122 static ssize_t queue_max_discard_segments_show(struct request_queue *q, in queue_max_discard_segments_show()
128 static ssize_t queue_max_integrity_segments_show(struct request_queue *q, char *page) in queue_max_integrity_segments_show()
133 static ssize_t queue_max_segment_size_show(struct request_queue *q, char *page) in queue_max_segment_size_show()
138 static ssize_t queue_logical_block_size_show(struct request_queue *q, char *page) in queue_logical_block_size_show()
[all …]
Dblk-settings.c25 void blk_queue_rq_timeout(struct request_queue *q, unsigned int timeout) in blk_queue_rq_timeout()
111 void blk_queue_make_request(struct request_queue *q, make_request_fn *mfn) in blk_queue_make_request()
136 void blk_queue_bounce_limit(struct request_queue *q, u64 max_addr) in blk_queue_bounce_limit()
183 void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors) in blk_queue_max_hw_sectors()
215 void blk_queue_chunk_sectors(struct request_queue *q, unsigned int chunk_sectors) in blk_queue_chunk_sectors()
227 void blk_queue_max_discard_sectors(struct request_queue *q, in blk_queue_max_discard_sectors()
240 void blk_queue_max_write_same_sectors(struct request_queue *q, in blk_queue_max_write_same_sectors()
253 void blk_queue_max_write_zeroes_sectors(struct request_queue *q, in blk_queue_max_write_zeroes_sectors()
269 void blk_queue_max_segments(struct request_queue *q, unsigned short max_segments) in blk_queue_max_segments()
290 void blk_queue_max_discard_segments(struct request_queue *q, in blk_queue_max_discard_segments()
[all …]
Delevator.c62 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()
207 void elv_rqhash_del(struct request_queue *q, struct request *rq) in elv_rqhash_del()
214 void elv_rqhash_add(struct request_queue *q, struct request *rq) in elv_rqhash_add()
224 void elv_rqhash_reposition(struct request_queue *q, struct request *rq) in elv_rqhash_reposition()
230 struct request *elv_rqhash_find(struct request_queue *q, sector_t offset) in elv_rqhash_find()
304 enum elv_merge elv_merge(struct request_queue *q, struct request **req, in elv_merge()
356 bool elv_attempt_insert_merge(struct request_queue *q, struct request *rq) in elv_attempt_insert_merge()
[all …]
Dblk.h42 blk_get_flush_queue(struct request_queue *q, struct blk_mq_ctx *ctx) in blk_get_flush_queue()
47 static inline void __blk_get_queue(struct request_queue *q) in __blk_get_queue()
64 static inline void blk_queue_enter_live(struct request_queue *q) in blk_queue_enter_live()
75 static inline bool biovec_phys_mergeable(struct request_queue *q, in biovec_phys_mergeable()
91 static inline bool __bvec_gap_to_prev(struct request_queue *q, in __bvec_gap_to_prev()
102 static inline bool bvec_gap_to_prev(struct request_queue *q, in bvec_gap_to_prev()
206 static inline void elevator_exit(struct request_queue *q, in elevator_exit()
223 static inline int blk_should_fake_timeout(struct request_queue *q) in blk_should_fake_timeout()
260 static inline void req_set_nomerge(struct request_queue *q, struct request *req) in req_set_nomerge()
272 static inline unsigned int bio_allowed_max_sectors(struct request_queue *q) in bio_allowed_max_sectors()
[all …]
Dblk-mq-sched.c20 void blk_mq_sched_free_hctx_data(struct request_queue *q, in blk_mq_sched_free_hctx_data()
37 struct request_queue *q = rq->q; in blk_mq_sched_assign_ioc() local
90 struct request_queue *q = hctx->queue; in blk_mq_do_dispatch_sched() local
136 struct request_queue *q = hctx->queue; in blk_mq_do_dispatch_ctx() local
172 struct request_queue *q = hctx->queue; in blk_mq_sched_dispatch_requests() local
226 bool blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio, in blk_mq_sched_try_merge()
262 bool blk_mq_bio_list_merge(struct request_queue *q, struct list_head *list, in blk_mq_bio_list_merge()
307 static bool blk_mq_attempt_merge(struct request_queue *q, in blk_mq_attempt_merge()
324 bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, in __blk_mq_sched_bio_merge()
348 bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq) in blk_mq_sched_try_insert_merge()
[all …]
Dblk-mq-debugfs.h39 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()
Dblk-rq-qos.h28 struct request_queue *q; member
60 static inline struct rq_qos *rq_qos_id(struct request_queue *q, in rq_qos_id()
71 static inline struct rq_qos *wbt_rq_qos(struct request_queue *q) in wbt_rq_qos()
76 static inline struct rq_qos *blkcg_rq_qos(struct request_queue *q) in blkcg_rq_qos()
100 static inline void rq_qos_add(struct request_queue *q, struct rq_qos *rqos) in rq_qos_add()
109 static inline void rq_qos_del(struct request_queue *q, struct rq_qos *rqos) in rq_qos_del()
144 static inline void rq_qos_cleanup(struct request_queue *q, struct bio *bio) in rq_qos_cleanup()
150 static inline void rq_qos_done(struct request_queue *q, struct request *rq) in rq_qos_done()
156 static inline void rq_qos_issue(struct request_queue *q, struct request *rq) in rq_qos_issue()
162 static inline void rq_qos_requeue(struct request_queue *q, struct request *rq) in rq_qos_requeue()
[all …]
Dblk-pm.c31 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()
119 void blk_post_runtime_suspend(struct request_queue *q, int err) in blk_post_runtime_suspend()
149 void blk_pre_runtime_resume(struct request_queue *q) in blk_pre_runtime_resume()
174 void blk_post_runtime_resume(struct request_queue *q, int err) in blk_post_runtime_resume()
208 void blk_set_runtime_active(struct request_queue *q) in blk_set_runtime_active()
Dblk-merge.c15 static inline bool bio_will_gap(struct request_queue *q, in bio_will_gap()
61 static struct bio *blk_bio_discard_split(struct request_queue *q, in blk_bio_discard_split()
105 static struct bio *blk_bio_write_zeroes_split(struct request_queue *q, in blk_bio_write_zeroes_split()
119 static struct bio *blk_bio_write_same_split(struct request_queue *q, in blk_bio_write_same_split()
143 static inline unsigned get_max_io_size(struct request_queue *q, in get_max_io_size()
160 static unsigned get_max_segment_size(const struct request_queue *q, in get_max_segment_size()
193 static bool bvec_split_segs(const struct request_queue *q, in bvec_split_segs()
240 static struct bio *blk_bio_segment_split(struct request_queue *q, in blk_bio_segment_split()
293 void __blk_queue_split(struct request_queue *q, struct bio **bio, in __blk_queue_split()
348 void blk_queue_split(struct request_queue *q, struct bio **bio) in blk_queue_split()
[all …]
Dblk-mq.c114 unsigned int blk_mq_in_flight(struct request_queue *q, struct hd_struct *part) in blk_mq_in_flight()
137 void blk_mq_in_flight_rw(struct request_queue *q, struct hd_struct *part, in blk_mq_in_flight_rw()
146 void blk_freeze_queue_start(struct request_queue *q) in blk_freeze_queue_start()
160 void blk_mq_freeze_queue_wait(struct request_queue *q) in blk_mq_freeze_queue_wait()
166 int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, in blk_mq_freeze_queue_wait_timeout()
179 void blk_freeze_queue(struct request_queue *q) in blk_freeze_queue()
192 void blk_mq_freeze_queue(struct request_queue *q) in blk_mq_freeze_queue()
202 void blk_mq_unfreeze_queue(struct request_queue *q) in blk_mq_unfreeze_queue()
219 void blk_mq_quiesce_queue_nowait(struct request_queue *q) in blk_mq_quiesce_queue_nowait()
234 void blk_mq_quiesce_queue(struct request_queue *q) in blk_mq_quiesce_queue()
[all …]
Dblk-core.c79 void blk_queue_flag_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_set()
90 void blk_queue_flag_clear(unsigned int flag, struct request_queue *q) in blk_queue_flag_clear()
104 bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_test_and_set()
110 void blk_rq_init(struct request_queue *q, struct request *rq) in blk_rq_init()
281 void blk_sync_queue(struct request_queue *q) in blk_sync_queue()
292 void blk_set_pm_only(struct request_queue *q) in blk_set_pm_only()
298 void blk_clear_pm_only(struct request_queue *q) in blk_clear_pm_only()
309 void blk_put_queue(struct request_queue *q) in blk_put_queue()
315 void blk_set_queue_dying(struct request_queue *q) in blk_set_queue_dying()
341 void blk_cleanup_queue(struct request_queue *q) in blk_cleanup_queue()
[all …]
Dscsi_ioctl.c46 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()
216 static int blk_fill_sghdr_rq(struct request_queue *q, struct request *rq, in blk_fill_sghdr_rq()
278 static int sg_io(struct request_queue *q, struct gendisk *bd_disk, in sg_io()
[all …]
Dblk-wbt.h107 static inline int wbt_init(struct request_queue *q) in wbt_init()
111 static inline void wbt_update_limits(struct request_queue *q) in wbt_update_limits()
114 static inline void wbt_disable_default(struct request_queue *q) in wbt_disable_default()
117 static inline void wbt_enable_default(struct request_queue *q) in wbt_enable_default()
120 static inline void wbt_set_write_cache(struct request_queue *q, bool wc) in wbt_set_write_cache()
123 static inline u64 wbt_get_min_lat(struct request_queue *q) in wbt_get_min_lat()
127 static inline void wbt_set_min_lat(struct request_queue *q, u64 val) in wbt_set_min_lat()
130 static inline u64 wbt_default_latency_nsec(struct request_queue *q) in wbt_default_latency_nsec()
Dblk-mq-sysfs.c67 struct request_queue *q; in blk_mq_sysfs_show() local
90 struct request_queue *q; in blk_mq_sysfs_store() local
113 struct request_queue *q; in blk_mq_hw_sysfs_show() local
137 struct request_queue *q; in blk_mq_hw_sysfs_store() local
253 struct request_queue *q = hctx->queue; in blk_mq_register_hctx() local
273 void blk_mq_unregister_dev(struct device *dev, struct request_queue *q) in blk_mq_unregister_dev()
295 void blk_mq_sysfs_deinit(struct request_queue *q) in blk_mq_sysfs_deinit()
307 void blk_mq_sysfs_init(struct request_queue *q) in blk_mq_sysfs_init()
322 int __blk_mq_register_dev(struct device *dev, struct request_queue *q) in __blk_mq_register_dev()
357 void blk_mq_sysfs_unregister(struct request_queue *q) in blk_mq_sysfs_unregister()
[all …]
Dblk-mq-debugfs.c29 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
133 struct request_queue *q = data; in queue_state_show() local
144 struct request_queue *q = data; in queue_state_write() local
180 struct request_queue *q = data; in queue_write_hint_show() local
192 struct request_queue *q = data; in queue_write_hint_store() local
463 struct request_queue *q = hctx->queue; in hctx_tags_show() local
[all …]
Dblk-mq.h89 static inline struct blk_mq_hw_ctx *blk_mq_map_queue_type(struct request_queue *q, in blk_mq_map_queue_type()
102 static inline struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *q, in blk_mq_map_queue()
140 static inline struct blk_mq_ctx *__blk_mq_get_ctx(struct request_queue *q, in __blk_mq_get_ctx()
152 static inline struct blk_mq_ctx *blk_mq_get_ctx(struct request_queue *q) in blk_mq_get_ctx()
159 struct request_queue *q; member
193 struct request_queue *q = hctx->queue; in blk_mq_put_dispatch_budget() local
201 struct request_queue *q = hctx->queue; in blk_mq_get_dispatch_budget() local
254 static inline struct blk_plug *blk_mq_plug(struct request_queue *q, in blk_mq_plug()
Dmq-deadline.c109 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()
406 static int dd_init_queue(struct request_queue *q, struct elevator_type *e) in dd_init_queue()
439 static int dd_request_merge(struct request_queue *q, struct request **rq, in dd_request_merge()
465 struct request_queue *q = hctx->queue; in dd_bio_merge() local
486 struct request_queue *q = hctx->queue; in dd_insert_request() local
526 struct request_queue *q = hctx->queue; in dd_insert_requests() local
564 struct request_queue *q = rq->q; in dd_finish_request() local
710 struct request_queue *q = data; in DEADLINE_DEBUGFS_DDIR_ATTRS() local
[all …]
Dblk-flush.c160 struct request_queue *q = rq->q; in blk_flush_complete_seq() local
209 struct request_queue *q = flush_rq->q; in flush_end_io() local
268 static void blk_kick_flush(struct request_queue *q, struct blk_flush_queue *fq, in blk_kick_flush()
329 struct request_queue *q = rq->q; in mq_flush_data_end_io() local
362 struct request_queue *q = rq->q; in blk_insert_flush() local
436 struct request_queue *q; in blkdev_issue_flush() local
475 struct blk_flush_queue *blk_alloc_flush_queue(struct request_queue *q, in blk_alloc_flush_queue()
Dblk-pm.h9 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()
Dblk-cgroup.c60 static bool blkcg_policy_enabled(struct request_queue *q, in blkcg_policy_enabled()
145 static struct blkcg_gq *blkg_alloc(struct blkcg *blkcg, struct request_queue *q, in blkg_alloc()
195 struct request_queue *q, bool update_hint) in blkg_lookup_slowpath()
223 struct request_queue *q, in blkg_create()
329 struct request_queue *q) in __blkg_lookup_create()
378 struct request_queue *q) in blkg_lookup_create()
445 static void blkg_destroy_all(struct request_queue *q) in blkg_destroy_all()
746 struct request_queue *q) in blkg_lookup_check()
811 struct request_queue *q; in blkg_conf_prep() local
1086 struct request_queue *q = blkg->q; in blkcg_destroy_blkgs() local
[all …]
Dblk-zoned.c23 static inline sector_t blk_zone_start(struct request_queue *q, in blk_zone_start()
160 struct request_queue *q = bdev_get_queue(bdev); in blkdev_zone_mgmt() local
239 struct request_queue *q; in blkdev_report_zones_ioctl() local
282 struct request_queue *q; in blkdev_zone_mgmt_ioctl() local
333 void blk_queue_free_zone_bitmaps(struct request_queue *q) in blk_queue_free_zone_bitmaps()
358 struct request_queue *q = disk->queue; in blk_revalidate_zone_cb() local
437 struct request_queue *q = disk->queue; in blk_revalidate_disk_zones() local
Dblk-ioc.c63 struct request_queue *q = icq->q; in ioc_destroy_icq() local
111 struct request_queue *q = icq->q; in ioc_release_fn() local
232 void ioc_clear_queue(struct request_queue *q) in ioc_clear_queue()
325 struct io_cq *ioc_lookup_icq(struct io_context *ioc, struct request_queue *q) in ioc_lookup_icq()
365 struct io_cq *ioc_create_icq(struct io_context *ioc, struct request_queue *q, in ioc_create_icq()
Dblk-mq-sched.h35 blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, in blk_mq_sched_bio_merge()
45 blk_mq_sched_allow_merge(struct request_queue *q, struct request *rq, in blk_mq_sched_allow_merge()
66 struct request_queue *q = rq->q; in blk_mq_sched_requeue_request() local
Dblk-stat.c53 struct request_queue *q = rq->q; in blk_stat_add() local
135 void blk_stat_add_callback(struct request_queue *q, in blk_stat_add_callback()
155 void blk_stat_remove_callback(struct request_queue *q, in blk_stat_remove_callback()
183 void blk_stat_enable_accounting(struct request_queue *q) in blk_stat_enable_accounting()
Dblk-map.c68 struct request_queue *q = rq->q; in __blk_rq_map_user_iov() local
120 int blk_rq_map_user_iov(struct request_queue *q, struct request *rq, in blk_rq_map_user_iov()
161 int blk_rq_map_user(struct request_queue *q, struct request *rq, in blk_rq_map_user()
221 int blk_rq_map_kern(struct request_queue *q, struct request *rq, void *kbuf, in blk_rq_map_kern()

123