Lines Matching refs:blkcg
200 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \
698 static struct ioc_cgrp *blkcg_to_iocc(struct blkcg *blkcg) in blkcg_to_iocc() argument
700 return container_of(blkcg_to_cpd(blkcg, &blkcg_policy_iocost), in blkcg_to_iocc()
1184 struct ioc_cgrp *iocc = blkcg_to_iocc(blkg->blkcg); in weight_updated()
1886 pr_cont_cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup); in transfer_surpluses()
2903 struct blkcg *blkcg) in ioc_pd_alloc() argument
2905 int levels = blkcg->css.cgroup->level + 1; in ioc_pd_alloc()
2946 iocg->level = blkg->blkcg->css.cgroup->level; in ioc_pd_init()
3030 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in ioc_weight_show() local
3031 struct ioc_cgrp *iocc = blkcg_to_iocc(blkcg); in ioc_weight_show()
3034 blkcg_print_blkgs(sf, blkcg, ioc_weight_prfill, in ioc_weight_show()
3042 struct blkcg *blkcg = css_to_blkcg(of_css(of)); in ioc_weight_write() local
3043 struct ioc_cgrp *iocc = blkcg_to_iocc(blkcg); in ioc_weight_write()
3059 spin_lock_irq(&blkcg->lock); in ioc_weight_write()
3061 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in ioc_weight_write()
3071 spin_unlock_irq(&blkcg->lock); in ioc_weight_write()
3076 ret = blkg_conf_prep(blkcg, &blkcg_policy_iocost, buf, &ctx); in ioc_weight_write()
3131 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in ioc_qos_show() local
3133 blkcg_print_blkgs(sf, blkcg, ioc_qos_prfill, in ioc_qos_show()
3298 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in ioc_cost_model_show() local
3300 blkcg_print_blkgs(sf, blkcg, ioc_cost_model_prfill, in ioc_cost_model_show()