Lines Matching refs:blkcg
409 static struct bfq_group_data *blkcg_to_bfqgd(struct blkcg *blkcg) in blkcg_to_bfqgd() argument
411 return cpd_to_bfqgd(blkcg_to_cpd(blkcg, &blkcg_policy_bfq)); in blkcg_to_bfqgd()
461 struct bfq_group_data *d = blkcg_to_bfqgd(blkg->blkcg); in bfq_pd_init()
500 struct blkcg *blkcg) in bfq_lookup_bfqg() argument
504 blkg = blkg_lookup(blkcg, bfqd->queue); in bfq_lookup_bfqg()
511 struct blkcg *blkcg) in bfq_find_set_group() argument
516 bfqg = bfq_lookup_bfqg(bfqd, blkcg); in bfq_find_set_group()
605 struct blkcg *blkcg) in __bfq_bic_change_cgroup() argument
612 bfqg = bfq_find_set_group(bfqd, blkcg); in __bfq_bic_change_cgroup()
841 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in bfq_io_show_weight() local
842 struct bfq_group_data *bfqgd = blkcg_to_bfqgd(blkcg); in bfq_io_show_weight()
857 struct blkcg *blkcg = css_to_blkcg(css); in bfq_io_set_weight_legacy() local
858 struct bfq_group_data *bfqgd = blkcg_to_bfqgd(blkcg); in bfq_io_set_weight_legacy()
866 spin_lock_irq(&blkcg->lock); in bfq_io_set_weight_legacy()
868 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in bfq_io_set_weight_legacy()
900 spin_unlock_irq(&blkcg->lock); in bfq_io_set_weight_legacy()
1209 struct bfq_group *bfq_find_set_group(struct bfq_data *bfqd, struct blkcg *blkcg) in bfq_find_set_group() argument