Home
last modified time | relevance | path

Searched refs:rqos (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/block/
Dblk-rq-qos.c26 void __rq_qos_cleanup(struct rq_qos *rqos, struct bio *bio) in __rq_qos_cleanup() argument
29 if (rqos->ops->cleanup) in __rq_qos_cleanup()
30 rqos->ops->cleanup(rqos, bio); in __rq_qos_cleanup()
31 rqos = rqos->next; in __rq_qos_cleanup()
32 } while (rqos); in __rq_qos_cleanup()
35 void __rq_qos_done(struct rq_qos *rqos, struct request *rq) in __rq_qos_done() argument
38 if (rqos->ops->done) in __rq_qos_done()
39 rqos->ops->done(rqos, rq); in __rq_qos_done()
40 rqos = rqos->next; in __rq_qos_done()
41 } while (rqos); in __rq_qos_done()
[all …]
Dblk-wbt.c92 struct rq_qos rqos; member
97 static inline struct rq_wb *RQWB(struct rq_qos *rqos) in RQWB() argument
99 return container_of(rqos, struct rq_wb, rqos); in RQWB()
168 struct backing_dev_info *bdi = rwb->rqos.disk->bdi; in wb_recent_wait()
229 static void __wbt_done(struct rq_qos *rqos, enum wbt_flags wb_acct) in __wbt_done() argument
231 struct rq_wb *rwb = RQWB(rqos); in __wbt_done()
245 static void wbt_done(struct rq_qos *rqos, struct request *rq) in wbt_done() argument
247 struct rq_wb *rwb = RQWB(rqos); in wbt_done()
259 __wbt_done(rqos, wbt_flags(rq)); in wbt_done()
306 struct backing_dev_info *bdi = rwb->rqos.disk->bdi; in latency_exceeded()
[all …]
Dblk-rq-qos.h64 struct rq_qos *rqos; in rq_qos_id() local
65 for (rqos = q->rq_qos; rqos; rqos = rqos->next) { in rq_qos_id()
66 if (rqos->id == id) in rq_qos_id()
69 return rqos; in rq_qos_id()
88 int rq_qos_add(struct rq_qos *rqos, struct gendisk *disk, enum rq_qos_id id,
90 void rq_qos_del(struct rq_qos *rqos);
103 void __rq_qos_cleanup(struct rq_qos *rqos, struct bio *bio);
104 void __rq_qos_done(struct rq_qos *rqos, struct request *rq);
105 void __rq_qos_issue(struct rq_qos *rqos, struct request *rq);
106 void __rq_qos_requeue(struct rq_qos *rqos, struct request *rq);
[all …]
Dblk-iolatency.c88 struct rq_qos rqos; member
103 static inline struct blk_iolatency *BLKIOLATENCY(struct rq_qos *rqos) in BLKIOLATENCY() argument
105 return container_of(rqos, struct blk_iolatency, rqos); in BLKIOLATENCY()
286 static void __blkcg_iolatency_throttle(struct rq_qos *rqos, in __blkcg_iolatency_throttle() argument
295 blkcg_schedule_throttle(rqos->disk, use_memdelay); in __blkcg_iolatency_throttle()
333 unsigned long qd = blkiolat->rqos.disk->queue->nr_requests; in scale_cookie_change()
375 unsigned long qd = iolat->blkiolat->rqos.disk->queue->nr_requests; in scale_change()
463 static void blkcg_iolatency_throttle(struct rq_qos *rqos, struct bio *bio) in blkcg_iolatency_throttle() argument
465 struct blk_iolatency *blkiolat = BLKIOLATENCY(rqos); in blkcg_iolatency_throttle()
480 __blkcg_iolatency_throttle(rqos, iolat, issue_as_root, in blkcg_iolatency_throttle()
[all …]
Dblk-mq-debugfs.c679 struct rq_qos *rqos = q->rq_qos; in blk_mq_debugfs_register() local
681 while (rqos) { in blk_mq_debugfs_register()
682 blk_mq_debugfs_register_rqos(rqos); in blk_mq_debugfs_register()
683 rqos = rqos->next; in blk_mq_debugfs_register()
788 void blk_mq_debugfs_unregister_rqos(struct rq_qos *rqos) in blk_mq_debugfs_unregister_rqos() argument
790 lockdep_assert_held(&rqos->disk->queue->debugfs_mutex); in blk_mq_debugfs_unregister_rqos()
792 if (!rqos->disk->queue->debugfs_dir) in blk_mq_debugfs_unregister_rqos()
794 debugfs_remove_recursive(rqos->debugfs_dir); in blk_mq_debugfs_unregister_rqos()
795 rqos->debugfs_dir = NULL; in blk_mq_debugfs_unregister_rqos()
798 void blk_mq_debugfs_register_rqos(struct rq_qos *rqos) in blk_mq_debugfs_register_rqos() argument
[all …]
Dblk-mq-debugfs.h36 void blk_mq_debugfs_register_rqos(struct rq_qos *rqos);
37 void blk_mq_debugfs_unregister_rqos(struct rq_qos *rqos);
77 static inline void blk_mq_debugfs_register_rqos(struct rq_qos *rqos) in blk_mq_debugfs_register_rqos() argument
81 static inline void blk_mq_debugfs_unregister_rqos(struct rq_qos *rqos) in blk_mq_debugfs_unregister_rqos() argument
Dblk-iocost.c407 struct rq_qos rqos; member
660 static struct ioc *rqos_to_ioc(struct rq_qos *rqos) in rqos_to_ioc() argument
662 return container_of(rqos, struct ioc, rqos); in rqos_to_ioc()
672 struct gendisk *disk = ioc->rqos.disk; in ioc_name()
953 return ioc_refresh_params_disk(ioc, force, ioc->rqos.disk); in ioc_refresh_params()
2595 static void ioc_rqos_throttle(struct rq_qos *rqos, struct bio *bio) in ioc_rqos_throttle() argument
2598 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_throttle()
2678 blkcg_schedule_throttle(rqos->disk, in ioc_rqos_throttle()
2730 static void ioc_rqos_merge(struct rq_qos *rqos, struct request *rq, in ioc_rqos_merge() argument
2734 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_merge()
[all …]
Dblk-sysfs.c574 struct rq_qos *rqos; in queue_wb_lat_store() local
584 rqos = wbt_rq_qos(q); in queue_wb_lat_store()
585 if (!rqos) { in queue_wb_lat_store()
/linux-6.6.21/drivers/net/ethernet/freescale/
Ducc_geth.h1071 enum ucc_geth_qos_mode rqos; member