Home
last modified time | relevance | path

Searched full:rqos (Results 1 – 13 of 13) sorted by relevance

/linux/block/
H A 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 …]
H A Dblk-wbt.c91 struct rq_qos rqos; member
96 static inline struct rq_wb *RQWB(struct rq_qos *rqos) in RQWB() argument
98 return container_of(rqos, struct rq_wb, rqos); in RQWB()
167 struct backing_dev_info *bdi = rwb->rqos.disk->bdi; in wb_recent_wait()
209 else if (blk_queue_write_cache(rwb->rqos.disk->queue) && in wbt_rqw_done()
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()
[all …]
H A 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 …]
H A Dblk-mq-debugfs.c662 struct rq_qos *rqos = q->rq_qos; in blk_mq_debugfs_register() local
664 while (rqos) { in blk_mq_debugfs_register()
665 blk_mq_debugfs_register_rqos(rqos); in blk_mq_debugfs_register()
666 rqos = rqos->next; in blk_mq_debugfs_register()
771 void blk_mq_debugfs_unregister_rqos(struct rq_qos *rqos) in blk_mq_debugfs_unregister_rqos() argument
773 lockdep_assert_held(&rqos->disk->queue->debugfs_mutex); in blk_mq_debugfs_unregister_rqos()
775 if (!rqos->disk->queue->debugfs_dir) in blk_mq_debugfs_unregister_rqos()
777 debugfs_remove_recursive(rqos->debugfs_dir); in blk_mq_debugfs_unregister_rqos()
778 rqos->debugfs_dir = NULL; in blk_mq_debugfs_unregister_rqos()
781 void blk_mq_debugfs_register_rqos(struct rq_qos *rqos) in blk_mq_debugfs_register_rqos() argument
[all …]
H A 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 …]
H A 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
H A 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()
804 * ioc->rqos.disk isn't initialized when this function is called from
909 * struct gendisk is required as an argument because ioc->rqos.disk
953 return ioc_refresh_params_disk(ioc, force, ioc->rqos.disk); in ioc_refresh_params()
2608 static void ioc_rqos_throttle(struct rq_qos *rqos, struct bio *bio) in ioc_rqos_throttle() argument
2611 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_throttle()
2691 blkcg_schedule_throttle(rqos->disk, in ioc_rqos_throttle()
[all …]
H A Dblk-sysfs.c532 struct rq_qos *rqos; in queue_wb_lat_store() local
542 rqos = wbt_rq_qos(q); in queue_wb_lat_store()
543 if (!rqos) { in queue_wb_lat_store()
/linux/Documentation/devicetree/bindings/display/
H A Darm,malidp.yaml78 into the RQOS register of the DP500.
80 If omitted, the RQOS register will not be changed.
/linux/drivers/gpu/drm/arm/
H A Dmalidp_regs.h214 * The quality of service (QoS) register on the DP500. RQOS register values
217 * The RQOS register can also set QoS levels for:
H A Dmalidp_hw.h255 /* priority level of RQOS register used for driven the ARQOS signal */
H A Dmalidp_hw.c384 * Program the RQoS register to avoid high resolutions flicker in malidp500_modeset()
/linux/drivers/net/ethernet/freescale/
H A Ducc_geth.h1071 enum ucc_geth_qos_mode rqos; member