Searched refs:blkg (Results 1 – 11 of 11) sorted by relevance
/linux/block/ |
A D | blk-cgroup.c | 78 if (!blkg) in blkg_free() 160 if (!blkg) in blkg_alloc() 194 pd->blkg = blkg; in blkg_alloc() 217 if (blkg && blkg->q == q) { in blkg_lookup_slowpath() 336 if (blkg) in blkg_lookup_create() 476 memset(&blkg->iostat, 0, sizeof(blkg->iostat)); in blkcg_reset_stats() 493 if (!blkg->q->disk || !blkg->q->disk->bdi->dev) in blkg_dev_name() 716 ctx->blkg = blkg; in blkg_conf_prep() 1355 pd->blkg = blkg; in blkcg_activate_policy() 1663 blkg = blkg->parent; in blkcg_maybe_throttle_blkg() [all …]
|
A D | blk-iolatency.c | 470 while (blkg && blkg->parent) { in blkcg_iolatency_throttle() 473 blkg = blkg->parent; in blkcg_iolatency_throttle() 480 blkg = blkg->parent; in blkcg_iolatency_throttle() 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() 714 blkg_put(blkg); in blkiolatency_timer_fn() 773 if (blkg->parent) { in iolatency_clear_scaling() 832 blkg = ctx.blkg; in iolatency_set_limit() 842 blkg_get(blkg); in iolatency_set_limit() [all …]
|
A D | bfq-cgroup.c | 544 struct blkcg_gq *blkg = pd_to_blkg(pd); in bfq_pd_init() local 545 struct bfq_group *bfqg = blkg_to_bfqg(blkg); in bfq_pd_init() 591 struct blkcg_gq *blkg; in bfq_lookup_bfqg() local 593 blkg = blkg_lookup(blkcg, bfqd->queue); in bfq_lookup_bfqg() 594 if (likely(blkg)) in bfq_lookup_bfqg() 595 return blkg_to_bfqg(blkg); in bfq_lookup_bfqg() 951 struct blkcg_gq *blkg; in bfq_end_wr_async() local 1035 struct blkcg_gq *blkg; in bfq_io_set_weight_legacy() local 1081 bfqg = blkg_to_bfqg(ctx.blkg); in bfq_io_set_device_weight() 1148 struct blkcg_gq *blkg = pd_to_blkg(pd); in bfqg_prfill_stat_recursive() local [all …]
|
A D | blk-cgroup-rwstat.c | 52 const char *dname = blkg_dev_name(pd->blkg); in __blkg_prfill_rwstat() 103 void blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, struct blkcg_policy *pol, in blkg_rwstat_recursive_sum() argument 110 lockdep_assert_held(&blkg->q->queue_lock); in blkg_rwstat_recursive_sum() 114 blkg_for_each_descendant_pre(pos_blkg, pos_css, blkg) { in blkg_rwstat_recursive_sum()
|
A D | blk-throttle.c | 450 struct blkcg_gq *blkg; in blk_throtl_update_limit_valid() local 1266 struct blkcg_gq *blkg; in tg_conf_updated() local 1288 !blkg->parent->parent) in tg_conf_updated() 1337 tg = blkg_to_tg(ctx.blkg); in tg_set_conf() 1523 tg = blkg_to_tg(ctx.blkg); in tg_set_limit() 1769 struct blkcg_gq *blkg; in throtl_can_upgrade() local 1817 struct blkcg_gq *blkg; in throtl_upgrade_state() local 2207 struct blkcg_gq *blkg; in blk_throtl_bio_endio() local 2215 blkg = bio->bi_blkg; in blk_throtl_bio_endio() 2216 if (!blkg) in blk_throtl_bio_endio() [all …]
|
A D | blk-throttle.h | 149 static inline struct throtl_grp *blkg_to_tg(struct blkcg_gq *blkg) in blkg_to_tg() argument 151 return pd_to_tg(blkg_to_pd(blkg, &blkcg_policy_throtl)); in blkg_to_tg()
|
A D | blk-iocost.c | 1229 struct blkcg_gq *blkg = iocg_to_blkg(iocg); in weight_updated() local 1329 struct blkcg_gq *blkg = iocg_to_blkg(iocg); in iocg_kick_delay() local 1378 blkcg_clear_delay(blkg); in iocg_kick_delay() 2559 struct blkcg_gq *blkg = bio->bi_blkg; in ioc_rqos_throttle() local 2561 struct ioc_gq *iocg = blkg_to_iocg(blkg); in ioc_rqos_throttle() 2937 struct ioc *ioc = q_to_ioc(blkg->q); in ioc_pd_init() 3026 const char *dname = blkg_dev_name(pd->blkg); in ioc_weight_prfill() 3058 struct blkcg_gq *blkg; in ioc_weight_write() local 3069 struct ioc_gq *iocg = blkg_to_iocg(blkg); in ioc_weight_write() 3087 iocg = blkg_to_iocg(ctx.blkg); in ioc_weight_write() [all …]
|
A D | blk-cgroup-rwstat.h | 48 void blkg_rwstat_recursive_sum(struct blkcg_gq *blkg, struct blkcg_policy *pol,
|
A D | blk-ioprio.c | 91 return blkcg_to_ioprio_blkcg(pd->blkg->blkcg); in ioprio_blkcg_from_bio()
|
/linux/include/linux/ |
A D | blk-cgroup.h | 92 struct blkcg_gq *blkg; member 206 struct blkcg_gq *blkg; member 335 struct blkcg_gq *blkg; in __blkg_lookup() local 341 if (blkg && blkg->q == q) in __blkg_lookup() 342 return blkg; in __blkg_lookup() 383 return blkg ? blkg->pd[pol->plid] : NULL; in blkg_to_pd() 400 return pd ? pd->blkg : NULL; in pd_to_blkg() 463 percpu_ref_get(&blkg->refcnt); in blkg_get() 475 return blkg && percpu_ref_tryget(&blkg->refcnt); in blkg_tryget() 484 percpu_ref_put(&blkg->refcnt); in blkg_put() [all …]
|
/linux/tools/cgroup/ |
A D | iocost_monitor.py | 74 blkg = drgn.Object(prog, 'struct blkcg_gq', 76 if not blkg.address_: 79 self.blkgs.append((path if path else '/', blkg)) 143 blkg = iocg.pd.blkg 165 if blkg.use_delay.counter.value_() != 0: 222 blkg = drgn.Object(prog, 'struct blkcg_gq', address=ptr) variable 225 q_id = blkg.q.id.value_() 226 if blkg.pd[plid]: 251 for path, blkg in BlkgIterator(blkcg_root, q_id): 254 if not blkg.pd[plid]: [all …]
|
Completed in 31 milliseconds