Searched refs:iocg (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/block/ |
| D | blk-iocost.c | 196 #define TRACE_IOCG_PATH(type, iocg, ...) \ argument 201 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \ 203 trace_iocost_##type(iocg, trace_iocg_path, \ 210 #define TRACE_IOCG_PATH(type, iocg, ...) do { } while (0) argument 524 struct ioc_gq *iocg; member 644 static struct blkcg_gq *iocg_to_blkg(struct ioc_gq *iocg) in iocg_to_blkg() argument 646 return pd_to_blkg(&iocg->pd); in iocg_to_blkg() 672 static void iocg_commit_bio(struct ioc_gq *iocg, struct bio *bio, u64 cost) in iocg_commit_bio() argument 675 atomic64_add(cost, &iocg->vtime); in iocg_commit_bio() 894 static void __propagate_active_weight(struct ioc_gq *iocg, u32 active, u32 inuse) in __propagate_active_weight() argument [all …]
|
| /Linux-v5.4/include/trace/events/ |
| D | iocost.h | 16 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, 19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime), 22 __string(devname, ioc_name(iocg->ioc)) 38 __assign_str(devname, ioc_name(iocg->ioc)); 45 __entry->last_vtime = iocg->last_vtime; 47 __entry->weight = iocg->weight; 48 __entry->inuse = iocg->inuse; 49 __entry->hweight_active = iocg->hweight_active; 50 __entry->hweight_inuse = iocg->hweight_inuse; 67 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, [all …]
|
| /Linux-v5.4/tools/cgroup/ |
| D | iocost_monitor.py | 141 def __init__(self, iocg): argument 142 ioc = iocg.ioc 143 blkg = iocg.pd.blkg 145 self.is_active = not list_empty(iocg.active_list.address_of_()) 146 self.weight = iocg.weight.value_() 147 self.active = iocg.active.value_() 148 self.inuse = iocg.inuse.value_() 149 self.hwa_pct = iocg.hweight_active.value_() * 100 / HWEIGHT_WHOLE 150 self.hwi_pct = iocg.hweight_inuse.value_() * 100 / HWEIGHT_WHOLE 151 self.address = iocg.value_() [all …]
|