Home
last modified time | relevance | path

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

/freebsd-12.1/sys/sparc64/include/
H A Dsmp.h149 if (__predict_false(atomic_load_acq_int(&smp_started) == 0)) in ipi_all_but_self()
164 if (__predict_false(atomic_load_acq_int(&smp_started) == 0 || in ipi_selected()
176 if (__predict_false(atomic_load_acq_int(&smp_started) == 0)) in ipi_cpu()
190 if (__predict_false(atomic_load_acq_int(&smp_started) == 0)) in ipi_dcache_page_inval()
207 if (__predict_false(atomic_load_acq_int(&smp_started) == 0)) in ipi_icache_page_inval()
224 if (__predict_false(atomic_load_acq_int(&smp_started) == 0)) in ipi_rd()
241 if (__predict_false(atomic_load_acq_int(&smp_started) == 0)) in ipi_tlb_context_demap()
266 if (__predict_false(atomic_load_acq_int(&smp_started) == 0)) in ipi_tlb_page_demap()
291 if (__predict_false(atomic_load_acq_int(&smp_started) == 0)) in ipi_tlb_range_demap()
/freebsd-12.1/sys/dev/xen/control/
H A Dcontrol.c210 MPASS(mp_ncpus == 1 || smp_started); in xctrl_suspend()
215 if (smp_started) { in xctrl_suspend()
253 if (smp_started) { in xctrl_suspend()
320 if (smp_started) { in xctrl_suspend()
/freebsd-12.1/sys/mips/mips/
H A Dmp_machdep.c325 atomic_store_rel_int(&smp_started, 1); in smp_init_secondary()
330 while (smp_started == 0) in smp_init_secondary()
370 while (smp_started == 0) in release_aps()
/freebsd-12.1/sys/arm/arm/
H A Dmp_machdep.c205 atomic_store_rel_int(&smp_started, 1); in init_secondary()
213 while (smp_started == 0) { in init_secondary()
349 if (smp_started) in release_aps()
/freebsd-12.1/sys/kern/
H A Dsubr_smp.c77 volatile int smp_started; variable
185 if (!smp_started || cold || panicstr) in forward_signal()
237 if (!smp_started) in generic_stop_cpus()
347 if (!smp_started) in generic_restart_cpus()
515 if (!smp_started) { in smp_rendezvous_cpus()
838 KASSERT((!smp_started),("smp_no_rendezvous called and smp is started")); in smp_no_rendezvous_barrier()
898 active = smp_started; in sysctl_kern_smp_active()
H A Dkern_clocksource.c331 MPASS(mp_ncpus == 1 || smp_started);
338 if ((et->et_flags & ET_FLAGS_PERCPU) == 0 && smp_started) {
501 MPASS(mp_ncpus == 1 || smp_started);
507 if (!smp_started && cpu != CPU_FIRST())
538 if ((timer->et_flags & ET_FLAGS_PERCPU) == 0 || !smp_started) {
H A Dkern_cpu.c266 MPASS(mp_ncpus == 1 || smp_started); in cf_set_method()
275 if (mp_ncpus > 1 && !smp_started) { in cf_set_method()
H A Dsched_ule.c994 if (smp_started == 0 || steal_idle == 0 || tdq->tdq_cg == NULL) in tdq_idled()
1258 if (smp_started == 0) in sched_pickcpu()
1877 if (smp_started == 0 || trysteal_limit == 0 || tdq->tdq_cg == NULL) in tdq_trysteal()
2382 if (balance_tdq == tdq && smp_started != 0 && rebalance != 0) { in sched_clock()
H A Dsched_4bsd.c1123 if (!smp_started || panicstr) in forward_wakeup()
1303 if (smp_started && (td->td_pinned != 0 || td->td_flags & TDF_BOUND || in sched_add()
/freebsd-12.1/sys/x86/x86/
H A Dmp_x86.c1042 atomic_store_rel_int(&smp_started, 1); in init_secondary_tail()
1061 while (atomic_load_acq_int(&smp_started) == 0) in init_secondary_tail()
1553 while (smp_started == 0) in release_aps()
1663 if (smp_started) { in smp_masked_invltlb()
1675 if (smp_started) { in smp_masked_invlpg()
1688 if (smp_started) { in smp_masked_invlpg_range()
1702 if (smp_started) { in smp_cache_flush()
H A Dintr_machdep.c407 MPASS(mp_ncpus == 1 || smp_started);
613 MPASS(mp_ncpus == 1 || smp_started);
H A Dlocal_apic.c910 MPASS(mp_ncpus == 1 || smp_started); in native_lapic_enable_pmc()
919 if (smp_started) in native_lapic_enable_pmc()
950 KASSERT(mp_ncpus == 1 || smp_started, ("hwpmc unloaded too early")); in native_lapic_disable_pmc()
H A Dcpu_machdep.c365 if (smp_started) { in cpu_reset()
/freebsd-12.1/sys/powerpc/powerpc/
H A Dmp_machdep.c106 while(smp_started == 0) in machdep_ap_bootstrap()
270 atomic_store_rel_int(&smp_started, 1); in cpu_mp_unleash()
H A Dcpu.c800 if (smp_started == 0) in cpu_idle_powerx()
/freebsd-12.1/sys/riscv/riscv/
H A Dmp_machdep.c208 if (smp_started) { in release_aps()
276 atomic_store_rel_int(&smp_started, 1); in init_secondary()
H A Dpmap.c745 if (!CPU_EMPTY(&mask) && smp_started) in pmap_invalidate_page()
760 if (!CPU_EMPTY(&mask) && smp_started) in pmap_invalidate_range()
786 if (!CPU_EMPTY(&mask) && smp_started) in pmap_invalidate_all()
4364 if (!CPU_EMPTY(&mask) && smp_started) in pmap_sync_icache()
/freebsd-12.1/sys/sys/
H A Dsmp.h171 extern volatile int smp_started;
/freebsd-12.1/sys/arm64/arm64/
H A Dmp_machdep.c248 if (smp_started) { in release_aps()
319 atomic_store_rel_int(&smp_started, 1); in init_secondary()
/freebsd-12.1/sys/geom/eli/
H A Dg_eli.c530 MPASS(!sc->sc_cpubind || smp_started); in g_eli_worker()
534 while (!smp_started) in g_eli_worker()
/freebsd-12.1/sys/contrib/ncsw/user/env/
H A Dxx.c330 if ((info->flags & XX_INTR_FLAG_BOUND) == 0 && smp_started && in XX_Dispatch()
/freebsd-12.1/sys/sparc64/sparc64/
H A Dmp_machdep.c472 atomic_store_rel_int(&smp_started, 1); in cpu_mp_bootstrap()
/freebsd-12.1/sys/dev/acpica/
H A Dacpi.c3003 MPASS(mp_ncpus == 1 || smp_started); in acpi_EnterSleepState()
3008 if (smp_started) { in acpi_EnterSleepState()
3152 if (smp_started) { in acpi_EnterSleepState()
/freebsd-12.1/sys/powerpc/booke/
H A Dpmap.c504 if (!smp_started) in tlb_miss_lock()
530 if (!smp_started) in tlb_miss_unlock()
3969 if ((e->mas2 & _TLB_ENTRY_SHARED) && smp_started) { in tlb1_write_entry()
/freebsd-12.1/sys/dev/hyperv/vmbus/
H A Dvmbus.c1392 device_printf(sc->vmbus_dev, "smp_started = %d\n", smp_started); in vmbus_doattach()