Lines Matching full:rqos

88 	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()
591 static void blkcg_iolatency_done_bio(struct rq_qos *rqos, struct bio *bio) in blkcg_iolatency_done_bio() argument
643 static void blkcg_iolatency_exit(struct rq_qos *rqos) in blkcg_iolatency_exit() argument
645 struct blk_iolatency *blkiolat = BLKIOLATENCY(rqos); in blkcg_iolatency_exit()
649 blkcg_deactivate_policy(rqos->disk, &blkcg_policy_iolatency); in blkcg_iolatency_exit()
668 blkiolat->rqos.disk->queue->root_blkg) { in blkiolatency_timer_fn()
752 blk_mq_freeze_queue(blkiolat->rqos.disk->queue); in blkiolatency_enable_work_fn()
754 blk_mq_unfreeze_queue(blkiolat->rqos.disk->queue); in blkiolatency_enable_work_fn()
767 ret = rq_qos_add(&blkiolat->rqos, disk, RQ_QOS_LATENCY, in blk_iolatency_init()
781 rq_qos_del(&blkiolat->rqos); in blk_iolatency_init()
986 struct rq_qos *rqos = iolat_rq_qos(blkg->q); in iolatency_pd_init() local
987 struct blk_iolatency *blkiolat = BLKIOLATENCY(rqos); in iolatency_pd_init()