Lines Matching refs:tg_to_blkg
238 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg() function
295 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_bps_limit()
325 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_iops_limit()
376 tg_to_blkg(__tg)->blkcg, "throtl " fmt, ##args);\
413 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio()
465 blkg_put(tg_to_blkg(qn->tg)); in throtl_pop_queued()
520 struct blkcg_gq *blkg = tg_to_blkg(tg); in throtl_pd_init()
1165 blkg_put(tg_to_blkg(tg_to_put)); in tg_dispatch_one_bio()
1397 global ? tg->td->queue->root_blkg : tg_to_blkg(tg)) { in tg_conf_updated()
1849 if (!tg || !tg_to_blkg(tg)->parent) in throtl_hierarchy_can_upgrade()
1873 if (!list_empty(&tg_to_blkg(tg)->blkcg->css.children)) in throtl_can_upgrade()
1955 !list_empty(&tg_to_blkg(tg)->blkcg->css.children))) in throtl_tg_can_downgrade()
1966 if (!tg || !tg_to_blkg(tg)->parent) in throtl_hierarchy_can_downgrade()
1982 if (!list_empty(&tg_to_blkg(tg)->blkcg->css.children)) in throtl_downgrade_check()
2133 if (bio->bi_css && (bio_associate_blkg(bio, tg_to_blkg(tg)) == -ENODEV)) in blk_throtl_assoc_bio()