Searched refs:max_frac (Results 1 – 2 of 2) sorted by relevance
261 struct fprop_local_percpu *pl, int max_frac, long nr) in __fprop_add_percpu_max() argument263 if (unlikely(max_frac < FPROP_FRAC_BASE)) { in __fprop_add_percpu_max()269 tmp = (u64)denominator * max_frac - in __fprop_add_percpu_max()274 } else if (tmp < nr * (FPROP_FRAC_BASE - max_frac)) { in __fprop_add_percpu_max()276 nr = div_u64(tmp + FPROP_FRAC_BASE - max_frac - 1, in __fprop_add_percpu_max()277 FPROP_FRAC_BASE - max_frac); in __fprop_add_percpu_max()
89 struct fprop_local_percpu *pl, int max_frac, long nr);
Completed in 4 milliseconds