/netbsd-src/external/cddl/osnet/dist/uts/common/sys/ |
H A D | cpuvar.h | 81 typedef struct cpu { struct 82 processorid_t cpu_id; /* CPU number */ argument 83 processorid_t cpu_seqid; /* sequential CPU id (0..ncpus-1) */ argument 84 volatile cpu_flag_t cpu_flags; /* flags indicating CPU state */ argument 85 struct cpu *cpu_self; /* pointer to itself */ argument 86 kthread_t *cpu_thread; /* current thread */ argument 87 kthread_t *cpu_idle_thread; /* idle thread for this CPU */ argument 88 kthread_t *cpu_pause_thread; /* pause thread for this CPU */ argument 89 klwp_id_t cpu_lwp; /* current lwp (if any) */ argument 90 klwp_id_t cpu_fpowner; /* currently loaded fpu owner */ argument [all …]
|
/netbsd-src/sys/arch/sparc64/include/ |
H A D | cpuset.h | 36 #define CPUSET_SINGLE(cpu) ((sparc64_cpuset_t)1 << (cpu)) argument 38 #define CPUSET_ADD(set, cpu) ((set) |= CPUSET_SINGLE(cpu)) argument 39 #define CPUSET_DEL(set, cpu) ((set) &= ~CPUSET_SINGLE(cpu)) argument 42 #define CPUSET_EXCEPT(set, cpu) ((set) & ~CPUSET_SINGLE(cpu)) argument 44 #define CPUSET_HAS(set, cpu) ((set) & CPUSET_SINGLE(cpu)) argument
|
/netbsd-src/sys/arch/mips/cavium/ |
H A D | octeon_intr.c | 220 struct cpu_softc *cpu; in octeon_intr_setup() local 259 struct cpu_softc *cpu = &octeon_cpu_softc[cpunum]; in octeon_intr_init() local 338 struct cpu_softc *cpu; in octeon_intr_establish() local 423 struct cpu_softc *cpu; in octeon_intr_disestablish() local 481 struct cpu_softc * const cpu = ci->ci_softc; in octeon_iointr() local 541 struct cpu_softc * const cpu = ci->ci_softc; in octeon_ipi_intr() local 601 struct cpu_softc * const cpu = ci->ci_softc; in octeon_send_ipi() local
|
/netbsd-src/sys/arch/arm/sunxi/ |
H A D | sunxi_mc_smp.c | 57 #define PRCM_CL_PWR_CLAMP(cluster, cpu) (0x140 + (cluster) * 0x10 + (cpu) * 0x4) argument 71 #define CPUXCFG_CL_RST_ETM_RST(cpu) __BIT(20 + (cpu)) argument 72 #define CPUXCFG_CL_RST_DBG_RST(cpu) __BIT(16 + (cpu)) argument 75 #define CPUXCFG_CL_RST_CX_RST(cpu) __BIT(4 + (cpu)) argument 115 bus_space_handle_t cpuxcfg, u_int cluster, u_int cpu, enum sunxi_mc_soc soc, in sunxi_mc_smp_start() 209 const u_int cpu = __SHIFTOUT(mpidr, MPIDR_AFF0); in sun8i_a83t_smp_enable() local 243 const u_int cpu = __SHIFTOUT(mpidr, MPIDR_AFF0); in sun9i_a80_smp_enable() local
|
/netbsd-src/sys/arch/sbmips/sbmips/ |
H A D | sb1250_icu.c | 171 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_lsw_cpu_init() local 179 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_lsw_send_ipi() local 192 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_ipi_intr() local 205 sb1250_cpu_init(struct cpu_softc *cpu) in sb1250_cpu_init() 293 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_cpu_intr() local 338 struct cpu_softc * const cpu = curcpu()->ci_softc; in sb1250_intr_establish() local
|
/netbsd-src/sys/arch/evbmips/sbmips/ |
H A D | sb1250_icu.c | 171 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_lsw_cpu_init() local 179 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_lsw_send_ipi() local 192 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_ipi_intr() local 205 sb1250_cpu_init(struct cpu_softc *cpu) in sb1250_cpu_init() 293 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_cpu_intr() local 338 struct cpu_softc * const cpu = curcpu()->ci_softc; in sb1250_intr_establish() local
|
/netbsd-src/external/cddl/osnet/dev/dtrace/ |
H A D | dtrace_debug.c | 53 dtrace_debug_lock(int cpu) in dtrace_debug_lock() 64 dtrace_debug_unlock(int cpu) in dtrace_debug_unlock() 166 dtrace_debug__putc(int cpu, char c) in dtrace_debug__putc() 188 int cpu; in dtrace_debug_putc() local 201 int cpu; in dtrace_debug_puts() local 241 dtrace_debug_vprintf(int cpu, const char *fmt, va_list ap) in dtrace_debug_vprintf() 551 int cpu; in dtrace_debug_printf() local
|
/netbsd-src/external/bsd/nsd/dist/compat/ |
H A D | cpuset.c | 39 int cpuset_set(cpuid_t cpu, cpuset_t *set) in cpuset_set() 47 int cpuset_clr(cpuid_t cpu, cpuset_t *set) in cpuset_clr() 55 int cpuset_isset(cpuid_t cpu, const cpuset_t *set) in cpuset_isset()
|
/netbsd-src/sys/arch/powerpc/include/ |
H A D | openpicreg.h | 103 #define OPENPIC_IPI(cpu, ipi) (0x20040 + (cpu) * 0x1000 + \ argument 107 #define OPENPIC_CPU_PRIORITY(cpu) (0x20080 + (cpu) * 0x1000) argument 111 #define OPENPIC_IACK(cpu) (0x200a0 + (cpu) * 0x1000) argument 114 #define OPENPIC_EOI(cpu) (0x200b0 + (cpu) * 0x1000) argument
|
H A D | openpic.h | 57 openpic_read_irq(int cpu) in openpic_read_irq() 63 openpic_eoi(int cpu) in openpic_eoi()
|
/netbsd-src/sys/arch/powerpc/booke/ |
H A D | booke_machdep.c | 225 struct cpu_softc * const cpu = &cpu_softc[i]; in booke_cpu_startup() local 418 struct cpu_softc * const cpu = ci->ci_softc; in cpu_evcnt_attach() local 534 struct cpu_softc * const cpu = curcpu()->ci_softc; in cpu_read_4() local 542 struct cpu_softc * const cpu = curcpu()->ci_softc; in cpu_read_1() local 550 struct cpu_softc * const cpu = curcpu()->ci_softc; in cpu_write_4() local 557 struct cpu_softc * const cpu = curcpu()->ci_softc; in cpu_write_1() local 666 struct cpu_softc * const cpu = ci->ci_softc; in dump_splhist() local
|
H A D | e500_timer.c | 70 openpic_write(struct cpu_softc *cpu, bus_size_t offset, uint32_t val) in openpic_write() 82 struct cpu_softc * const cpu = ci->ci_softc; in e500_clock_intr() local 151 struct cpu_softc * const cpu = ci->ci_softc; in cpu_initclocks() local
|
H A D | e500_intr.c | 460 openpic_read(struct cpu_softc * cpu,bus_size_t offset) openpic_read() argument 468 openpic_write(struct cpu_softc * cpu,bus_size_t offset,uint32_t val) openpic_write() argument 512 struct cpu_softc * const cpu = ci->ci_softc; e500_splset() local 714 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_string() local 739 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_cpu_establish() local 858 struct cpu_softc * const cpu = curcpu()->ci_softc; e500_intr_disestablish() local 938 struct cpu_softc * const cpu = ci->ci_softc; e500_extintr() local 1097 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_init() local 1196 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_init_precpu() local 1226 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_cpu_attach() local 1291 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_cpu_send_ipi() local 1463 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_get_affinity() local 1487 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_set_affinity() local 1549 struct cpu_softc * const cpu = ci->ci_softc; e500_intr_is_affinity_intrsource() local 1592 struct cpu_softc * const cpu = ci->ci_softc; interrupt_get_count() local [all...] |
/netbsd-src/external/gpl3/gcc/dist/gcc/config/sparc/ |
H A D | driver-sparc.cc | 29 const char *const cpu; member 108 const char *cpu = NULL; in host_detect_local_cpu() local
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sparc/ |
H A D | driver-sparc.c | 29 const char *const cpu; member 108 const char *cpu = NULL; in host_detect_local_cpu() local
|
/netbsd-src/sys/dev/acpi/ |
H A D | acpi_srat.c | 54 struct acpisrat_cpu cpu; member 61 #define CPU_FOREACH(cpu) TAILQ_FOREACH(cpu, &cpulisthead, entry) argument 62 #define CPU_ADD(cpu) TAILQ_INSERT_TAIL(&cpulisthead, cpu, entry) argument 63 #define CPU_REM(cpu) TAILQ_REMOVE(&cpulisthead, cpu, entry) argument 580 struct acpisrat_cpu *cpu; in acpisrat_get_node() local
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/alpha/ |
H A D | driver-alpha.cc | 63 const char *const cpu; in host_detect_local_cpu() member 76 const char *cpu; in host_detect_local_cpu() local
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/alpha/ |
H A D | driver-alpha.c | 63 const char *const cpu; in host_detect_local_cpu() member 76 const char *cpu; in host_detect_local_cpu() local
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
H A D | driver-rs6000.cc | 207 static const char *cpu = NULL; in elf_platform() local 438 const char *cpu; member 554 const char *cpu = NULL; in host_detect_local_cpu() local 621 const char *cpu; in host_detect_local_cpu() local
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/ |
H A D | driver-rs6000.c | 207 static const char *cpu = NULL; in elf_platform() local 435 const char *cpu; member 551 const char *cpu = NULL; in host_detect_local_cpu() local 618 const char *cpu; in host_detect_local_cpu() local
|
/netbsd-src/sys/arch/powerpc/include/booke/ |
H A D | openpicreg.h | 99 #define OPENPIC_GTCCR(cpu, n) (0x1100 + 0x40 * (n) + 0x1000 * (cpu)) argument 102 #define OPENPIC_GTBCR(cpu, n) (0x1110 + 0x40 * (n) + 0x1000 * (cpu)) argument 105 #define OPENPIC_GTVPR(cpu, n) (0x1120 + 0x40 * (n) + 0x1000 * (cpu)) argument 106 #define OPENPIC_GTDR(cpu, n) (0x1130 + 0x40 * (n) + 0x1000 * (cpu)) argument 158 #define OPENPIC_MSGR(cpu, n) (0x1400 + 0x1000 * (cpu) + 0x10 * (n)) argument 159 #define OPENPIC_MER(cpu) (0x1500 + 0x1000 * (cpu)) argument 161 #define OPENPIC_MSR(cpu) (0x1510 + 0x1000 * (cpu)) argument 353 #define OPENPIC_IPIDRn(cpu, n) (0x20040 + 0x1000 * (cpu) + 0x10 * (n)) argument 354 #define OPENPIC_CTPRn(cpu) (0x20080 + 0x1000 * (cpu)) argument 355 #define OPENPIC_WHOAMIn(cpu) (0x20090 + 0x1000 * (cpu)) argument [all …]
|
/netbsd-src/sys/external/bsd/common/linux/ |
H A D | linux_srcu.c | 134 struct srcu_cpu *cpu; in srcu_adjust() local 239 struct srcu_cpu *cpu; in synchronize_srcu_xc() local
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/ |
H A D | sched.d | 122 cpu_mask CPU_SET(size_t cpu, cpu_set_t* cpusetp) pure in CPU_SET() 127 bool CPU_ISSET(size_t cpu, cpu_set_t* cpusetp) pure in CPU_ISSET()
|
/netbsd-src/external/cddl/osnet/dev/dtrace/amd64/ |
H A D | dtrace_subr.c | 130 dtrace_xcall(processorid_t cpu, dtrace_xcall_t func, void *arg) in dtrace_xcall() 292 uintptr_t cpu = (uintptr_t) arg; in dtrace_gethrtime_init_sync() local 306 uintptr_t cpu = (uintptr_t) arg; in dtrace_gethrtime_init_cpu() local
|
/netbsd-src/sys/arch/m68k/m68k/ |
H A D | procfs_machdep.c | 21 const char *cpu, *mmu, *fpu; in procfs_getcpuinfstr() local
|