Lines Matching refs:total_period
99 * When total_period >= (1 << ACCOUNT_INTERVAL_SHIFT) the counters are divided
141 t->total_period += difference;
146 if (unlikely(t->io_period > t->total_period))
147 t->io_period = t->total_period;
149 if (unlikely(t->total_period >= (1 << ACCOUNT_INTERVAL_SHIFT))) {
150 int shift = fls(t->total_period >> ACCOUNT_INTERVAL_SHIFT);
151 t->total_period >>= shift;
155 skew = t->io_period - throttle * t->total_period / 100;
192 t->total_period += difference;
197 if (unlikely(t->io_period > t->total_period))
198 t->io_period = t->total_period;