Lines Matching refs:tg_to_blkg
92 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg() function
149 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_bps_limit()
179 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_iops_limit()
230 &tg_to_blkg(__tg)->blkcg->css, "throtl " fmt, ##args);\
267 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio()
321 blkg_put(tg_to_blkg(qn->tg)); in throtl_pop_queued()
390 struct blkcg_gq *blkg = tg_to_blkg(tg); in throtl_pd_init()
1091 blkg_put(tg_to_blkg(tg_to_put)); in tg_dispatch_one_bio()
1337 global ? tg->td->queue->root_blkg : tg_to_blkg(tg)) { in tg_conf_updated()
1852 if (!tg || !tg_to_blkg(tg)->parent) in throtl_hierarchy_can_upgrade()
1876 if (!list_empty(&tg_to_blkg(tg)->blkcg->css.children)) in throtl_can_upgrade()
1958 !list_empty(&tg_to_blkg(tg)->blkcg->css.children))) in throtl_tg_can_downgrade()
1969 if (!tg || !tg_to_blkg(tg)->parent) in throtl_hierarchy_can_downgrade()
1985 if (!list_empty(&tg_to_blkg(tg)->blkcg->css.children)) in throtl_downgrade_check()