Lines Matching defs:dest_cpu
2568 int dest_cpu;
2594 struct task_struct *p, int dest_cpu)
2598 if (!is_cpu_allowed(p, dest_cpu))
2601 rq = move_queued_task(rq, rf, p, dest_cpu);
2666 rq = __migrate_task(rq, &rf, p, arg->dest_cpu);
2668 p->wake_cpu = arg->dest_cpu;
2960 int dest_cpu, unsigned int flags)
3015 .dest_cpu = dest_cpu,
3031 pending->arg.dest_cpu = dest_cpu;
3079 rq = move_queued_task(rq, rf, p, dest_cpu);
3121 unsigned int dest_cpu;
3172 dest_cpu = cpumask_any_and_distribute(cpu_valid_mask, ctx->new_mask);
3173 if (dest_cpu >= nr_cpu_ids) {
3180 return affine_move_task(rq, p, rf, dest_cpu, ctx->flags);
3550 int dest_cpu;
3561 for_each_cpu(dest_cpu, nodemask) {
3562 if (is_cpu_allowed(p, dest_cpu))
3563 return dest_cpu;
3569 for_each_cpu(dest_cpu, p->cpus_ptr) {
3570 if (!is_cpu_allowed(p, dest_cpu))
3607 return dest_cpu;
5627 int dest_cpu;
5630 dest_cpu = p->sched_class->select_task_rq(p, task_cpu(p), WF_EXEC);
5631 if (dest_cpu == smp_processor_id())
5634 if (unlikely(!cpu_active(dest_cpu)))
5637 arg = (struct migration_arg){ p, dest_cpu };