Lines Matching full:rqos
407 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()
2743 static void ioc_rqos_merge(struct rq_qos *rqos, struct request *rq, in ioc_rqos_merge() argument
2747 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_merge()
2792 blkcg_schedule_throttle(rqos->disk, in ioc_rqos_merge()
2802 static void ioc_rqos_done_bio(struct rq_qos *rqos, struct bio *bio) in ioc_rqos_done_bio() argument
2810 static void ioc_rqos_done(struct rq_qos *rqos, struct request *rq) in ioc_rqos_done() argument
2812 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_done()
2850 static void ioc_rqos_queue_depth_changed(struct rq_qos *rqos) in ioc_rqos_queue_depth_changed() argument
2852 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_queue_depth_changed()
2859 static void ioc_rqos_exit(struct rq_qos *rqos) in ioc_rqos_exit() argument
2861 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_exit()
2863 blkcg_deactivate_policy(rqos->disk, &blkcg_policy_iocost); in ioc_rqos_exit()
2926 * rqos must be added before activation to allow ioc_pd_init() to in blk_iocost_init()
2927 * lookup the ioc from q. This means that the rqos methods may get in blk_iocost_init()
2931 ret = rq_qos_add(&ioc->rqos, disk, RQ_QOS_COST, &ioc_rqos_ops); in blk_iocost_init()
2941 rq_qos_del(&ioc->rqos); in blk_iocost_init()