Lines Matching refs:blkg

149 	struct blkcg_gq *blkg = tg_to_blkg(tg);
153 if (cgroup_subsys_on_dfl(io_cgrp_subsys) && !blkg->parent)
160 if (!list_empty(&blkg->blkcg->css.children) ||
179 struct blkcg_gq *blkg = tg_to_blkg(tg);
183 if (cgroup_subsys_on_dfl(io_cgrp_subsys) && !blkg->parent)
190 if (!list_empty(&blkg->blkcg->css.children) ||
389 struct blkcg_gq *blkg = tg_to_blkg(tg);
390 struct throtl_data *td = blkg->q->td;
408 if (cgroup_subsys_on_dfl(io_cgrp_subsys) && blkg->parent)
409 sq->parent_sq = &blkg_to_tg(blkg->parent)->service_queue;
450 struct blkcg_gq *blkg;
454 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) {
455 struct throtl_grp *tg = blkg_to_tg(blkg);
1181 /* throtl_data may be gone, so figure out request queue by blkg */
1183 q = tg->pd.blkg->q;
1316 struct blkcg_gq *blkg;
1331 blkg_for_each_descendant_pre(blkg, pos_css,
1333 struct throtl_grp *this_tg = blkg_to_tg(blkg);
1338 if (!cgroup_subsys_on_dfl(io_cgrp_subsys) || !blkg->parent ||
1339 !blkg->parent->parent)
1341 parent_tg = blkg_to_tg(blkg->parent);
1391 tg = blkg_to_tg(ctx.blkg);
1496 const char *dname = blkg_dev_name(pd->blkg);
1580 tg = blkg_to_tg(ctx.blkg);
1723 struct blkcg_gq *blkg;
1732 blkg_for_each_descendant_post(blkg, pos_css, q->root_blkg) {
1733 struct throtl_grp *tg = blkg_to_tg(blkg);
1877 struct blkcg_gq *blkg;
1886 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) {
1887 struct throtl_grp *tg = blkg_to_tg(blkg);
1925 struct blkcg_gq *blkg;
1932 blkg_for_each_descendant_post(blkg, pos_css, td->queue->root_blkg) {
1933 struct throtl_grp *tg = blkg_to_tg(blkg);
2179 struct blkcg_gq *blkg = bio->bi_blkg;
2181 struct throtl_grp *tg = blkg_to_tg(blkg);
2315 struct blkcg_gq *blkg;
2323 blkg = bio->bi_blkg;
2324 if (!blkg)
2326 tg = blkg_to_tg(blkg);