Lines Matching refs:cpu_of
1888 p->scx.core_sched_at = sched_clock_cpu(cpu_of(rq));
2253 return likely((rq->scx.flags & SCX_RQ_ONLINE) && cpu_active(cpu_of(rq)));
2266 if (sticky_cpu == cpu_of(rq))
2395 sticky_cpu = cpu_of(rq);
2418 unlikely(cpu_of(rq) != p->scx.selected_cpu))
2575 set_task_cpu(p, cpu_of(dst_rq));
2576 p->scx.sticky_cpu = cpu_of(dst_rq);
2586 WARN_ON_ONCE(!cpumask_test_cpu(cpu_of(dst_rq), p->cpus_ptr));
2616 int cpu = cpu_of(rq);
2871 int node = cpu_to_node(cpu_of(rq));
3091 cpu_of(rq), NULL);
3138 cpu_of(rq), prev_on_scx ? prev : NULL);
3161 scx_bpf_kick_cpu(cpu_of(rq), 0);
3201 const struct cpumask *smt_mask = cpu_smt_mask(cpu_of(rq));
3204 for_each_cpu_andnot(scpu, smt_mask, cpumask_of(cpu_of(rq))) {
3342 cpu_of(rq), &args);
3450 scx_bpf_kick_cpu(cpu_of(rq), SCX_KICK_IDLE);
3592 int cpu = cpu_of(rq);
6127 if (cpu_online(cpu) || cpu == cpu_of(this_rq)) {
6158 (cpu_online(cpu) || cpu == cpu_of(this_rq)))
6189 if (cpu != cpu_of(this_rq)) {
7511 clock = sched_clock_cpu(cpu_of(rq));