Home
last modified time | relevance | path

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

/linux/kernel/sched/
H A Dpelt.c440 running = cap_scale(running, arch_scale_freq_capacity(cpu_of(rq))); in update_irq_load_avg()
441 running = cap_scale(running, arch_scale_cpu_capacity(cpu_of(rq))); in update_irq_load_avg()
481 unsigned long hw_pressure = arch_scale_hw_pressure(cpu_of(rq)); in update_other_load_avgs()
H A Dpelt.h123 delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq))); in update_rq_clock_pelt()
124 delta = cap_scale(delta, arch_scale_freq_capacity(cpu_of(rq))); in update_rq_clock_pelt()
H A Ddeadline.c739 trace_sched_dl_replenish_tp(dl_se, cpu_of(rq), dl_get_type(dl_se, rq)); in replenish_dl_new_period()
855 trace_sched_dl_replenish_tp(dl_se, cpu_of(rq), dl_get_type(dl_se, rq)); in replenish_dl_entity()
1338 trace_sched_dl_throttle_tp(dl_se, cpu_of(rq), dl_get_type(dl_se, rq)); in dl_check_constrained_dl()
1402 int cpu = cpu_of(rq); in dl_scaled_delta_exec()
1502 trace_sched_dl_throttle_tp(dl_se, cpu_of(rq), dl_get_type(dl_se, rq)); in update_curr_dl_se()
1528 trace_sched_dl_update_tp(dl_se, cpu_of(rq), dl_get_type(dl_se, rq)); in update_curr_dl_se()
1804 if (WARN_ON_ONCE(!cpu_online(cpu_of(rq)))) in dl_server_start()
1807 trace_sched_dl_server_start_tp(dl_se, cpu_of(rq), dl_get_type(dl_se, rq)); in dl_server_start()
1819 trace_sched_dl_server_stop_tp(dl_se, cpu_of(dl_se->rq), in dl_server_stop()
1878 int cpu = cpu_of(rq); in __dl_server_attach_root()
[all …]
H A Dext_idle.c756 int cpu = cpu_of(rq); in __scx_update_idle()
791 !scx_bypassing(sch, cpu_of(rq))) in __scx_update_idle()
792 SCX_CALL_OP(sch, update_idle, rq, cpu_of(rq), idle); in __scx_update_idle()
H A Dfair.c320 int cpu = cpu_of(rq); in list_add_leaf_cfs_rq()
1320 long cpu_scale = arch_scale_cpu_capacity(cpu_of(rq_of(cfs_rq))); in post_init_entity_util_avg()
4389 if (!cpu_active(cpu_of(rq_of(cfs_rq)))) in update_tg_load_avg()
4396 now = sched_clock_cpu(cpu_of(rq_of(cfs_rq))); in update_tg_load_avg()
4419 now = sched_clock_cpu(cpu_of(rq_of(cfs_rq))); in clear_tg_load_avg()
4442 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in clear_tg_offline_cfs_rqs()
4819 now += sched_clock_cpu(cpu_of(rq)) - u64_u32_load(rq->clock_idle); in migrate_se_pelt_lag()
5340 int cpu = cpu_of(rq); in update_misfit_status()
6148 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in tg_unthrottle_up()
6219 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in tg_throttle_down()
[all …]
H A Dcore_sched.c244 const struct cpumask *smt_mask = cpu_smt_mask(cpu_of(rq)); in __sched_core_account_forceidle()
H A Dcore.c796 irq_delta = irq_time_read(cpu_of(rq)) - rq->prev_irq_time; in update_rq_clock_task()
825 steal = prev_steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task()
859 clock = sched_clock_cpu(cpu_of(rq)); in update_rq_clock()
897 WARN_ON_ONCE(cpu_of(rq) != smp_processor_id()); in hrtick()
972 smp_call_function_single_async(cpu_of(rq), &rq->hrtick_csd); in hrtick_start()
1188 cpu = cpu_of(rq); in __resched_curr()
1374 int cpu = cpu_of(rq); in nohz_csd_func()
3028 stop_one_cpu_nowait(cpu_of(rq), migration_cpu_stop, in affine_move_task()
3809 if (WARN_ON_ONCE(task_cpu(p) != cpu_of(rq))) in sched_ttwu_pending()
3810 set_task_cpu(p, cpu_of(rq)); in sched_ttwu_pending()
[all …]
H A Dsched.h1374 static inline int cpu_of(struct rq *rq) in cpu_of() function
1507 for_each_cpu(cpu, cpu_smt_mask(cpu_of(rq))) { in sched_core_cookie_match()
2937 int cpu = cpu_of(rq); in sched_update_tick_dependency()
3080 return cpu_active(cpu_of(rq)) && hrtimer_highres_enabled(); in hrtick_enabled()
3502 cpu_of(rq))); in cpufreq_update_util()
3616 rq_util = cpu_util_cfs(cpu_of(rq)) + cpu_util_rt(rq); in uclamp_rq_is_capped()
H A Ddebug.c389 cpu_of(rq), in sched_server_write_common()