Lines Matching refs:blkcg
1552 cfqg->weight = blkg->blkcg->cfq_weight; in cfq_pd_init()
1553 cfqg->leaf_weight = blkg->blkcg->cfq_leaf_weight; in cfq_pd_init()
1608 struct blkcg *blkcg) in cfq_lookup_create_cfqg() argument
1614 if (blkcg == &blkcg_root) { in cfq_lookup_create_cfqg()
1619 blkg = blkg_lookup_create(blkcg, q); in cfq_lookup_create_cfqg()
1690 struct blkcg *blkcg = css_to_blkcg(of_css(of)); in __cfqg_set_weight_device() local
1695 ret = blkg_conf_prep(blkcg, &blkcg_policy_cfq, buf, &ctx); in __cfqg_set_weight_device()
1704 cfqg->new_weight = ctx.v ?: blkcg->cfq_weight; in __cfqg_set_weight_device()
1707 cfqg->new_leaf_weight = ctx.v ?: blkcg->cfq_leaf_weight; in __cfqg_set_weight_device()
1731 struct blkcg *blkcg = css_to_blkcg(css); in __cfq_set_weight() local
1737 spin_lock_irq(&blkcg->lock); in __cfq_set_weight()
1740 blkcg->cfq_weight = val; in __cfq_set_weight()
1742 blkcg->cfq_leaf_weight = val; in __cfq_set_weight()
1744 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in __cfq_set_weight()
1752 cfqg->new_weight = blkcg->cfq_weight; in __cfq_set_weight()
1755 cfqg->new_leaf_weight = blkcg->cfq_leaf_weight; in __cfq_set_weight()
1759 spin_unlock_irq(&blkcg->lock); in __cfq_set_weight()
2005 struct blkcg *blkcg) in cfq_lookup_create_cfqg() argument
3584 struct blkcg *blkcg; in cfq_find_alloc_queue() local
3591 blkcg = bio_blkcg(bio); in cfq_find_alloc_queue()
3592 cfqg = cfq_lookup_create_cfqg(cfqd, blkcg); in cfq_find_alloc_queue()