Lines Matching refs:new_cpu
2300 struct task_struct *p, int new_cpu) in move_queued_task() argument
2311 trace_android_rvh_migrate_queued_task(rq, rf, p, new_cpu, &detached); in move_queued_task()
2316 set_task_cpu(p, new_cpu); in move_queued_task()
2320 rq = cpu_rq(new_cpu); in move_queued_task()
2323 BUG_ON(task_cpu(p) != new_cpu); in move_queued_task()
3114 void set_task_cpu(struct task_struct *p, unsigned int new_cpu) in set_task_cpu() argument
3151 WARN_ON_ONCE(!cpu_online(new_cpu)); in set_task_cpu()
3156 trace_sched_migrate_task(p, new_cpu); in set_task_cpu()
3158 if (task_cpu(p) != new_cpu) { in set_task_cpu()
3160 p->sched_class->migrate_task_rq(p, new_cpu); in set_task_cpu()
3164 trace_android_rvh_set_task_cpu(p, new_cpu); in set_task_cpu()
3167 __set_task_cpu(p, new_cpu); in set_task_cpu()