• Home
  • Raw
  • Download

Lines Matching refs:rqos

407 	struct rq_qos			rqos;  member
662 static struct ioc *rqos_to_ioc(struct rq_qos *rqos) in rqos_to_ioc() argument
664 return container_of(rqos, struct ioc, rqos); in rqos_to_ioc()
682 return q_name(ioc->rqos.q); in ioc_name()
817 if (!blk_queue_nonrot(ioc->rqos.q)) in ioc_autop_idx()
821 if (blk_queue_depth(ioc->rqos.q) == 1) in ioc_autop_idx()
2584 static void ioc_rqos_throttle(struct rq_qos *rqos, struct bio *bio) in ioc_rqos_throttle() argument
2587 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_throttle()
2667 blkcg_schedule_throttle(rqos->q, in ioc_rqos_throttle()
2719 static void ioc_rqos_merge(struct rq_qos *rqos, struct request *rq, in ioc_rqos_merge() argument
2723 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_merge()
2768 blkcg_schedule_throttle(rqos->q, in ioc_rqos_merge()
2778 static void ioc_rqos_done_bio(struct rq_qos *rqos, struct bio *bio) in ioc_rqos_done_bio() argument
2786 static void ioc_rqos_done(struct rq_qos *rqos, struct request *rq) in ioc_rqos_done() argument
2788 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_done()
2826 static void ioc_rqos_queue_depth_changed(struct rq_qos *rqos) in ioc_rqos_queue_depth_changed() argument
2828 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_queue_depth_changed()
2835 static void ioc_rqos_exit(struct rq_qos *rqos) in ioc_rqos_exit() argument
2837 struct ioc *ioc = rqos_to_ioc(rqos); in ioc_rqos_exit()
2839 blkcg_deactivate_policy(rqos->q, &blkcg_policy_iocost); in ioc_rqos_exit()
2862 struct rq_qos *rqos; in blk_iocost_init() local
2885 rqos = &ioc->rqos; in blk_iocost_init()
2886 rqos->id = RQ_QOS_COST; in blk_iocost_init()
2887 rqos->ops = &ioc_rqos_ops; in blk_iocost_init()
2888 rqos->q = q; in blk_iocost_init()
2913 ret = rq_qos_add(q, rqos); in blk_iocost_init()
2923 rq_qos_del(q, rqos); in blk_iocost_init()
3290 blk_stat_enable_accounting(ioc->rqos.q); in ioc_qos_write()
3291 blk_queue_flag_set(QUEUE_FLAG_RQ_ALLOC_TIME, ioc->rqos.q); in ioc_qos_write()
3294 blk_queue_flag_clear(QUEUE_FLAG_RQ_ALLOC_TIME, ioc->rqos.q); in ioc_qos_write()