Home
last modified time | relevance | path

Searched refs:smp_started (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/dev/xen/control/
H A Dcontrol.c186 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 Dmp_machdep.c197 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 Dsubr_smp.c74 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 Dsubr_atomic64.c67 if (smp_started) mtx_lock(_amtx)
69 #define UNLOCK_A64() if (smp_started) mtx_unlock(_amtx)
H A Dkern_clocksource.c327 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 Dkern_cpu.c264 MPASS(mp_ncpus == 1 || smp_started); in cf_set_method()
273 if (mp_ncpus > 1 && !smp_started) { in cf_set_method()
H A Dsched_ule.c1030 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 Dsched_4bsd.c1173 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 Dmp_machdep.c141 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 Dpmap.c1009 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 Dmp_machdep.c104 while(smp_started == 0) in machdep_ap_bootstrap()
284 atomic_store_rel_int(&smp_started, 1); in cpu_mp_unleash()
H A Dcpu.c838 if (smp_started == 0) in cpu_idle_powerx()
/freebsd/sys/arm64/arm64/
H A Dmp_machdep.c169 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 Dmp_x86.c1117 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 Dintr_machdep.c395 MPASS(mp_ncpus == 1 || smp_started); in intr_assign_cpu()
604 MPASS(mp_ncpus == 1 || smp_started); in intr_next_cpu()
H A Dlocal_apic.c878 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 Dcpu_machdep.c472 if (smp_started) { in cpu_reset()
/freebsd/sys/sys/
H A Dsmp.h173 extern volatile int smp_started;
/freebsd/sys/dev/hyperv/vmbus/
H A Dhyperv_mmu.c155 if (__predict_false(kdb_active || KERNEL_PANICKED() || !smp_started)) in hv_vm_tlb_flush()
H A Dvmbus.c1538 device_printf(sc->vmbus_dev, "smp_started = %d\n", smp_started); in vmbus_doattach()
/freebsd/sys/i386/i386/
H A Dmp_machdep.c561 if (kdb_active || KERNEL_PANICKED() || !smp_started) { in smp_targeted_tlb_shootdown()
/freebsd/sys/geom/eli/
H A Dg_eli.c668 MPASS(!sc->sc_cpubind || smp_started); in g_eli_worker()
672 while (!smp_started) in g_eli_worker()
/freebsd/sys/amd64/amd64/
H A Dmp_machdep.c600 if (__predict_false(kdb_active || KERNEL_PANICKED() || !smp_started)) in smp_targeted_tlb_shootdown_native()
/freebsd/sys/dev/acpica/
H A Dacpi.c3388 MPASS(mp_ncpus == 1 || smp_started); in acpi_EnterSleepState()
3393 if (smp_started) { in acpi_EnterSleepState()
3536 if (smp_started) { in acpi_EnterSleepState()