/freebsd/sys/dev/xen/control/ |
H A D | control.c | 186 MPASS(mp_ncpus == 1 || smp_started); in xctrl_suspend() 191 if (smp_started) { in xctrl_suspend() 222 if (smp_started) { in xctrl_suspend() 290 if (smp_started) { in xctrl_suspend()
|
/freebsd/sys/arm/arm/ |
H A D | mp_machdep.c | 197 atomic_store_rel_int(&smp_started, 1); in init_secondary() 203 while (smp_started == 0) { in init_secondary() 315 if (smp_started) in release_aps()
|
/freebsd/sys/kern/ |
H A D | subr_smp.c | 74 volatile int smp_started; variable 199 if (!smp_started || cold || KERNEL_PANICKED()) in forward_signal() 249 if (!smp_started) in generic_stop_cpus() 357 if (!smp_started) in generic_restart_cpus() 401 if (!smp_started) in generic_restart_cpus() 553 if (!smp_started) { in smp_rendezvous_cpus() 905 KASSERT((!smp_started),("smp_no_rendezvous called and smp is started")); in smp_no_rendezvous_barrier() 924 if (!smp_started) { in smp_rendezvous_cpus_retry() 1093 active = smp_started; in sysctl_kern_smp_active()
|
H A D | subr_atomic64.c | 67 if (smp_started) mtx_lock(_amtx) 69 #define UNLOCK_A64() if (smp_started) mtx_unlock(_amtx)
|
H A D | kern_clocksource.c | 327 MPASS(mp_ncpus == 1 || smp_started); 334 if ((et->et_flags & ET_FLAGS_PERCPU) == 0 && smp_started) { 497 MPASS(mp_ncpus == 1 || smp_started); 503 if (!smp_started && cpu != CPU_FIRST()) 534 if ((timer->et_flags & ET_FLAGS_PERCPU) == 0 || !smp_started) {
|
H A D | kern_cpu.c | 264 MPASS(mp_ncpus == 1 || smp_started); in cf_set_method() 273 if (mp_ncpus > 1 && !smp_started) { in cf_set_method()
|
H A D | sched_ule.c | 1030 if (smp_started == 0 || steal_idle == 0 || tdq->tdq_cg == NULL) in tdq_idled() 1331 if (smp_started == 0) in sched_pickcpu() 2031 if (smp_started == 0 || steal_idle == 0 || trysteal_limit == 0 || in tdq_trysteal() 2579 if (balance_tdq == tdq && smp_started != 0 && rebalance != 0 && in sched_clock()
|
H A D | sched_4bsd.c | 1173 if (!smp_started || KERNEL_PANICKED()) in forward_wakeup() 1356 if (smp_started && (td->td_pinned != 0 || td->td_flags & TDF_BOUND || in sched_add()
|
/freebsd/sys/riscv/riscv/ |
H A D | mp_machdep.c | 141 if (atomic_load_acq_int(&smp_started)) in release_aps() 200 atomic_store_rel_int(&smp_started, 1); in init_secondary() 223 KASSERT(smp_started != 0, ("%s: SMP not started yet", __func__)); in smp_after_idle_runnable()
|
H A D | pmap.c | 1009 if (!CPU_EMPTY(&mask) && smp_started) in pmap_invalidate_page() 1024 if (!CPU_EMPTY(&mask) && smp_started) in pmap_invalidate_range() 1050 if (!CPU_EMPTY(&mask) && smp_started) in pmap_invalidate_all() 5151 if (!CPU_EMPTY(&mask) && smp_started) { in pmap_sync_icache()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | mp_machdep.c | 104 while(smp_started == 0) in machdep_ap_bootstrap() 284 atomic_store_rel_int(&smp_started, 1); in cpu_mp_unleash()
|
H A D | cpu.c | 838 if (smp_started == 0) in cpu_idle_powerx()
|
/freebsd/sys/arm64/arm64/ |
H A D | mp_machdep.c | 169 if (atomic_load_acq_int(&smp_started) != 0) { in release_aps() 265 atomic_store_rel_int(&smp_started, 1); in init_secondary() 286 KASSERT(smp_started != 0, ("%s: SMP not started yet", __func__)); in smp_after_idle_runnable()
|
/freebsd/sys/x86/x86/ |
H A D | mp_x86.c | 1117 atomic_store_rel_int(&smp_started, 1); in init_secondary_tail() 1131 while (atomic_load_acq_int(&smp_started) == 0) in init_secondary_tail() 1150 KASSERT(smp_started != 0, ("%s: SMP not started yet", __func__)); in smp_after_idle_runnable() 1720 while (smp_started == 0) in release_aps()
|
H A D | intr_machdep.c | 395 MPASS(mp_ncpus == 1 || smp_started); in intr_assign_cpu() 604 MPASS(mp_ncpus == 1 || smp_started); in intr_next_cpu()
|
H A D | local_apic.c | 878 MPASS(mp_ncpus == 1 || smp_started); in lapic_enable_pcint() 904 KASSERT(mp_ncpus == 1 || smp_started, ("hwpmc unloaded too early")); in lapic_disable_pcint()
|
H A D | cpu_machdep.c | 472 if (smp_started) { in cpu_reset()
|
/freebsd/sys/sys/ |
H A D | smp.h | 173 extern volatile int smp_started;
|
/freebsd/sys/dev/hyperv/vmbus/ |
H A D | hyperv_mmu.c | 155 if (__predict_false(kdb_active || KERNEL_PANICKED() || !smp_started)) in hv_vm_tlb_flush()
|
H A D | vmbus.c | 1538 device_printf(sc->vmbus_dev, "smp_started = %d\n", smp_started); in vmbus_doattach()
|
/freebsd/sys/i386/i386/ |
H A D | mp_machdep.c | 561 if (kdb_active || KERNEL_PANICKED() || !smp_started) { in smp_targeted_tlb_shootdown()
|
/freebsd/sys/geom/eli/ |
H A D | g_eli.c | 668 MPASS(!sc->sc_cpubind || smp_started); in g_eli_worker() 672 while (!smp_started) in g_eli_worker()
|
/freebsd/sys/amd64/amd64/ |
H A D | mp_machdep.c | 600 if (__predict_false(kdb_active || KERNEL_PANICKED() || !smp_started)) in smp_targeted_tlb_shootdown_native()
|
/freebsd/sys/dev/acpica/ |
H A D | acpi.c | 3388 MPASS(mp_ncpus == 1 || smp_started); in acpi_EnterSleepState() 3393 if (smp_started) { in acpi_EnterSleepState() 3536 if (smp_started) { in acpi_EnterSleepState()
|