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()
1151 struct blkcg_gq *blkg; in tg_conf_updated() local
1165 blkg_for_each_descendant_pre(blkg, pos_css, tg_to_blkg(tg)) in tg_conf_updated()
1166 tg_update_has_rules(blkg_to_tg(blkg)); in tg_conf_updated()
1204 tg = blkg_to_tg(ctx.blkg); in tg_set_conf()
1272 const char *dname = blkg_dev_name(pd->blkg); in tg_prfill_max()
1315 tg = blkg_to_tg(ctx.blkg); in tg_set_max()
1396 bool blk_throtl_bio(struct request_queue *q, struct blkcg_gq *blkg, in blk_throtl_bio() argument
1400 struct throtl_grp *tg = blkg_to_tg(blkg ?: q->root_blkg); in blk_throtl_bio()
1523 struct blkcg_gq *blkg; in blk_throtl_drain() local
1537 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) in blk_throtl_drain()
1538 tg_drain_bios(&blkg_to_tg(blkg)->service_queue); in blk_throtl_drain()