Searched refs:CPUF_RUNNING (Results 1 – 16 of 16) sorted by relevance
/netbsd-src/sys/arch/hppa/hppa/ |
H A D | ipifuncs.c | 108 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 D | cpu.c | 206 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 D | ipi.c | 106 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 D | cpu.c | 743 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 D | acpi_wakeup.c | 202 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 D | xen_ipi.c | 174 if ((ci->ci_flags & CPUF_RUNNING) == 0) { in xen_send_ipi() 212 if (ci->ci_flags & (CPUF_RUNNING)) { in xen_broadcast_ipi()
|
H A D | cpu.c | 582 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 D | cpu.c | 86 .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 D | cpu.h | 163 #define CPUF_RUNNING 0x04 /* CPU is running */ macro
|
/netbsd-src/sys/arch/riscv/include/ |
H A D | cpu.h | 92 #define CPUF_RUNNING __BIT(2) /* CPU is running */ macro
|
/netbsd-src/sys/arch/riscv/riscv/ |
H A D | cpu.c | 121 .ci_flags = CPUF_PRIMARY | CPUF_PRESENT | CPUF_RUNNING, in cpu_setup_sysctl()
|
H A D | cpu_subr.c | 131 atomic_or_ulong(&ci->ci_flags, CPUF_RUNNING); in cpu_boot_secondary_processors()
|
/netbsd-src/sys/arch/mips/include/ |
H A D | cpu.h | 155 #define CPUF_RUNNING __BIT(2) /* CPU is running */ macro
|
/netbsd-src/sys/arch/hppa/include/ |
H A D | cpu.h | 317 #define CPUF_RUNNING 0x0002 /* ... is running. */ macro
|
/netbsd-src/sys/arch/x86/include/ |
H A D | cpu.h | 373 #define CPUF_RUNNING 0x2000 /* CPU is running */ macro
|
/netbsd-src/sys/arch/mips/mips/ |
H A D | cpu_subr.c | 96 .ci_flags = CPUF_PRIMARY|CPUF_PRESENT|CPUF_RUNNING, 998 atomic_or_ulong(&ci->ci_flags, CPUF_RUNNING); in cpu_boot_secondary_processors()
|