Home
last modified time | relevance | path

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

/linux/block/
A Dblk-rq-qos.c37 rqos = rqos->next; in __rq_qos_cleanup()
45 rqos->ops->done(rqos, rq); in __rq_qos_done()
46 rqos = rqos->next; in __rq_qos_done()
54 rqos->ops->issue(rqos, rq); in __rq_qos_issue()
55 rqos = rqos->next; in __rq_qos_issue()
64 rqos = rqos->next; in __rq_qos_requeue()
73 rqos = rqos->next; in __rq_qos_throttle()
82 rqos = rqos->next; in __rq_qos_track()
91 rqos = rqos->next; in __rq_qos_merge()
100 rqos = rqos->next; in __rq_qos_done_bio()
[all …]
A Dblk-wbt.c360 if (!rwb->rqos.q->disk) in wb_timer_fn()
428 if (!rqos) in wbt_get_min_lat()
436 if (!rqos) in wbt_set_min_lat()
566 __wbt_done(rqos, flags); in wbt_cleanup()
632 if (rqos) in wbt_set_write_cache()
644 if (rqos) { in wbt_enable_default()
686 RQWB(rqos)->rq_depth.queue_depth = blk_queue_depth(rqos->q); in wbt_queue_depth_changed()
707 if (!rqos) in wbt_disable_default()
709 rwb = RQWB(rqos); in wbt_disable_default()
837 rwb->rqos.id = RQ_QOS_WBT; in wbt_init()
[all …]
A Dblk-rq-qos.h65 struct rq_qos *rqos; in rq_qos_id() local
66 for (rqos = q->rq_qos; rqos; rqos = rqos->next) { in rq_qos_id()
67 if (rqos->id == id) in rq_qos_id()
70 return rqos; in rq_qos_id()
101 rqos->next = q->rq_qos; in rq_qos_add()
102 q->rq_qos = rqos; in rq_qos_add()
107 if (rqos->ops->debugfs_attrs) in rq_qos_add()
108 blk_mq_debugfs_register_rqos(rqos); in rq_qos_add()
123 if (*cur == rqos) { in rq_qos_del()
124 *cur = rqos->next; in rq_qos_del()
[all …]
A Dblk-ioprio.c186 struct rq_qos rqos; member
189 static void blkcg_ioprio_track(struct rq_qos *rqos, struct request *rq, in blkcg_ioprio_track() argument
206 static void blkcg_ioprio_exit(struct rq_qos *rqos) in blkcg_ioprio_exit() argument
209 container_of(rqos, typeof(*blkioprio_blkg), rqos); in blkcg_ioprio_exit()
211 blkcg_deactivate_policy(rqos->q, &ioprio_policy); in blkcg_ioprio_exit()
223 struct rq_qos *rqos; in blk_ioprio_init() local
236 rqos = &blkioprio_blkg->rqos; in blk_ioprio_init()
237 rqos->id = RQ_QOS_IOPRIO; in blk_ioprio_init()
238 rqos->ops = &blkcg_ioprio_ops; in blk_ioprio_init()
239 rqos->q = q; in blk_ioprio_init()
[all …]
A Dblk-iolatency.c88 struct rq_qos rqos; member
95 return container_of(rqos, struct blk_iolatency, rqos); in BLKIOLATENCY()
667 blkiolat->rqos.q->root_blkg) { in blkiolatency_timer_fn()
722 struct rq_qos *rqos; in blk_iolatency_init() local
729 rqos = &blkiolat->rqos; in blk_iolatency_init()
730 rqos->id = RQ_QOS_LATENCY; in blk_iolatency_init()
731 rqos->ops = &blkcg_iolatency_ops; in blk_iolatency_init()
732 rqos->q = q; in blk_iolatency_init()
734 rq_qos_add(q, rqos); in blk_iolatency_init()
738 rq_qos_del(q, rqos); in blk_iolatency_init()
[all …]
A Dblk-mq-debugfs.c728 struct rq_qos *rqos = q->rq_qos; in blk_mq_debugfs_register() local
730 while (rqos) { in blk_mq_debugfs_register()
731 blk_mq_debugfs_register_rqos(rqos); in blk_mq_debugfs_register()
732 rqos = rqos->next; in blk_mq_debugfs_register()
837 debugfs_remove_recursive(rqos->debugfs_dir); in blk_mq_debugfs_unregister_rqos()
838 rqos->debugfs_dir = NULL; in blk_mq_debugfs_unregister_rqos()
843 struct request_queue *q = rqos->q; in blk_mq_debugfs_register_rqos()
846 if (rqos->debugfs_dir || !rqos->ops->debugfs_attrs) in blk_mq_debugfs_register_rqos()
853 rqos->debugfs_dir = debugfs_create_dir(dir_name, in blk_mq_debugfs_register_rqos()
854 rqos->q->rqos_debugfs_dir); in blk_mq_debugfs_register_rqos()
[all …]
A Dblk-wbt.h68 struct rq_qos rqos; member
73 static inline struct rq_wb *RQWB(struct rq_qos *rqos) in RQWB() argument
75 return container_of(rqos, struct rq_wb, rqos); in RQWB()
A Dblk-mq-debugfs.h35 void blk_mq_debugfs_register_rqos(struct rq_qos *rqos);
36 void blk_mq_debugfs_unregister_rqos(struct rq_qos *rqos);
81 static inline void blk_mq_debugfs_register_rqos(struct rq_qos *rqos) in blk_mq_debugfs_register_rqos() argument
85 static inline void blk_mq_debugfs_unregister_rqos(struct rq_qos *rqos) in blk_mq_debugfs_unregister_rqos() argument
A Dblk-iocost.c403 struct rq_qos rqos; member
660 return container_of(rqos, struct ioc, rqos); in rqos_to_ioc()
678 return q_name(ioc->rqos.q); in ioc_name()
813 if (!blk_queue_nonrot(ioc->rqos.q)) in ioc_autop_idx()
2835 struct rq_qos *rqos; in blk_iocost_init() local
2858 rqos = &ioc->rqos; in blk_iocost_init()
2859 rqos->id = RQ_QOS_COST; in blk_iocost_init()
2860 rqos->ops = &ioc_rqos_ops; in blk_iocost_init()
2861 rqos->q = q; in blk_iocost_init()
2886 rq_qos_add(q, rqos); in blk_iocost_init()
[all …]
A Dblk-sysfs.c474 struct rq_qos *rqos; in queue_wb_lat_store() local
484 rqos = wbt_rq_qos(q); in queue_wb_lat_store()
485 if (!rqos) { in queue_wb_lat_store()
/linux/drivers/net/ethernet/freescale/
A Ducc_geth.h1071 enum ucc_geth_qos_mode rqos; member

Completed in 35 milliseconds