Searched refs:blkg (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/block/ |
D | blk-cgroup.c | 64 static void blkg_free(struct blkcg_gq *blkg) in blkg_free() argument 68 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 …]
|
D | blk-throttle.c | 164 static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg) in blkg_to_tg() argument 166 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() local 355 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() 1151 struct blkcg_gq *blkg; in tg_conf_updated() local 1165 blkg_for_each_descendant_pre(blkg, pos_css, tg_to_blkg(tg)) in tg_conf_updated() 1166 tg_update_has_rules(blkg_to_tg(blkg)); in tg_conf_updated() 1204 tg = blkg_to_tg(ctx.blkg); in tg_set_conf() [all …]
|
D | cfq-iosched.c | 618 static inline struct cfq_group *blkg_to_cfqg(struct blkcg_gq *blkg) in blkg_to_cfqg() argument 620 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() local 1682 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() local 1842 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in __cfq_set_weight() [all …]
|
D | blk-core.c | 69 clear_wb_congested(rl->blkg->wb_congested, sync); in blk_clear_congested() 83 set_wb_congested(rl->blkg->wb_congested, sync); in blk_set_congested()
|
/linux-4.4.14/include/linux/ |
D | blk-cgroup.h | 87 struct blkcg_gq *blkg; member 188 const char *blkg_dev_name(struct blkcg_gq *blkg); 205 u64 blkg_stat_recursive_sum(struct blkcg_gq *blkg, 207 struct blkg_rwstat blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, 212 struct blkcg_gq *blkg; member 270 struct blkcg_gq *blkg; in __blkg_lookup() local 275 blkg = rcu_dereference(blkcg->blkg_hint); in __blkg_lookup() 276 if (blkg && blkg->q == q) in __blkg_lookup() 277 return blkg; in __blkg_lookup() 308 static inline struct blkg_policy_data *blkg_to_pd(struct blkcg_gq *blkg, in blkg_to_pd() argument [all …]
|
D | blkdev.h | 58 struct blkcg_gq *blkg; /* blkg this request pool belongs to */ member
|