Home
last modified time | relevance | path

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

/kernel/sched/
Dloadavg.c109 fixed_power_int(unsigned long x, unsigned int frac_bits, unsigned int n) in fixed_power_int() argument
111 unsigned long result = 1UL << frac_bits; in fixed_power_int()
117 result += 1UL << (frac_bits - 1); in fixed_power_int()
118 result >>= frac_bits; in fixed_power_int()
124 x += 1UL << (frac_bits - 1); in fixed_power_int()
125 x >>= frac_bits; in fixed_power_int()