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