Home
last modified time | relevance | path

Searched refs:max_frac (Results 1 – 2 of 2) sorted by relevance

/linux/lib/
A Dflex_proportions.c261 struct fprop_local_percpu *pl, int max_frac, long nr) in __fprop_add_percpu_max() argument
263 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()
/linux/include/linux/
A Dflex_proportions.h89 struct fprop_local_percpu *pl, int max_frac, long nr);

Completed in 4 milliseconds