Lines Matching refs:dest_cpu

2485 	int				dest_cpu;  member
2511 struct task_struct *p, int dest_cpu) in __migrate_task() argument
2514 if (!is_cpu_allowed(p, dest_cpu)) in __migrate_task()
2517 rq = move_queued_task(rq, rf, p, dest_cpu); in __migrate_task()
2576 rq = __migrate_task(rq, &rf, p, arg->dest_cpu); in migration_cpu_stop()
2578 p->wake_cpu = arg->dest_cpu; in migration_cpu_stop()
2901 int dest_cpu, unsigned int flags) in affine_move_task() argument
2957 .dest_cpu = dest_cpu, in affine_move_task()
2973 pending->arg.dest_cpu = dest_cpu; in affine_move_task()
3021 rq = move_queued_task(rq, rf, p, dest_cpu); in affine_move_task()
3064 unsigned int dest_cpu; in __set_cpus_allowed_ptr_locked() local
3117 dest_cpu = cpumask_any_and_distribute(cpu_valid_mask, ctx->new_mask); in __set_cpus_allowed_ptr_locked()
3118 if (dest_cpu >= nr_cpu_ids) { in __set_cpus_allowed_ptr_locked()
3125 return affine_move_task(rq, p, rf, dest_cpu, ctx->flags); in __set_cpus_allowed_ptr_locked()
3497 int dest_cpu; in select_fallback_rq() local
3508 for_each_cpu(dest_cpu, nodemask) { in select_fallback_rq()
3509 if (is_cpu_allowed(p, dest_cpu)) in select_fallback_rq()
3510 return dest_cpu; in select_fallback_rq()
3516 for_each_cpu(dest_cpu, p->cpus_ptr) { in select_fallback_rq()
3517 if (!is_cpu_allowed(p, dest_cpu)) in select_fallback_rq()
3560 return dest_cpu; in select_fallback_rq()
5442 int dest_cpu; in sched_exec() local
5445 dest_cpu = p->sched_class->select_task_rq(p, task_cpu(p), WF_EXEC); in sched_exec()
5446 if (dest_cpu == smp_processor_id()) in sched_exec()
5449 if (unlikely(!cpu_active(dest_cpu))) in sched_exec()
5452 arg = (struct migration_arg){ p, dest_cpu }; in sched_exec()