/freebsd-12-stable/sys/opencrypto/ |
H A D | xform.c | 60 #include <machine/cpu.h>
|
/freebsd-12-stable/sys/powerpc/powermac/ |
H A D | vcoregpio.c | 38 #include <sys/cpu.h> 74 if (strcmp(name, "cpu-vcore-select") != 0)
|
/freebsd-12-stable/sys/riscv/riscv/ |
H A D | intr_machdep.c | 49 #include <machine/cpu.h> 207 CTR3(KTR_SMP, "%s: cpu: %d, ipi: %x", __func__, pc->pc_cpuid, ipi); 230 ipi_cpu(int cpu, u_int ipi) argument 235 CPU_SET(cpu, &cpus); 237 ipi_send(cpuid_to_pcpu[cpu], ipi);
|
/freebsd-12-stable/sys/mips/mips/ |
H A D | mpboot.S | 30 #include <machine/cpu.h>
|
/freebsd-12-stable/sys/sparc64/sparc64/ |
H A D | db_interface.c | 42 #include <machine/cpu.h>
|
/freebsd-12-stable/sys/x86/x86/ |
H A D | delay.c | 51 #include <machine/cpu.h>
|
/freebsd-12-stable/sys/arm/arm/ |
H A D | vfp.c | 104 /* called for each cpu */ 180 u_int cpu, fpexc; local 227 cpu = PCPU_GET(cpuid); 228 if (curpcb->pcb_vfpcpu != cpu || curthread != PCPU_GET(fpcurthread)) { 230 curpcb->pcb_vfpcpu = cpu;
|
H A D | debug_monitor.c | 43 #include <machine/cpu.h> 600 u_int cpu; local 691 CPU_FOREACH(cpu) { 692 pcpu = pcpu_find(cpu); 698 if (cpu != PCPU_GET(cpuid)) 715 u_int cpu; local 747 CPU_FOREACH(cpu) { 748 pcpu = pcpu_find(cpu); 754 if (cpu != PCPU_GET(cpuid))
|
/freebsd-12-stable/sys/arm/freescale/imx/ |
H A D | imx_machdep.c | 44 #include <machine/cpu.h> 96 "External reset failed, trying internal cpu-reset\n");
|
/freebsd-12-stable/sys/arm/include/ |
H A D | machdep.h | 30 void set_stackptrs(int cpu);
|
/freebsd-12-stable/sys/arm/ti/omap4/ |
H A D | omap4_mp.c | 39 #include <machine/cpu.h>
|
/freebsd-12-stable/sys/arm/xilinx/ |
H A D | zy7_mp.c | 39 #include <machine/cpu.h>
|
/freebsd-12-stable/sys/arm64/arm64/ |
H A D | vfp.c | 205 u_int cpu; local 209 cpu = PCPU_GET(cpuid); 216 * If the previous thread on this cpu to use the VFP was not the 218 * cpu we need to restore the old state. 220 if (PCPU_GET(fpcurthread) != curthread || cpu != curpcb->pcb_vfpcpu) { 224 curpcb->pcb_vfpcpu = cpu;
|
/freebsd-12-stable/stand/libsa/powerpc/ |
H A D | syncicache.c | 47 #include <machine/cpu.h>
|
/freebsd-12-stable/sys/amd64/ia32/ |
H A D | ia32_misc.c | 41 #include <machine/cpu.h>
|
/freebsd-12-stable/sys/dev/cxgb/ |
H A D | cxgb_osdep.h | 75 #if #cpu(i386) || defined __i386 || defined i386 || defined __i386__ || #cpu(x86_64) || defined __x86_64__ 79 #elif #cpu(sparc64) || defined sparc64 || defined __sparcv9 83 #elif #cpu(sparc) || defined sparc || defined __sparc__
|
/freebsd-12-stable/sys/cddl/dev/profile/ |
H A D | profile.c | 56 #include <machine/cpu.h> 506 profile_online(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) argument 526 profile_offline(void *arg, cpu_t *cpu, void *oarg) argument 585 int cpu; local 588 CPU_FOREACH(cpu) { 590 prof->prof_pcpus[cpu] = pcpu; 597 cpu, C_DIRECT_EXEC | C_ABSOLUTE); 605 int cpu; local 608 CPU_FOREACH(cpu) { 609 pcpu = prof->prof_pcpus[cpu]; [all...] |
/freebsd-12-stable/usr.sbin/powerd/ |
H A D | powerd.c | 148 int error, cpu, i, total, excl; local 172 for (cpu = 0; cpu < ncpus; cpu++) { 175 total += cp_times[cpu * CPUSTATES + i] - 176 cp_times_old[cpu * CPUSTATES + i]; 180 excl = cp_times[cpu * CPUSTATES + CP_IDLE] - 181 cp_times_old[cpu * CPUSTATES + CP_IDLE]; 183 excl += cp_times[cpu * CPUSTATES + CP_NICE] - 184 cp_times_old[cpu * CPUSTATE [all...] |
/freebsd-12-stable/sys/cddl/dev/dtrace/amd64/ |
H A D | dtrace_subr.c | 138 dtrace_xcall(processorid_t cpu, dtrace_xcall_t func, void *arg) argument 142 if (cpu == DTRACE_CPUALL) 145 CPU_SETOF(cpu, &cpus); 273 uintptr_t cpu = (uintptr_t) arg; local 275 if (cpu == curcpu) 419 * a flag in its per-cpu flags to indicate that it doesn't
|
/freebsd-12-stable/sys/cddl/dev/dtrace/i386/ |
H A D | dtrace_subr.c | 140 dtrace_xcall(processorid_t cpu, dtrace_xcall_t func, void *arg) argument 144 if (cpu == DTRACE_CPUALL) 147 CPU_SETOF(cpu, &cpus); 275 uintptr_t cpu = (uintptr_t) arg; local 277 if (cpu == curcpu) 421 * a flag in its per-cpu flags to indicate that it doesn't
|
/freebsd-12-stable/sys/dev/xen/timer/ |
H A D | timer.c | 60 #include <machine/cpu.h> 324 int cpu = PCPU_GET(vcpu_id); local 340 error = xentimer_vcpu_start_timer(cpu, next_time); 355 int cpu = PCPU_GET(vcpu_id); local 359 return (xentimer_vcpu_stop_timer(cpu));
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | ArchSpec.cpp | 231 uint32_t cpu; member in struct:ArchDefinitionEntry 258 // convert cpu type and subtypes to architecture names, and to convert 259 // architecture names to cpu types and subtypes. The ordering is important and 394 // convert cpu type and subtypes to architecture names, and to convert 395 // architecture names to cpu types and subtypes. The ordering is important and 519 // Get a definition entry by cpu type and subtype. 521 FindArchDefinitionEntry(const ArchDefinition *def, uint32_t cpu, uint32_t sub) { argument 527 if (entries[i].cpu == (cpu & entries[i].cpu_mask)) 561 ArchSpec::ArchSpec(ArchitectureType arch_type, uint32_t cpu, uint32_ argument 624 std::string cpu; local 806 uint32_t cpu = 0; local 874 SetArchitecture(ArchitectureType arch_type, uint32_t cpu, uint32_t sub, uint32_t os) argument [all...] |
/freebsd-12-stable/sys/compat/linsysfs/ |
H A D | linsysfs.c | 564 * Filler function for sys/devices/system/cpu/{online,possible,present} 575 * Filler function for sys/devices/system/cpu/cpuX/online 588 struct pfs_node *cpu; local 598 len += sizeof("cpu"); 602 /* /sys/devices/system/cpu/cpuX */ 603 sprintf(name, "cpu%d", i); 604 cpu = pfs_create_dir(dir, name, NULL, NULL, NULL, 0); 606 pfs_create_file(cpu, "online", &linsysfs_cpuxonline, 620 struct pfs_node *dir, *sys, *cpu; local 662 /* /sys/devices/system/cpu */ [all...] |
/freebsd-12-stable/sys/kern/ |
H A D | kern_ktr.c | 58 #include <machine/cpu.h> 325 int cpu; local 331 cpu = KTR_CPU; 332 if (!CPU_ISSET(cpu, &ktr_cpumask)) 366 entry->ktr_cpu = cpu; 376 printf("cpu%d ", cpu); 451 db_printf(":cpu%d", kp->ktr_cpu);
|
/freebsd-12-stable/sys/x86/cpufreq/ |
H A D | hwpstate.c | 53 #include <sys/cpu.h> 161 DRIVER_MODULE(hwpstate, cpu, hwpstate_driver, hwpstate_devclass, 0, 0); 171 int cpu, i, j, limit; local 179 cpu = curcpu; 180 HWPSTATE_DEBUG(dev, "setting P%d-state on cpu%d\n", id, cpu); 189 if (i == cpu) 192 /* Bind to each cpu. */ 196 HWPSTATE_DEBUG(dev, "setting P%d-state on cpu%d\n", id, i); 219 HWPSTATE_DEBUG(dev, "result: P%d-state on cpu [all...] |