Searched refs:blkg (Results 1 – 4 of 4) sorted by relevance
64 static void blkg_free(struct blkcg_gq *blkg) in blkg_free() argument68 if (!blkg) in blkg_free()72 if (blkg->pd[i]) in blkg_free()73 blkcg_policy[i]->pd_free_fn(blkg->pd[i]); in blkg_free()75 if (blkg->blkcg != &blkcg_root) in blkg_free()76 blk_exit_rl(&blkg->rl); in blkg_free()78 blkg_rwstat_exit(&blkg->stat_ios); in blkg_free()79 blkg_rwstat_exit(&blkg->stat_bytes); in blkg_free()80 kfree(blkg); in blkg_free()94 struct blkcg_gq *blkg; in blkg_alloc() local[all …]
164 static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg) in blkg_to_tg() argument166 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() local355 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()1162 struct blkcg_gq *blkg; in tg_conf_updated() local1176 blkg_for_each_descendant_pre(blkg, pos_css, tg_to_blkg(tg)) in tg_conf_updated()1177 tg_update_has_rules(blkg_to_tg(blkg)); in tg_conf_updated()1215 tg = blkg_to_tg(ctx.blkg); in tg_set_conf()[all …]
618 static inline struct cfq_group *blkg_to_cfqg(struct blkcg_gq *blkg) in blkg_to_cfqg() argument620 return pd_to_cfqg(blkg_to_pd(blkg, &blkcg_policy_cfq)); in blkg_to_cfqg()1632 struct cfq_group_data *cgd = blkcg_to_cfqgd(pd->blkg->blkcg); in cfq_pd_init()1680 struct blkcg_gq *blkg; in cfq_lookup_cfqg() local1682 blkg = blkg_lookup(blkcg, cfqd->queue); in cfq_lookup_cfqg()1683 if (likely(blkg)) in cfq_lookup_cfqg()1684 return blkg_to_cfqg(blkg); in cfq_lookup_cfqg()1786 cfqg = blkg_to_cfqg(ctx.blkg); in __cfqg_set_weight_device()1823 struct blkcg_gq *blkg; in __cfq_set_weight() local1842 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in __cfq_set_weight()[all …]
71 clear_wb_congested(rl->blkg->wb_congested, sync); in blk_clear_congested()85 set_wb_congested(rl->blkg->wb_congested, sync); in blk_set_congested()