Home
last modified time | relevance | path

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

/kernel/sched/
Dpelt.h126 delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq))); in update_rq_clock_pelt()
127 delta = cap_scale(delta, arch_scale_freq_capacity(cpu_of(rq))); in update_rq_clock_pelt()
Dpelt.c446 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()
Dsched.h1208 static inline int cpu_of(struct rq *rq) in cpu_of() function
1298 for_each_cpu(cpu, cpu_smt_mask(cpu_of(rq))) { in sched_core_cookie_match()
2432 int cpu = cpu_of(rq); in sched_update_tick_dependency()
2517 if (!cpu_active(cpu_of(rq))) in hrtick_enabled()
2909 cpu_of(rq))); in cpufreq_update_util()
3111 rq_util = cpu_util_cfs(cpu_of(rq)) + cpu_util_rt(rq); in uclamp_rq_is_capped()
Dcore_sched.c242 const struct cpumask *smt_mask = cpu_smt_mask(cpu_of(rq)); in __sched_core_account_forceidle()
Dfair.c358 int cpu = cpu_of(rq); in list_add_leaf_cfs_rq()
843 long cpu_scale = arch_scale_cpu_capacity(cpu_of(rq_of(cfs_rq))); in post_init_entity_util_avg()
4005 now += sched_clock_cpu(cpu_of(rq)) - u64_u32_load(rq->clock_idle); in migrate_se_pelt_lag()
4411 if (task_util(p) > capacity_orig_of(cpu_of(rq_of(cfs_rq)))) in util_est_update()
4590 if (task_fits_cpu(p, cpu_of(rq))) { in update_misfit_status()
5332 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in tg_unthrottle_up()
5350 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in tg_throttle_down()
5390 se = cfs_rq->tg->se[cpu_of(rq_of(cfs_rq))]; in throttle_cfs_rq()
5456 se = cfs_rq->tg->se[cpu_of(rq)]; in unthrottle_cfs_rq()
5936 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in update_runtime_enabled()
[all …]
Dcore.c702 irq_delta = irq_time_read(cpu_of(rq)) - rq->prev_irq_time; in update_rq_clock_task()
728 steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task()
763 delta = sched_clock_cpu(cpu_of(rq)) - rq->clock; in update_rq_clock()
791 WARN_ON_ONCE(cpu_of(rq) != smp_processor_id()); in hrtick()
844 smp_call_function_single_async(cpu_of(rq), &rq->hrtick_csd); in hrtick_start()
1053 cpu = cpu_of(rq); in resched_curr()
1186 int cpu = cpu_of(rq); in nohz_csd_func()
3053 stop_one_cpu_nowait(cpu_of(rq), migration_cpu_stop, in affine_move_task()
3902 if (WARN_ON_ONCE(task_cpu(p) != cpu_of(rq))) in sched_ttwu_pending()
3903 set_task_cpu(p, cpu_of(rq)); in sched_ttwu_pending()
[all …]
Drt.c568 (rt_rq = iter->rt_rq[cpu_of(rq)]);)
587 int cpu = cpu_of(rq); in sched_rt_rq_enqueue()
605 int cpu = cpu_of(rq_of_rt_rq(rt_rq)); in sched_rt_rq_dequeue()
2667 if (p->prio < rq->curr->prio && cpu_online(cpu_of(rq))) in switched_to_rt()
Ddeadline.c1314 int cpu = cpu_of(rq); in update_curr_dl()
2512 src_dl_b = dl_bw_of(cpu_of(rq)); in set_cpus_allowed_dl()