Lines Matching refs:tg_to_blkg
244 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg() function
301 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_bps_limit()
331 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_iops_limit()
382 tg_to_blkg(__tg)->blkcg, "throtl " fmt, ##args);\
419 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio()
473 blkg_put(tg_to_blkg(qn->tg)); in throtl_pop_queued()
542 struct blkcg_gq *blkg = tg_to_blkg(tg); in throtl_pd_init()
1184 blkg_put(tg_to_blkg(tg_to_put)); in tg_dispatch_one_bio()
1420 global ? tg->td->queue->root_blkg : tg_to_blkg(tg)) { in tg_conf_updated()
1898 if (!tg || !tg_to_blkg(tg)->parent) in throtl_hierarchy_can_upgrade()
1922 if (!list_empty(&tg_to_blkg(tg)->blkcg->css.children)) in throtl_can_upgrade()
2004 !list_empty(&tg_to_blkg(tg)->blkcg->css.children))) in throtl_tg_can_downgrade()
2015 if (!tg || !tg_to_blkg(tg)->parent) in throtl_hierarchy_can_downgrade()
2031 if (!list_empty(&tg_to_blkg(tg)->blkcg->css.children)) in throtl_downgrade_check()