| /freebsd-12.1/sys/sparc64/include/ |
| H A D | smp.h | 149 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 D | control.c | 210 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 D | mp_machdep.c | 325 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 D | mp_machdep.c | 205 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 D | subr_smp.c | 77 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 D | kern_clocksource.c | 331 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 D | kern_cpu.c | 266 MPASS(mp_ncpus == 1 || smp_started); in cf_set_method() 275 if (mp_ncpus > 1 && !smp_started) { in cf_set_method()
|
| H A D | sched_ule.c | 994 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 D | sched_4bsd.c | 1123 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 D | mp_x86.c | 1042 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 D | intr_machdep.c | 407 MPASS(mp_ncpus == 1 || smp_started); 613 MPASS(mp_ncpus == 1 || smp_started);
|
| H A D | local_apic.c | 910 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 D | cpu_machdep.c | 365 if (smp_started) { in cpu_reset()
|
| /freebsd-12.1/sys/powerpc/powerpc/ |
| H A D | mp_machdep.c | 106 while(smp_started == 0) in machdep_ap_bootstrap() 270 atomic_store_rel_int(&smp_started, 1); in cpu_mp_unleash()
|
| H A D | cpu.c | 800 if (smp_started == 0) in cpu_idle_powerx()
|
| /freebsd-12.1/sys/riscv/riscv/ |
| H A D | mp_machdep.c | 208 if (smp_started) { in release_aps() 276 atomic_store_rel_int(&smp_started, 1); in init_secondary()
|
| H A D | pmap.c | 745 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 D | smp.h | 171 extern volatile int smp_started;
|
| /freebsd-12.1/sys/arm64/arm64/ |
| H A D | mp_machdep.c | 248 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 D | g_eli.c | 530 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 D | xx.c | 330 if ((info->flags & XX_INTR_FLAG_BOUND) == 0 && smp_started && in XX_Dispatch()
|
| /freebsd-12.1/sys/sparc64/sparc64/ |
| H A D | mp_machdep.c | 472 atomic_store_rel_int(&smp_started, 1); in cpu_mp_bootstrap()
|
| /freebsd-12.1/sys/dev/acpica/ |
| H A D | acpi.c | 3003 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 D | pmap.c | 504 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 D | vmbus.c | 1392 device_printf(sc->vmbus_dev, "smp_started = %d\n", smp_started); in vmbus_doattach()
|