Lines Matching refs:new_cpu
2888 static void update_scan_period(struct task_struct *p, int new_cpu) in update_scan_period() argument
2891 int dst_nid = cpu_to_node(new_cpu); in update_scan_period()
2935 static inline void update_scan_period(struct task_struct *p, int new_cpu) in update_scan_period() argument
6044 int new_cpu = cpu; in find_idlest_cpu() local
6072 new_cpu = find_idlest_group_cpu(group, p, cpu); in find_idlest_cpu()
6073 if (new_cpu == cpu) { in find_idlest_cpu()
6080 cpu = new_cpu; in find_idlest_cpu()
6091 return new_cpu; in find_idlest_cpu()
6881 int new_cpu = prev_cpu; in select_task_rq_fair() local
6894 new_cpu = find_energy_efficient_cpu(p, prev_cpu); in select_task_rq_fair()
6895 if (new_cpu >= 0) in select_task_rq_fair()
6896 return new_cpu; in select_task_rq_fair()
6897 new_cpu = prev_cpu; in select_task_rq_fair()
6912 new_cpu = wake_affine(tmp, p, cpu, prev_cpu, sync); in select_task_rq_fair()
6926 new_cpu = find_idlest_cpu(sd, p, cpu, prev_cpu, sd_flag); in select_task_rq_fair()
6929 new_cpu = select_idle_sibling(p, prev_cpu, new_cpu); in select_task_rq_fair()
6933 return new_cpu; in select_task_rq_fair()
6943 static void migrate_task_rq_fair(struct task_struct *p, int new_cpu) in migrate_task_rq_fair() argument
6997 update_scan_period(p, new_cpu); in migrate_task_rq_fair()