Lines Matching refs:blkcg
200 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \
702 static struct ioc_cgrp *blkcg_to_iocc(struct blkcg *blkcg) in blkcg_to_iocc() argument
704 return container_of(blkcg_to_cpd(blkcg, &blkcg_policy_iocost), in blkcg_to_iocc()
1193 struct ioc_cgrp *iocc = blkcg_to_iocc(blkg->blkcg); in weight_updated()
1895 pr_cont_cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup); in transfer_surpluses()
2912 struct blkcg *blkcg) in ioc_pd_alloc() argument
2914 int levels = blkcg->css.cgroup->level + 1; in ioc_pd_alloc()
2955 iocg->level = blkg->blkcg->css.cgroup->level; in ioc_pd_init()
3039 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in ioc_weight_show() local
3040 struct ioc_cgrp *iocc = blkcg_to_iocc(blkcg); in ioc_weight_show()
3043 blkcg_print_blkgs(sf, blkcg, ioc_weight_prfill, in ioc_weight_show()
3051 struct blkcg *blkcg = css_to_blkcg(of_css(of)); in ioc_weight_write() local
3052 struct ioc_cgrp *iocc = blkcg_to_iocc(blkcg); in ioc_weight_write()
3068 spin_lock_irq(&blkcg->lock); in ioc_weight_write()
3070 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in ioc_weight_write()
3080 spin_unlock_irq(&blkcg->lock); in ioc_weight_write()
3085 ret = blkg_conf_prep(blkcg, &blkcg_policy_iocost, buf, &ctx); in ioc_weight_write()
3140 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in ioc_qos_show() local
3142 blkcg_print_blkgs(sf, blkcg, ioc_qos_prfill, in ioc_qos_show()
3307 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in ioc_cost_model_show() local
3309 blkcg_print_blkgs(sf, blkcg, ioc_cost_model_prfill, in ioc_cost_model_show()