Lines Matching refs:n
109 fixed_power_int(unsigned long x, unsigned int frac_bits, unsigned int n) in fixed_power_int() argument
113 if (n) { in fixed_power_int()
115 if (n & 1) { in fixed_power_int()
120 n >>= 1; in fixed_power_int()
121 if (!n) in fixed_power_int()
157 unsigned long active, unsigned int n) in calc_load_n() argument
159 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
306 long delta, active, n; in calc_global_nohz() local
314 n = 1 + (delta / LOAD_FREQ); in calc_global_nohz()
319 avenrun[0] = calc_load_n(avenrun[0], EXP_1, active, n); in calc_global_nohz()
320 avenrun[1] = calc_load_n(avenrun[1], EXP_5, active, n); in calc_global_nohz()
321 avenrun[2] = calc_load_n(avenrun[2], EXP_15, active, n); in calc_global_nohz()
323 WRITE_ONCE(calc_load_update, sample_window + n * LOAD_FREQ); in calc_global_nohz()