Lines Matching refs:active
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()
307 long delta, active, n; in calc_global_nohz() local
317 active = atomic_long_read(&calc_load_tasks); in calc_global_nohz()
318 active = active > 0 ? active * FIXED_1 : 0; in calc_global_nohz()
320 avenrun[0] = calc_load_n(avenrun[0], EXP_1, active, n); in calc_global_nohz()
321 avenrun[1] = calc_load_n(avenrun[1], EXP_5, active, n); in calc_global_nohz()
322 avenrun[2] = calc_load_n(avenrun[2], EXP_15, active, n); in calc_global_nohz()
353 long active, delta; in calc_global_load() local
366 active = atomic_long_read(&calc_load_tasks); in calc_global_load()
367 active = active > 0 ? active * FIXED_1 : 0; in calc_global_load()
369 avenrun[0] = calc_load(avenrun[0], EXP_1, active); in calc_global_load()
370 avenrun[1] = calc_load(avenrun[1], EXP_5, active); in calc_global_load()
371 avenrun[2] = calc_load(avenrun[2], EXP_15, active); in calc_global_load()