Home
last modified time | relevance | path

Searched refs:blkg (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/block/
H A Dblk-cgroup.c158 if (!blkg) in blkg_free()
325 blkg->iostat.blkg = blkg; in blkg_alloc()
335 per_cpu_ptr(blkg->iostat_cpu, cpu)->blkg = blkg; in blkg_alloc()
350 pd->blkg = blkg; in blkg_alloc()
481 if (blkg) in blkg_lookup_create()
548 if (blkg->pd[i] && blkg->pd[i]->online) { in blkg_destroy()
961 ctx->blkg = blkg; in blkg_conf_prep()
1086 struct blkcg_gq *blkg = bisc->blkg; in __blkcg_rstat_flush() local
1660 pd->blkg = blkg; in blkcg_activate_policy()
1969 blkg = blkg->parent; in blkcg_maybe_throttle_blkg()
[all …]
H A Dblk-cgroup.h48 struct blkcg_gq *blkg; member
140 struct blkcg_gq *blkg; member
217 struct blkcg_gq *blkg; member
258 struct blkcg_gq *blkg; in blkg_lookup() local
265 if (blkg && blkg->q == q) in blkg_lookup()
266 return blkg; in blkg_lookup()
269 if (blkg && blkg->q != q) in blkg_lookup()
270 blkg = NULL; in blkg_lookup()
271 return blkg; in blkg_lookup()
284 return blkg ? blkg->pd[pol->plid] : NULL; in blkg_to_pd()
[all …]
H A Dblk-iolatency.c472 while (blkg && blkg->parent) { in blkcg_iolatency_throttle()
475 blkg = blkg->parent; in blkcg_iolatency_throttle()
482 blkg = blkg->parent; in blkcg_iolatency_throttle()
601 blkg = bio->bi_blkg; in blkcg_iolatency_done_bio()
613 while (blkg && blkg->parent) { in blkcg_iolatency_done_bio()
616 blkg = blkg->parent; in blkcg_iolatency_done_bio()
639 blkg = blkg->parent; in blkcg_iolatency_done_bio()
715 blkg_put(blkg); in blkiolatency_timer_fn()
813 if (blkg->parent) { in iolatency_clear_scaling()
887 blkg = ctx.blkg; in iolatency_set_limit()
[all …]
H A Dbfq-cgroup.c531 struct blkcg_gq *blkg = pd_to_blkg(pd); in bfq_pd_init() local
601 struct blkcg_gq *blkg = bio->bi_blkg; in bfq_bio_bfqg() local
604 while (blkg) { in bfq_bio_bfqg()
605 if (!blkg->online) { in bfq_bio_bfqg()
606 blkg = blkg->parent; in bfq_bio_bfqg()
609 bfqg = blkg_to_bfqg(blkg); in bfq_bio_bfqg()
614 blkg = blkg->parent; in bfq_bio_bfqg()
938 struct blkcg_gq *blkg; in bfq_end_wr_async() local
1022 struct blkcg_gq *blkg; in bfq_io_set_weight_legacy() local
1070 bfqg = blkg_to_bfqg(ctx.blkg); in bfq_io_set_device_weight()
[all …]
H A Dblk-cgroup-rwstat.c46 const char *dname = blkg_dev_name(pd->blkg); in __blkg_prfill_rwstat()
97 void blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, struct blkcg_policy *pol, in blkg_rwstat_recursive_sum() argument
104 lockdep_assert_held(&blkg->q->queue_lock); in blkg_rwstat_recursive_sum()
108 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in blkg_rwstat_recursive_sum()
H A Dblk-throttle.c93 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_bps_limit() local
103 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_iops_limit() local
278 struct blkcg_gq *blkg = tg_to_blkg(tg); in throtl_pd_init() local
279 struct throtl_data *td = blkg->q->td; in throtl_pd_init()
1026 q = tg->pd.blkg->q; in throtl_pending_timer_fn()
1156 struct blkcg_gq *blkg; in tg_conf_updated() local
1178 !blkg->parent->parent) in tg_conf_updated()
1279 tg = blkg_to_tg(ctx.blkg); in tg_set_conf()
1457 tg = blkg_to_tg(ctx.blkg); in tg_set_limit()
1580 struct blkcg_gq *blkg; in blk_throtl_cancel_bios() local
[all …]
H A Dblk-throttle.h136 static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg) in blkg_to_tg() argument
138 return pd_to_tg(blkg_to_pd(blkg, &blkcg_policy_throtl)); in blkg_to_tg()
H A Dblk-iocost.c1256 struct blkcg_gq *blkg = iocg_to_blkg(iocg); in weight_updated() local
1356 struct blkcg_gq *blkg = iocg_to_blkg(iocg); in iocg_kick_delay() local
1413 blkcg_clear_delay(blkg); in iocg_kick_delay()
2610 struct blkcg_gq *blkg = bio->bi_blkg; in ioc_rqos_throttle() local
2612 struct ioc_gq *iocg = blkg_to_iocg(blkg); in ioc_rqos_throttle()
2988 struct ioc *ioc = q_to_ioc(blkg->q); in ioc_pd_init()
3075 const char *dname = blkg_dev_name(pd->blkg); in ioc_weight_prfill()
3107 struct blkcg_gq *blkg; in ioc_weight_write() local
3118 struct ioc_gq *iocg = blkg_to_iocg(blkg); in ioc_weight_write()
3138 iocg = blkg_to_iocg(ctx.blkg); in ioc_weight_write()
[all …]
H A Dblk-cgroup-rwstat.h48 void blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, struct blkcg_policy *pol,
/linux-6.15/tools/cgroup/
H A Diocost_monitor.py79 blkg = drgn.Object(prog, 'struct blkcg_gq',
81 if not blkg.address_:
84 self.blkgs.append((path if path else '/', blkg))
146 blkg = iocg.pd.blkg
170 if blkg.use_delay.counter.value_() != 0:
229 blkg = drgn.Object(prog, 'struct blkcg_gq', address=ptr) variable
232 q_id = blkg.q.id.value_()
233 if blkg.pd[plid]:
258 for path, blkg in BlkgIterator(blkcg_root, q_id):
261 if not blkg.pd[plid]:
[all …]