Home
last modified time | relevance | path

Searched refs:CPUF_RUNNING (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/sys/arch/hppa/hppa/
H A Dipifuncs.c108 KASSERT(ci->ci_flags & CPUF_RUNNING); in hppa_ipi_send()
140 if (ci != curcpu() && (ci->ci_flags & CPUF_RUNNING)) in hppa_ipi_broadcast()
160 ci->ci_flags &= ~CPUF_RUNNING; in hppa_ipi_halt()
/netbsd-src/sys/arch/hppa/dev/
H A Dcpu.c206 ci->ci_flags |= CPUF_PRIMARY|CPUF_RUNNING; in cpuattach()
266 while (!(ci->ci_flags & CPUF_RUNNING) && j++ < 10000) in cpu_boot_secondary_processors()
268 if (!(ci->ci_flags & CPUF_RUNNING)) in cpu_boot_secondary_processors()
301 ci->ci_flags |= CPUF_RUNNING; in cpu_hatch()
/netbsd-src/sys/arch/x86/x86/
H A Dipi.c106 if (__predict_false((ci->ci_flags & CPUF_RUNNING) == 0)) in x86_send_ipi()
141 if ((ci->ci_flags & CPUF_RUNNING) == 0) in x86_broadcast_ipi()
179 atomic_and_32(&ci->ci_flags, ~CPUF_RUNNING); in x86_ipi_halt()
H A Dcpu.c743 atomic_or_32(&ci->ci_flags, CPUF_RUNNING); in cpu_init()
746 atomic_or_32(&ci->ci_flags, CPUF_RUNNING); in cpu_init()
879 for (i = 100000; (!(ci->ci_flags & CPUF_RUNNING)) && i > 0; i--) { in cpu_boot_secondary()
882 if ((ci->ci_flags & CPUF_RUNNING) == 0) { in cpu_boot_secondary()
1003 KASSERT((ci->ci_flags & CPUF_RUNNING) == 0); in cpu_hatch()
/netbsd-src/sys/arch/x86/acpi/
H A Dacpi_wakeup.c202 atomic_and_32(&ci->ci_flags, ~CPUF_RUNNING); in acpi_md_sleep_enter()
288 atomic_or_32(&ci->ci_flags, CPUF_RUNNING); in acpi_cpu_sleep()
404 while ((ci->ci_flags & CPUF_RUNNING) == 0) in acpi_md_sleep()
/netbsd-src/sys/arch/xen/x86/
H A Dxen_ipi.c174 if ((ci->ci_flags & CPUF_RUNNING) == 0) { in xen_send_ipi()
212 if (ci->ci_flags & (CPUF_RUNNING)) { in xen_broadcast_ipi()
H A Dcpu.c582 atomic_or_32(&ci->ci_flags, CPUF_RUNNING); in cpu_init()
679 for (i = 100000; (!(ci->ci_flags & CPUF_RUNNING)) && i > 0; i--) { in cpu_boot_secondary()
682 if ((ci->ci_flags & CPUF_RUNNING) == 0) { in cpu_boot_secondary()
725 KASSERT((ci->ci_flags & CPUF_RUNNING) == 0); in cpu_hatch()
/netbsd-src/sys/arch/alpha/alpha/
H A Dcpu.c86 .ci_flags = CPUF_PRIMARY|CPUF_RUNNING,
455 KASSERT(ci->ci_flags & CPUF_RUNNING); in cpuattach()
708 atomic_or_ulong(&ci->ci_flags, CPUF_RUNNING); in cpu_boot_secondary_processors()
/netbsd-src/sys/arch/alpha/include/
H A Dcpu.h163 #define CPUF_RUNNING 0x04 /* CPU is running */ macro
/netbsd-src/sys/arch/riscv/include/
H A Dcpu.h92 #define CPUF_RUNNING __BIT(2) /* CPU is running */ macro
/netbsd-src/sys/arch/riscv/riscv/
H A Dcpu.c121 .ci_flags = CPUF_PRIMARY | CPUF_PRESENT | CPUF_RUNNING, in cpu_setup_sysctl()
H A Dcpu_subr.c131 atomic_or_ulong(&ci->ci_flags, CPUF_RUNNING); in cpu_boot_secondary_processors()
/netbsd-src/sys/arch/mips/include/
H A Dcpu.h155 #define CPUF_RUNNING __BIT(2) /* CPU is running */ macro
/netbsd-src/sys/arch/hppa/include/
H A Dcpu.h317 #define CPUF_RUNNING 0x0002 /* ... is running. */ macro
/netbsd-src/sys/arch/x86/include/
H A Dcpu.h373 #define CPUF_RUNNING 0x2000 /* CPU is running */ macro
/netbsd-src/sys/arch/mips/mips/
H A Dcpu_subr.c96 .ci_flags = CPUF_PRIMARY|CPUF_PRESENT|CPUF_RUNNING,
998 atomic_or_ulong(&ci->ci_flags, CPUF_RUNNING); in cpu_boot_secondary_processors()