Lines Matching refs:blkg
164 static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg) in blkg_to_tg() argument
166 return pd_to_tg(blkg_to_pd(blkg, &blkcg_policy_throtl)); in blkg_to_tg()
354 struct blkcg_gq *blkg = tg_to_blkg(tg); in throtl_pd_init() local
355 struct throtl_data *td = blkg->q->td; in throtl_pd_init()
372 if (cgroup_subsys_on_dfl(io_cgrp_subsys) && blkg->parent) in throtl_pd_init()
373 sq->parent_sq = &blkg_to_tg(blkg->parent)->service_queue; in throtl_pd_init()
1162 struct blkcg_gq *blkg; in tg_conf_updated() local
1176 blkg_for_each_descendant_pre(blkg, pos_css, tg_to_blkg(tg)) in tg_conf_updated()
1177 tg_update_has_rules(blkg_to_tg(blkg)); in tg_conf_updated()
1215 tg = blkg_to_tg(ctx.blkg); in tg_set_conf()
1283 const char *dname = blkg_dev_name(pd->blkg); in tg_prfill_max()
1326 tg = blkg_to_tg(ctx.blkg); in tg_set_max()
1407 bool blk_throtl_bio(struct request_queue *q, struct blkcg_gq *blkg, in blk_throtl_bio() argument
1411 struct throtl_grp *tg = blkg_to_tg(blkg ?: q->root_blkg); in blk_throtl_bio()
1534 struct blkcg_gq *blkg; in blk_throtl_drain() local
1548 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) in blk_throtl_drain()
1549 tg_drain_bios(&blkg_to_tg(blkg)->service_queue); in blk_throtl_drain()