Lines Matching refs:dest_cpu

2449 	int				dest_cpu;  member
2475 struct task_struct *p, int dest_cpu) in __migrate_task() argument
2478 if (!is_cpu_allowed(p, dest_cpu)) in __migrate_task()
2481 rq = move_queued_task(rq, rf, p, dest_cpu); in __migrate_task()
2540 rq = __migrate_task(rq, &rf, p, arg->dest_cpu); in migration_cpu_stop()
2542 p->wake_cpu = arg->dest_cpu; in migration_cpu_stop()
2866 int dest_cpu, unsigned int flags) in affine_move_task() argument
2915 .dest_cpu = dest_cpu, in affine_move_task()
2931 pending->arg.dest_cpu = dest_cpu; in affine_move_task()
2979 rq = move_queued_task(rq, rf, p, dest_cpu); in affine_move_task()
3022 unsigned int dest_cpu; in __set_cpus_allowed_ptr_locked() local
3075 dest_cpu = cpumask_any_and_distribute(cpu_valid_mask, ctx->new_mask); in __set_cpus_allowed_ptr_locked()
3076 if (dest_cpu >= nr_cpu_ids) { in __set_cpus_allowed_ptr_locked()
3083 return affine_move_task(rq, p, rf, dest_cpu, ctx->flags); in __set_cpus_allowed_ptr_locked()
3456 int dest_cpu; in select_fallback_rq() local
3467 for_each_cpu(dest_cpu, nodemask) { in select_fallback_rq()
3468 if (is_cpu_allowed(p, dest_cpu)) in select_fallback_rq()
3469 return dest_cpu; in select_fallback_rq()
3475 for_each_cpu(dest_cpu, p->cpus_ptr) { in select_fallback_rq()
3476 if (!is_cpu_allowed(p, dest_cpu)) in select_fallback_rq()
3519 return dest_cpu; in select_fallback_rq()
5447 int dest_cpu; in sched_exec() local
5450 dest_cpu = p->sched_class->select_task_rq(p, task_cpu(p), WF_EXEC); in sched_exec()
5451 if (dest_cpu == smp_processor_id()) in sched_exec()
5454 if (unlikely(!cpu_active(dest_cpu))) in sched_exec()
5457 arg = (struct migration_arg){ p, dest_cpu }; in sched_exec()