Home
last modified time | relevance | path

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

/kernel/sched/
Dloadavg.c246 fixed_power_int(unsigned long x, unsigned int frac_bits, unsigned int n) in fixed_power_int() argument
248 unsigned long result = 1UL << frac_bits; in fixed_power_int()
254 result += 1UL << (frac_bits - 1); in fixed_power_int()
255 result >>= frac_bits; in fixed_power_int()
261 x += 1UL << (frac_bits - 1); in fixed_power_int()
262 x >>= frac_bits; in fixed_power_int()