Lines Matching refs:n
110 fixed_power_int(unsigned long x, unsigned int frac_bits, unsigned int n) in fixed_power_int() argument
114 if (n) { in fixed_power_int()
116 if (n & 1) { in fixed_power_int()
121 n >>= 1; in fixed_power_int()
122 if (!n) in fixed_power_int()
158 unsigned long active, unsigned int n) in calc_load_n() argument
160 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
294 long delta, active, n; in calc_global_nohz() local
302 n = 1 + (delta / LOAD_FREQ); in calc_global_nohz()
307 avenrun[0] = calc_load_n(avenrun[0], EXP_1, active, n); in calc_global_nohz()
308 avenrun[1] = calc_load_n(avenrun[1], EXP_5, active, n); in calc_global_nohz()
309 avenrun[2] = calc_load_n(avenrun[2], EXP_15, active, n); in calc_global_nohz()
311 WRITE_ONCE(calc_load_update, sample_window + n * LOAD_FREQ); in calc_global_nohz()