Lines Matching defs:prev_cpu
3560 static int select_task_rq_scx(struct task_struct *p, int prev_cpu, int wake_flags)
3568 * footprint. Returning a CPU different than @prev_cpu triggers
3576 return prev_cpu;
3589 scx_cpu_arg(prev_cpu), wake_flags);
3597 return prev_cpu;
3606 * cpumasks are not updated. Leave @p on @prev_cpu.
3610 p->scx.selected_cpu = prev_cpu;
3611 return prev_cpu;
3614 cpu = scx_select_cpu_dfl(p, prev_cpu, wake_flags, NULL, 0);
3625 cpu = prev_cpu;
8336 static s32 sched_ext_ops__select_cpu(struct task_struct *p, s32 prev_cpu, u64 wake_flags) { return -EINVAL; }
8339 static void sched_ext_ops__dispatch(s32 prev_cpu, struct task_struct *prev__nullable) {}