Home
last modified time | relevance | path

Searched refs:cpu_of (Results 1 – 8 of 8) sorted by relevance

/kernel/sched/
Dpelt.h82 delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq))); in update_rq_clock_pelt()
83 delta = cap_scale(delta, arch_scale_freq_capacity(cpu_of(rq))); in update_rq_clock_pelt()
Dpelt.c375 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()
Drt.c512 (rt_rq = iter->rt_rq[cpu_of(rq)]);)
531 int cpu = cpu_of(rq); in sched_rt_rq_enqueue()
549 int cpu = cpu_of(rq_of_rt_rq(rt_rq)); in sched_rt_rq_dequeue()
2208 if (need_to_push || !rt_task_fits_capacity(p, cpu_of(rq))) in task_woken_rt()
2281 !rt_task_fits_capacity(p, cpu_of(rq)); in switched_to_rt()
2286 if (p->prio < rq->curr->prio && cpu_online(cpu_of(rq))) in switched_to_rt()
Dstats.h135 psi_memstall_tick(rq->curr, cpu_of(rq)); in psi_task_tick()
Dfair.c294 int cpu = cpu_of(rq); in list_add_leaf_cfs_rq()
785 long cpu_scale = arch_scale_cpu_capacity(cpu_of(rq_of(cfs_rq))); in post_init_entity_util_avg()
3794 cpu = cpu_of(rq_of(cfs_rq)); in util_est_dequeue()
3836 if (task_fits_capacity(p, capacity_of(cpu_of(rq)))) { in update_misfit_status()
4475 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in tg_unthrottle_up()
4493 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in tg_throttle_down()
4513 se = cfs_rq->tg->se[cpu_of(rq_of(cfs_rq))]; in throttle_cfs_rq()
4573 se = cfs_rq->tg->se[cpu_of(rq)]; in unthrottle_cfs_rq()
5041 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in update_runtime_enabled()
5059 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in unthrottle_offline_cfs_rqs()
[all …]
Dsched.h1030 static inline int cpu_of(struct rq *rq) in cpu_of() function
1917 cpu = cpu_of(rq); in sched_update_tick_dependency()
1974 if (!cpu_active(cpu_of(rq))) in hrtick_enabled()
2322 cpu_of(rq))); in cpufreq_update_util()
Dcore.c155 irq_delta = irq_time_read(cpu_of(rq)) - rq->prev_irq_time; in update_rq_clock_task()
180 steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task()
215 delta = sched_clock_cpu(cpu_of(rq)) - rq->clock; in update_rq_clock()
243 WARN_ON_ONCE(cpu_of(rq) != smp_processor_id()); in hrtick()
299 smp_call_function_single_async(cpu_of(rq), &rq->hrtick_csd); in hrtick_start()
518 cpu = cpu_of(rq); in resched_curr()
1686 stop_one_cpu(cpu_of(rq), migration_cpu_stop, &arg); in __set_cpus_allowed_ptr()
Ddeadline.c1184 int cpu = cpu_of(rq); in update_curr_dl()
2250 src_dl_b = dl_bw_of(cpu_of(rq)); in set_cpus_allowed_dl()