Lines Matching refs:global_period
216 unsigned long global_period;
219 global_period = percpu_counter_read(&pg->events);
220 global_period &= period_mask;
226 if (pl->period == global_period)
235 * pl->events >> (global_period - pl->period);
237 period = (global_period - pl->period) >> (pg->shift - 1);
249 pl->period = global_period;
346 unsigned long global_period;
349 global_period = percpu_counter_read(&pg->events);
350 global_period &= period_mask;
356 if (pl->period == global_period)
364 period = (global_period - pl->period) >> (pg->shift - 1);
369 pl->period = global_period;