Lines Matching refs:delta
81 long nr_active, delta = 0; in calc_load_fold_active() local
87 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
91 return delta; in calc_load_fold_active()
236 long delta; in calc_load_nohz_fold() local
238 delta = calc_load_fold_active(rq, 0); in calc_load_nohz_fold()
239 if (delta) { in calc_load_nohz_fold()
242 atomic_long_add(delta, &calc_load_nohz[idx]); in calc_load_nohz_fold()
287 long delta = 0; in calc_load_nohz_read() local
290 delta = atomic_long_xchg(&calc_load_nohz[idx], 0); in calc_load_nohz_read()
292 return delta; in calc_load_nohz_read()
307 long delta, active, n; in calc_global_nohz() local
314 delta = jiffies - sample_window - 10; in calc_global_nohz()
315 n = 1 + (delta / LOAD_FREQ); in calc_global_nohz()
353 long active, delta; in calc_global_load() local
362 delta = calc_load_nohz_read(); in calc_global_load()
363 if (delta) in calc_global_load()
364 atomic_long_add(delta, &calc_load_tasks); in calc_global_load()
388 long delta; in calc_global_load_tick() local
393 delta = calc_load_fold_active(this_rq, 0); in calc_global_load_tick()
394 if (delta) in calc_global_load_tick()
395 atomic_long_add(delta, &calc_load_tasks); in calc_global_load_tick()