Lines Matching refs:src_cpu
3193 int src_cpu, dst_cpu; member
3202 if (!cpu_active(arg->src_cpu) || !cpu_active(arg->dst_cpu)) in migrate_swap_stop()
3205 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop()
3215 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop()
3221 if (!cpumask_test_cpu(arg->src_cpu, arg->dst_task->cpus_ptr)) in migrate_swap_stop()
3225 __migrate_swap_task(arg->dst_task, arg->src_cpu); in migrate_swap_stop()
3248 .src_cpu = curr_cpu, in migrate_swap()
3253 if (arg.src_cpu == arg.dst_cpu) in migrate_swap()
3260 if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) in migrate_swap()
3266 if (!cpumask_test_cpu(arg.src_cpu, arg.dst_task->cpus_ptr)) in migrate_swap()
3269 trace_sched_swap_numa(cur, arg.src_cpu, p, arg.dst_cpu); in migrate_swap()
3270 ret = stop_two_cpus(arg.dst_cpu, arg.src_cpu, migrate_swap_stop, &arg); in migrate_swap()