Searched refs:period_2 (Results 1 – 1 of 1) sorted by relevance
278 unsigned long period_2 = 1UL << (pg->shift - 1); in __prop_inc_percpu_max() local279 unsigned long counter_mask = period_2 - 1; in __prop_inc_percpu_max()285 denominator = period_2 + (global_count & counter_mask); in __prop_inc_percpu_max()308 unsigned long period_2 = 1UL << (pg->shift - 1); in prop_fraction_percpu() local309 unsigned long counter_mask = period_2 - 1; in prop_fraction_percpu()316 *denominator = period_2 + (global_count & counter_mask); in prop_fraction_percpu()396 unsigned long period_2 = 1UL << (pg->shift - 1); in prop_fraction_single() local397 unsigned long counter_mask = period_2 - 1; in prop_fraction_single()404 *denominator = period_2 + (global_count & counter_mask); in prop_fraction_single()