Lines Matching defs:cpu
194 static lck_mtx_t cpu_monitor_queue_mutex; /* protects per-cpu queues at initialisation time */
340 static void perf_monitor_init(perf_monitor_t pm, int cpu) {
351 pm->cpu = cpu;
366 * accessible from a single cpu only.
368 queue_remove(cpu_monitor_queues[pm->cpu], pm, perf_monitor_t, cpu_link);
391 if (pm->cpu >= 0) {
393 * to block until cpu initialisation is complete.
418 queue_enter(cpu_monitor_queues[pm->cpu], pm, perf_monitor_t, cpu_link);
1465 /* Clear that the this reservation was active when this cpu did its last context in */
1494 /* Mark that the reservation was active when this cpu did its last context in */
1641 * to set this cpu's bit in the active_last_context_in mask. If we set it, call context_in.
1646 COUNTER_DEBUG("Starting already in-context reservation %p for cpu %d\n", reservation, cpu_number());
1660 COUNTER_DEBUG("Stopping in-context reservation %p for cpu %d\n", reservation, cpu_number());
1694 * on every cpu that can access the PMC.
1762 int cpu = -1;
1788 cpu = cores[0];
1816 perf_monitor_init(pm, cpu);
2539 * on every cpu that can access the PMC.
2573 * on every cpu that can access the PMC.
2720 * on every cpu that can access the PMC.