Lines Matching refs:active
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
316 active = atomic_long_read(&calc_load_tasks); in calc_global_nohz()
317 active = active > 0 ? active * FIXED_1 : 0; 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()
352 long active, delta; in calc_global_load() local
365 active = atomic_long_read(&calc_load_tasks); in calc_global_load()
366 active = active > 0 ? active * FIXED_1 : 0; in calc_global_load()
368 avenrun[0] = calc_load(avenrun[0], EXP_1, active); in calc_global_load()
369 avenrun[1] = calc_load(avenrun[1], EXP_5, active); in calc_global_load()
370 avenrun[2] = calc_load(avenrun[2], EXP_15, active); in calc_global_load()