Searched refs:cpu (Results 226 - 250 of 796) sorted by relevance

1234567891011>>

/freebsd-12-stable/sys/opencrypto/
H A Dxform.c60 #include <machine/cpu.h>
/freebsd-12-stable/sys/powerpc/powermac/
H A Dvcoregpio.c38 #include <sys/cpu.h>
74 if (strcmp(name, "cpu-vcore-select") != 0)
/freebsd-12-stable/sys/riscv/riscv/
H A Dintr_machdep.c49 #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 Dmpboot.S30 #include <machine/cpu.h>
/freebsd-12-stable/sys/sparc64/sparc64/
H A Ddb_interface.c42 #include <machine/cpu.h>
/freebsd-12-stable/sys/x86/x86/
H A Ddelay.c51 #include <machine/cpu.h>
/freebsd-12-stable/sys/arm/arm/
H A Dvfp.c104 /* 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 Ddebug_monitor.c43 #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 Dimx_machdep.c44 #include <machine/cpu.h>
96 "External reset failed, trying internal cpu-reset\n");
/freebsd-12-stable/sys/arm/include/
H A Dmachdep.h30 void set_stackptrs(int cpu);
/freebsd-12-stable/sys/arm/ti/omap4/
H A Domap4_mp.c39 #include <machine/cpu.h>
/freebsd-12-stable/sys/arm/xilinx/
H A Dzy7_mp.c39 #include <machine/cpu.h>
/freebsd-12-stable/sys/arm64/arm64/
H A Dvfp.c205 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 Dsyncicache.c47 #include <machine/cpu.h>
/freebsd-12-stable/sys/amd64/ia32/
H A Dia32_misc.c41 #include <machine/cpu.h>
/freebsd-12-stable/sys/dev/cxgb/
H A Dcxgb_osdep.h75 #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 Dprofile.c56 #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 Dpowerd.c148 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 Ddtrace_subr.c138 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 Ddtrace_subr.c140 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 Dtimer.c60 #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 DArchSpec.cpp231 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 Dlinsysfs.c564 * 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 Dkern_ktr.c58 #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 Dhwpstate.c53 #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...]

Completed in 369 milliseconds

1234567891011>>