Lines Matching refs:blkcg
493 static struct bfq_group_data *blkcg_to_bfqgd(struct blkcg *blkcg) in blkcg_to_bfqgd() argument
495 return cpd_to_bfqgd(blkcg_to_cpd(blkcg, &blkcg_policy_bfq)); in blkcg_to_bfqgd()
522 struct blkcg *blkcg) in bfq_pd_alloc() argument
546 struct bfq_group_data *d = blkcg_to_bfqgd(blkg->blkcg); in bfq_pd_init()
587 struct blkcg *blkcg) in bfq_lookup_bfqg() argument
591 blkg = blkg_lookup(blkcg, bfqd->queue); in bfq_lookup_bfqg()
598 struct blkcg *blkcg) in bfq_find_set_group() argument
603 bfqg = bfq_lookup_bfqg(bfqd, blkcg); in bfq_find_set_group()
708 struct blkcg *blkcg) in __bfq_bic_change_cgroup() argument
715 bfqg = bfq_find_set_group(bfqd, blkcg); in __bfq_bic_change_cgroup()
961 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in bfq_io_show_weight_legacy() local
962 struct bfq_group_data *bfqgd = blkcg_to_bfqgd(blkcg); in bfq_io_show_weight_legacy()
985 struct blkcg *blkcg = css_to_blkcg(seq_css(sf)); in bfq_io_show_weight() local
986 struct bfq_group_data *bfqgd = blkcg_to_bfqgd(blkcg); in bfq_io_show_weight()
989 blkcg_print_blkgs(sf, blkcg, bfqg_prfill_weight_device, in bfq_io_show_weight()
1031 struct blkcg *blkcg = css_to_blkcg(css); in bfq_io_set_weight_legacy() local
1032 struct bfq_group_data *bfqgd = blkcg_to_bfqgd(blkcg); in bfq_io_set_weight_legacy()
1040 spin_lock_irq(&blkcg->lock); in bfq_io_set_weight_legacy()
1042 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in bfq_io_set_weight_legacy()
1048 spin_unlock_irq(&blkcg->lock); in bfq_io_set_weight_legacy()
1059 struct blkcg *blkcg = css_to_blkcg(of_css(of)); in bfq_io_set_device_weight() local
1063 ret = blkg_conf_prep(blkcg, &blkcg_policy_bfq, buf, &ctx); in bfq_io_set_device_weight()
1425 struct bfq_group *bfq_find_set_group(struct bfq_data *bfqd, struct blkcg *blkcg) in bfq_find_set_group() argument