Searched refs:blkg (Results 1 – 5 of 5) sorted by relevance
/block/ |
D | blk-cgroup.c | 65 static void blkg_free(struct blkcg_gq *blkg) in blkg_free() argument 69 if (!blkg) in blkg_free() 73 if (blkg->pd[i]) in blkg_free() 74 blkcg_policy[i]->pd_free_fn(blkg->pd[i]); in blkg_free() 76 if (blkg->blkcg != &blkcg_root) in blkg_free() 77 blk_exit_rl(blkg->q, &blkg->rl); in blkg_free() 79 blkg_rwstat_exit(&blkg->stat_ios); in blkg_free() 80 blkg_rwstat_exit(&blkg->stat_bytes); in blkg_free() 81 kfree(blkg); in blkg_free() 95 struct blkcg_gq *blkg; in blkg_alloc() local [all …]
|
D | bfq-cgroup.c | 171 static struct bfq_group *blkg_to_bfqg(struct blkcg_gq *blkg) in blkg_to_bfqg() argument 173 return pd_to_bfqg(blkg_to_pd(blkg, &blkcg_policy_bfq)); in blkg_to_bfqg() 431 struct blkcg_gq *blkg = pd_to_blkg(pd); in bfq_pd_init() local 432 struct bfq_group *bfqg = blkg_to_bfqg(blkg); in bfq_pd_init() 433 struct bfq_data *bfqd = blkg->q->elevator->elevator_data; in bfq_pd_init() 435 struct bfq_group_data *d = blkcg_to_bfqgd(blkg->blkcg); in bfq_pd_init() 476 struct blkcg_gq *blkg; in bfq_lookup_bfqg() local 478 blkg = blkg_lookup(blkcg, bfqd->queue); in bfq_lookup_bfqg() 479 if (likely(blkg)) in bfq_lookup_bfqg() 480 return blkg_to_bfqg(blkg); in bfq_lookup_bfqg() [all …]
|
D | blk-throttle.c | 235 static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg) in blkg_to_tg() argument 237 return pd_to_tg(blkg_to_pd(blkg, &blkcg_policy_throtl)); in blkg_to_tg() 297 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_bps_limit() local 301 if (cgroup_subsys_on_dfl(io_cgrp_subsys) && !blkg->parent) in tg_bps_limit() 308 if (!list_empty(&blkg->blkcg->css.children) || in tg_bps_limit() 327 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_iops_limit() local 331 if (cgroup_subsys_on_dfl(io_cgrp_subsys) && !blkg->parent) in tg_iops_limit() 338 if (!list_empty(&blkg->blkcg->css.children) || in tg_iops_limit() 523 struct blkcg_gq *blkg = tg_to_blkg(tg); in throtl_pd_init() local 524 struct throtl_data *td = blkg->q->td; in throtl_pd_init() [all …]
|
D | cfq-iosched.c | 627 static inline struct cfq_group *blkg_to_cfqg(struct blkcg_gq *blkg) in blkg_to_cfqg() argument 629 return pd_to_cfqg(blkg_to_pd(blkg, &blkcg_policy_cfq)); in blkg_to_cfqg() 1646 struct cfq_group_data *cgd = blkcg_to_cfqgd(pd->blkg->blkcg); in cfq_pd_init() 1695 struct blkcg_gq *blkg; in cfq_lookup_cfqg() local 1697 blkg = blkg_lookup(blkcg, cfqd->queue); in cfq_lookup_cfqg() 1698 if (likely(blkg)) in cfq_lookup_cfqg() 1699 return blkg_to_cfqg(blkg); in cfq_lookup_cfqg() 1814 cfqg = blkg_to_cfqg(ctx.blkg); in __cfqg_set_weight_device() 1851 struct blkcg_gq *blkg; in __cfq_set_weight() local 1870 hlist_for_each_entry(blkg, &blkcg->blkg_list, blkcg_node) { in __cfq_set_weight() [all …]
|
D | blk-core.c | 76 clear_wb_congested(rl->blkg->wb_congested, sync); in blk_clear_congested() 90 set_wb_congested(rl->blkg->wb_congested, sync); in blk_set_congested()
|