Searched refs:primary (Results 1 – 2 of 2) sorted by relevance
295 unsigned long primary, secondary, flags, pc = (unsigned long)__pc; in do_profile_hits() local300 i = primary = (pc & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT; in do_profile_hits()326 } while (i != primary); in do_profile_hits()
1550 int freeze_secondary_cpus(int primary) in freeze_secondary_cpus() argument1555 if (primary == -1) { in freeze_secondary_cpus()1556 primary = cpumask_first(cpu_online_mask); in freeze_secondary_cpus()1557 if (!housekeeping_cpu(primary, HK_FLAG_TIMER)) in freeze_secondary_cpus()1558 primary = housekeeping_any_cpu(HK_FLAG_TIMER); in freeze_secondary_cpus()1560 if (!cpu_online(primary)) in freeze_secondary_cpus()1561 primary = cpumask_first(cpu_online_mask); in freeze_secondary_cpus()1572 if (cpu == primary) in freeze_secondary_cpus()