Lines Matching refs:new_cpu
3161 static void update_scan_period(struct task_struct *p, int new_cpu) in update_scan_period() argument
3164 int dst_nid = cpu_to_node(new_cpu); in update_scan_period()
3208 static inline void update_scan_period(struct task_struct *p, int new_cpu) in update_scan_period() argument
6596 int new_cpu = cpu; in find_idlest_cpu() local
6624 new_cpu = find_idlest_group_cpu(group, p, cpu); in find_idlest_cpu()
6625 if (new_cpu == cpu) { in find_idlest_cpu()
6632 cpu = new_cpu; in find_idlest_cpu()
6643 return new_cpu; in find_idlest_cpu()
7310 int new_cpu = INT_MAX; in find_energy_efficient_cpu() local
7312 trace_android_rvh_find_energy_efficient_cpu(p, prev_cpu, sync, &new_cpu); in find_energy_efficient_cpu()
7313 if (new_cpu != INT_MAX) in find_energy_efficient_cpu()
7314 return new_cpu; in find_energy_efficient_cpu()
7514 int new_cpu = prev_cpu; in select_task_rq_fair() local
7536 new_cpu = find_energy_efficient_cpu(p, prev_cpu, sync); in select_task_rq_fair()
7537 if (new_cpu >= 0) in select_task_rq_fair()
7538 return new_cpu; in select_task_rq_fair()
7539 new_cpu = prev_cpu; in select_task_rq_fair()
7554 new_cpu = wake_affine(tmp, p, cpu, prev_cpu, sync); in select_task_rq_fair()
7573 new_cpu = find_idlest_cpu(sd, p, cpu, prev_cpu, sd_flag); in select_task_rq_fair()
7576 new_cpu = select_idle_sibling(p, prev_cpu, new_cpu); in select_task_rq_fair()
7580 return new_cpu; in select_task_rq_fair()
7588 static void migrate_task_rq_fair(struct task_struct *p, int new_cpu) in migrate_task_rq_fair() argument
7623 update_scan_period(p, new_cpu); in migrate_task_rq_fair()