Lines Matching refs:iocg
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_() / WEIGHT_ONE
147 self.active = iocg.active.value_() / WEIGHT_ONE
148 self.inuse = iocg.inuse.value_() / WEIGHT_ONE
149 self.hwa_pct = iocg.hweight_active.value_() * 100 / WEIGHT_ONE
150 self.hwi_pct = iocg.hweight_inuse.value_() * 100 / WEIGHT_ONE
151 self.address = iocg.value_()
153 vdone = iocg.done_vtime.counter.value_()
154 vtime = iocg.vtime.counter.value_()
162 self.usage = (100 * iocg.usage_delta_us.value_() /
164 self.debt_ms = iocg.abs_vdebt.value_() / VTIME_PER_USEC / 1000
257 iocg = container_of(blkg.pd[plid], 'struct ioc_gq', 'pd') variable
258 iocg_stat = IocgStat(iocg)