Lines Matching refs:this_rq
78 long calc_load_fold_active(struct rq *this_rq, long adjust) in calc_load_fold_active() argument
82 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
83 nr_active += (int)this_rq->nr_uninterruptible; in calc_load_fold_active()
85 if (nr_active != this_rq->calc_load_active) { in calc_load_fold_active()
86 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
87 this_rq->calc_load_active = nr_active; in calc_load_fold_active()
251 calc_load_nohz_fold(this_rq()); in calc_load_nohz_start()
265 struct rq *this_rq = this_rq(); in calc_load_nohz_stop() local
270 this_rq->calc_load_update = READ_ONCE(calc_load_update); in calc_load_nohz_stop()
271 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_nohz_stop()
279 if (time_before(jiffies, this_rq->calc_load_update + 10)) in calc_load_nohz_stop()
280 this_rq->calc_load_update += LOAD_FREQ; in calc_load_nohz_stop()
385 void calc_global_load_tick(struct rq *this_rq) in calc_global_load_tick() argument
389 if (time_before(jiffies, this_rq->calc_load_update)) in calc_global_load_tick()
392 delta = calc_load_fold_active(this_rq, 0); in calc_global_load_tick()
396 this_rq->calc_load_update += LOAD_FREQ; in calc_global_load_tick()