Lines Matching refs:rq
353 int update_rt_rq_load_avg(u64 now, struct rq *rq, int running) in update_rt_rq_load_avg() argument
355 if (___update_load_sum(now, &rq->avg_rt, in update_rt_rq_load_avg()
360 ___update_load_avg(&rq->avg_rt, 1); in update_rt_rq_load_avg()
361 trace_pelt_rt_tp(rq); in update_rt_rq_load_avg()
379 int update_dl_rq_load_avg(u64 now, struct rq *rq, int running) in update_dl_rq_load_avg() argument
381 if (___update_load_sum(now, &rq->avg_dl, in update_dl_rq_load_avg()
386 ___update_load_avg(&rq->avg_dl, 1); in update_dl_rq_load_avg()
387 trace_pelt_dl_tp(rq); in update_dl_rq_load_avg()
410 int update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) in update_thermal_load_avg() argument
412 if (___update_load_sum(now, &rq->avg_thermal, in update_thermal_load_avg()
416 ___update_load_avg(&rq->avg_thermal, 1); in update_thermal_load_avg()
417 trace_pelt_thermal_tp(rq); in update_thermal_load_avg()
437 int update_irq_load_avg(struct rq *rq, u64 running) in update_irq_load_avg() argument
446 running = cap_scale(running, arch_scale_freq_capacity(cpu_of(rq))); in update_irq_load_avg()
447 running = cap_scale(running, arch_scale_cpu_capacity(cpu_of(rq))); in update_irq_load_avg()
460 ret = ___update_load_sum(rq->clock - running, &rq->avg_irq, in update_irq_load_avg()
464 ret += ___update_load_sum(rq->clock, &rq->avg_irq, in update_irq_load_avg()
470 ___update_load_avg(&rq->avg_irq, 1); in update_irq_load_avg()
471 trace_pelt_irq_tp(rq); in update_irq_load_avg()