Lines Matching refs:target
474 int i, id, target; in cstate_cpu_exit() local
479 target = -1; in cstate_cpu_exit()
485 target = i; in cstate_cpu_exit()
489 if (cpumask_test_and_clear_cpu(cpu, &cstate_core_cpu_mask) && target >= 0) in cstate_cpu_exit()
490 cpumask_set_cpu(target, &cstate_core_cpu_mask); in cstate_cpu_exit()
492 if (target >= 0) in cstate_cpu_exit()
493 perf_pmu_migrate_context(&cstate_core_pmu, cpu, target); in cstate_cpu_exit()
499 target = -1; in cstate_cpu_exit()
505 target = i; in cstate_cpu_exit()
509 if (cpumask_test_and_clear_cpu(cpu, &cstate_pkg_cpu_mask) && target >= 0) in cstate_cpu_exit()
510 cpumask_set_cpu(target, &cstate_pkg_cpu_mask); in cstate_cpu_exit()
512 if (target >= 0) in cstate_cpu_exit()
513 perf_pmu_migrate_context(&cstate_pkg_pmu, cpu, target); in cstate_cpu_exit()