Lines Matching refs:total_period
102 * When total_period >= (1 << ACCOUNT_INTERVAL_SHIFT) the counters are divided
144 t->total_period += difference;
149 if (unlikely(t->io_period > t->total_period))
150 t->io_period = t->total_period;
152 if (unlikely(t->total_period >= (1 << ACCOUNT_INTERVAL_SHIFT))) {
153 int shift = fls(t->total_period >> ACCOUNT_INTERVAL_SHIFT);
155 t->total_period >>= shift;
159 skew = t->io_period - throttle * t->total_period / 100;
196 t->total_period += difference;
201 if (unlikely(t->io_period > t->total_period))
202 t->io_period = t->total_period;