Lines Matching refs:rq
317 int update_rt_rq_load_avg(u64 now, struct rq *rq, int running) in update_rt_rq_load_avg() argument
319 if (___update_load_sum(now, &rq->avg_rt, in update_rt_rq_load_avg()
324 ___update_load_avg(&rq->avg_rt, 1, 1); in update_rt_rq_load_avg()
325 trace_pelt_rt_tp(rq); in update_rt_rq_load_avg()
341 int update_dl_rq_load_avg(u64 now, struct rq *rq, int running) in update_dl_rq_load_avg() argument
343 if (___update_load_sum(now, &rq->avg_dl, in update_dl_rq_load_avg()
348 ___update_load_avg(&rq->avg_dl, 1, 1); in update_dl_rq_load_avg()
349 trace_pelt_dl_tp(rq); in update_dl_rq_load_avg()
366 int update_irq_load_avg(struct rq *rq, u64 running) in update_irq_load_avg() argument
375 running = cap_scale(running, arch_scale_freq_capacity(cpu_of(rq))); in update_irq_load_avg()
376 running = cap_scale(running, arch_scale_cpu_capacity(cpu_of(rq))); in update_irq_load_avg()
389 ret = ___update_load_sum(rq->clock - running, &rq->avg_irq, in update_irq_load_avg()
393 ret += ___update_load_sum(rq->clock, &rq->avg_irq, in update_irq_load_avg()
399 ___update_load_avg(&rq->avg_irq, 1, 1); in update_irq_load_avg()
400 trace_pelt_irq_tp(rq); in update_irq_load_avg()