• Home
  • Raw
  • Download

Lines Matching refs:blkg

289 static struct bfq_group *blkg_to_bfqg(struct blkcg_gq *blkg)  in blkg_to_bfqg()  argument
291 return pd_to_bfqg(blkg_to_pd(blkg, &blkcg_policy_bfq)); in blkg_to_bfqg()
542 struct blkcg_gq *blkg = pd_to_blkg(pd); in bfq_pd_init() local
543 struct bfq_group *bfqg = blkg_to_bfqg(blkg); in bfq_pd_init()
544 struct bfq_data *bfqd = blkg->q->elevator->elevator_data; in bfq_pd_init()
546 struct bfq_group_data *d = blkcg_to_bfqgd(blkg->blkcg); in bfq_pd_init()
610 struct blkcg_gq *blkg = bio->bi_blkg; in bfq_bio_bfqg() local
613 while (blkg) { in bfq_bio_bfqg()
614 if (!blkg->online) { in bfq_bio_bfqg()
615 blkg = blkg->parent; in bfq_bio_bfqg()
618 bfqg = blkg_to_bfqg(blkg); in bfq_bio_bfqg()
620 bio_associate_blkg_from_css(bio, &blkg->blkcg->css); in bfq_bio_bfqg()
623 blkg = blkg->parent; in bfq_bio_bfqg()
974 struct blkcg_gq *blkg; in bfq_end_wr_async() local
976 list_for_each_entry(blkg, &bfqd->queue->blkg_list, q_node) { in bfq_end_wr_async()
977 struct bfq_group *bfqg = blkg_to_bfqg(blkg); in bfq_end_wr_async()
1058 struct blkcg_gq *blkg; in bfq_io_set_weight_legacy() local
1067 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in bfq_io_set_weight_legacy()
1068 struct bfq_group *bfqg = blkg_to_bfqg(blkg); in bfq_io_set_weight_legacy()
1104 bfqg = blkg_to_bfqg(ctx.blkg); in bfq_io_set_device_weight()
1171 struct blkcg_gq *blkg = pd_to_blkg(pd); in bfqg_prfill_stat_recursive() local
1176 lockdep_assert_held(&blkg->q->queue_lock); in bfqg_prfill_stat_recursive()
1179 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in bfqg_prfill_stat_recursive()
1204 struct bfq_group *bfqg = blkg_to_bfqg(pd->blkg); in bfqg_prfill_sectors()
1222 blkg_rwstat_recursive_sum(pd->blkg, &blkcg_policy_bfq, in bfqg_prfill_sectors_recursive()