Lines Matching refs:new_cpu
2529 struct task_struct *p, int new_cpu) in move_queued_task() argument
2540 trace_android_rvh_migrate_queued_task(rq, rf, p, new_cpu, &detached); in move_queued_task()
2545 set_task_cpu(p, new_cpu); in move_queued_task()
2549 rq = cpu_rq(new_cpu); in move_queued_task()
2552 WARN_ON_ONCE(task_cpu(p) != new_cpu); in move_queued_task()
3341 void set_task_cpu(struct task_struct *p, unsigned int new_cpu) in set_task_cpu() argument
3378 WARN_ON_ONCE(!cpu_online(new_cpu)); in set_task_cpu()
3383 trace_sched_migrate_task(p, new_cpu); in set_task_cpu()
3385 if (task_cpu(p) != new_cpu) { in set_task_cpu()
3387 p->sched_class->migrate_task_rq(p, new_cpu); in set_task_cpu()
3391 trace_android_rvh_set_task_cpu(p, new_cpu); in set_task_cpu()
3394 __set_task_cpu(p, new_cpu); in set_task_cpu()