Searched refs:cpu_of (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/kernel/sched/ ! |
D | pelt.h | 118 delta = cap_scale(delta, arch_scale_cpu_capacity(cpu_of(rq))); in update_rq_clock_pelt() 119 delta = cap_scale(delta, arch_scale_freq_capacity(cpu_of(rq))); in update_rq_clock_pelt()
|
D | pelt.c | 439 running = cap_scale(running, arch_scale_freq_capacity(cpu_of(rq))); in update_irq_load_avg() 440 running = cap_scale(running, arch_scale_cpu_capacity(cpu_of(rq))); in update_irq_load_avg()
|
D | sched.h | 1187 static inline int cpu_of(struct rq *rq) in cpu_of() function 1279 for_each_cpu(cpu, cpu_smt_mask(cpu_of(rq))) { in sched_core_cookie_match() 2468 int cpu = cpu_of(rq); in sched_update_tick_dependency() 2551 if (!cpu_active(cpu_of(rq))) in hrtick_enabled() 2963 cpu_of(rq))); in cpufreq_update_util() 3121 rq_util = cpu_util_cfs(cpu_of(rq)) + cpu_util_rt(rq); in uclamp_rq_is_capped() 3395 struct mm_cid *pcpu_cid = per_cpu_ptr(mm->pcpu_cid, cpu_of(rq)); in mm_cid_snapshot_time()
|
D | core_sched.c | 242 const struct cpumask *smt_mask = cpu_smt_mask(cpu_of(rq)); in __sched_core_account_forceidle()
|
D | fair.c | 334 int cpu = cpu_of(rq); in list_add_leaf_cfs_rq() 1102 long cpu_scale = arch_scale_cpu_capacity(cpu_of(rq_of(cfs_rq))); in post_init_entity_util_avg() 4444 now += sched_clock_cpu(cpu_of(rq)) - u64_u32_load(rq->clock_idle); in migrate_se_pelt_lag() 4837 if (task_util(p) > capacity_orig_of(cpu_of(rq_of(cfs_rq)))) in util_est_update() 5008 if (task_fits_cpu(p, cpu_of(rq))) { in update_misfit_status() 5604 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in tg_unthrottle_up() 5633 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)]; in tg_throttle_down() 5677 se = cfs_rq->tg->se[cpu_of(rq_of(cfs_rq))]; in throttle_cfs_rq() 5745 se = cfs_rq->tg->se[cpu_of(rq)]; in unthrottle_cfs_rq() 5881 smp_call_function_single_async(cpu_of(rq), &rq->cfsb_csd); in __unthrottle_cfs_rq_async() [all …]
|
D | core.c | 703 irq_delta = irq_time_read(cpu_of(rq)) - rq->prev_irq_time; in update_rq_clock_task() 730 steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task() 765 delta = sched_clock_cpu(cpu_of(rq)) - rq->clock; in update_rq_clock() 792 WARN_ON_ONCE(cpu_of(rq) != smp_processor_id()); in hrtick() 845 smp_call_function_single_async(cpu_of(rq), &rq->hrtick_csd); in hrtick_start() 1051 cpu = cpu_of(rq); in resched_curr() 1175 int cpu = cpu_of(rq); in nohz_csd_func() 3066 stop_one_cpu_nowait(cpu_of(rq), migration_cpu_stop, in affine_move_task() 3891 if (WARN_ON_ONCE(task_cpu(p) != cpu_of(rq))) in sched_ttwu_pending() 3892 set_task_cpu(p, cpu_of(rq)); in sched_ttwu_pending() [all …]
|
D | rt.c | 566 (rt_rq = iter->rt_rq[cpu_of(rq)]);) 585 int cpu = cpu_of(rq); in sched_rt_rq_enqueue() 603 int cpu = cpu_of(rq_of_rt_rq(rt_rq)); in sched_rt_rq_dequeue() 2565 if (p->prio < rq->curr->prio && cpu_online(cpu_of(rq))) in switched_to_rt()
|
D | deadline.c | 1303 int cpu = cpu_of(rq); in update_curr_dl() 2500 src_dl_b = dl_bw_of(cpu_of(rq)); in set_cpus_allowed_dl()
|