Lines Matching refs:delta
80 long nr_active, delta = 0; in calc_load_fold_active() local
86 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
90 return delta; in calc_load_fold_active()
235 long delta; in calc_load_nohz_fold() local
237 delta = calc_load_fold_active(rq, 0); in calc_load_nohz_fold()
238 if (delta) { in calc_load_nohz_fold()
241 atomic_long_add(delta, &calc_load_nohz[idx]); in calc_load_nohz_fold()
286 long delta = 0; in calc_load_nohz_read() local
289 delta = atomic_long_xchg(&calc_load_nohz[idx], 0); in calc_load_nohz_read()
291 return delta; in calc_load_nohz_read()
306 long delta, active, n; in calc_global_nohz() local
313 delta = jiffies - sample_window - 10; in calc_global_nohz()
314 n = 1 + (delta / LOAD_FREQ); in calc_global_nohz()
352 long active, delta; in calc_global_load() local
361 delta = calc_load_nohz_read(); in calc_global_load()
362 if (delta) in calc_global_load()
363 atomic_long_add(delta, &calc_load_tasks); in calc_global_load()
387 long delta; in calc_global_load_tick() local
392 delta = calc_load_fold_active(this_rq, 0); in calc_global_load_tick()
393 if (delta) in calc_global_load_tick()
394 atomic_long_add(delta, &calc_load_tasks); in calc_global_load_tick()