Searched refs:max_frac (Results 1 – 2 of 2) sorted by relevance
257 struct fprop_local_percpu *pl, int max_frac, long nr) in __fprop_add_percpu_max() argument259 if (unlikely(max_frac < FPROP_FRAC_BASE)) { in __fprop_add_percpu_max()265 tmp = (u64)denominator * max_frac - in __fprop_add_percpu_max()270 } else if (tmp < nr * (FPROP_FRAC_BASE - max_frac)) { in __fprop_add_percpu_max()272 nr = div_u64(tmp + FPROP_FRAC_BASE - max_frac - 1, in __fprop_add_percpu_max()273 FPROP_FRAC_BASE - max_frac); in __fprop_add_percpu_max()
89 struct fprop_local_percpu *pl, int max_frac, long nr);