/freebsd-current/sys/cddl/dev/fbt/x86/ |
H A D | fbt_isa.c | 62 solaris_cpu_t *cpu; local 77 cpu = &solaris_cpu[curcpu]; 99 cpu->cpu_dtrace_caller = stack[0]; 119 cpu->cpu_dtrace_caller = stack[i++]; 132 cpu->cpu_dtrace_caller = 0; 142 cpu->cpu_dtrace_caller = stack[0]; 149 cpu->cpu_dtrace_caller = 0;
|
/freebsd-current/sys/arm/annapurna/alpine/ |
H A D | alpine_machdep_mp.c | 43 #include <machine/cpu.h> 55 #define AL_CPU_RESUME_PCPU_RADDR_REG(cpu) (0x08 + 0x04 + 8*(cpu)) 56 #define AL_CPU_RESUME_PCPU_FLAGS(cpu) (0x08 + 8*(cpu)) 71 #define AL_NB_CONFIG_STATUS_PWR_CTRL(cpu) (0x2020 + (cpu)*0x100) 137 ofw_bus_find_compatible(node, "annapurna-labs,al-cpu-resume")) == 0)
|
/freebsd-current/sys/dev/coretemp/ |
H A D | coretemp.c | 78 static uint64_t coretemp_get_thermal_msr(int cpu); 79 static void coretemp_clear_thermal_msr(int cpu); 106 DRIVER_MODULE(coretemp, cpu, coretemp_driver, NULL, NULL); 278 * Add the MIBs to dev.cpu.N and dev.cpu.N.coretemp. 326 coretemp_get_thermal_msr(int cpu) argument 331 MSR_OP_CPUID(cpu), 0, &res); 336 coretemp_clear_thermal_msr(int cpu) argument 339 MSR_OP_CPUID(cpu), 0, NULL);
|
/freebsd-current/sys/kern/ |
H A D | sched_ule.c | 77 #include <machine/cpu.h> 110 #define THREAD_CAN_SCHED(td, cpu) \ 111 CPU_ISSET((cpu), &(td)->td_cpuset->cs_mask) 136 * SCHED_TICK_SECS: Number of seconds to average the cpu usage across. 137 * SCHED_TICK_TARG: Number of hz ticks to average the cpu usage across. 152 * assigned a priority based on their recent cpu utilization as expressed 174 * cpu utilization in that it expresses the voluntary time slept vs time ran 175 * while cpu utilization includes all time not running. This more accurately 245 struct cpu_group *tdq_cg; /* (c) Pointer to cpu topology. */ 339 static void tdq_print(int cpu); 415 tdq_print(int cpu) argument 956 int cpu, lowpri; local 996 int cpu; local 1028 int cpu, switchcnt, goup; local 1140 int cpu; local 1186 runq_steal_from(struct runq *rq, int cpu, u_char start) argument 1232 runq_steal(struct runq *rq, int cpu) argument 1261 tdq_steal(struct tdq *tdq, int cpu) argument 1279 sched_setcpu(struct thread *td, int cpu, int flags) argument 1325 int cpu, pri, r, self, intr; local 2029 int cpu, i, goup; local 2764 int cpu, lowpri; local 2900 sched_bind(struct thread *td, int cpu) argument [all...] |
/freebsd-current/tools/tools/umastat/ |
H A D | umastat.c | 239 int cpu, const char *spaces, int *ub_cnt_add, int *ub_entries_add) 244 printf("%s%s[%d] = {\n", spaces, name, cpu); 285 int all_cpus, cpu, mp_maxcpus, mp_maxid, ret, ub_cnt, ub_entries; local 432 for (cpu = 0; cpu <= mp_maxid; cpu++) { 433 /* if (CPU_ABSENT(cpu)) */ 434 if ((all_cpus & (1 << cpu)) == 0) 437 &uzp_userspace->uz_cpu[cpu], 438 "uc_cache", cpu, " ", 238 uma_print_cache(kvm_t *kvm, struct uma_cache *cache, const char *name, int cpu, const char *spaces, int *ub_cnt_add, int *ub_entries_add) argument [all...] |
/freebsd-current/sys/dev/hwpmc/ |
H A D | hwpmc_e500.c | 35 #include <machine/cpu.h> 273 e500_set_pmc(int cpu, int ri, int config) argument 279 phw = &powerpc_pcpu[cpu]->pc_ppcpmcs[ri]; 330 e500_pcpu_init(struct pmc_mdep *md, int cpu) argument 334 powerpc_pcpu_init(md, cpu); 341 e500_set_pmc(cpu, i, PMCN_NONE); 350 e500_pcpu_fini(struct pmc_mdep *md, int cpu) argument 358 return (powerpc_pcpu_fini(md, cpu)); 362 e500_allocate_pmc(int cpu, int ri, struct pmc *pm, argument 371 KASSERT(cpu > [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TraceIntelPTBundleLoader.cpp | 158 for (const JSONCpu &cpu : *bundle_description.cpus) { 160 *process_sp, static_cast<lldb::tid_t>(cpu.id), FileSpec(cpu.ipt_trace)); 161 thread_sp->SetName(formatv("kernel_cpu_{0}", cpu.id).str().c_str()); 280 // Path to the raw Intel PT buffer for this cpu core. 282 // Path to the raw perf_event_open context switch trace file for this cpu core. 351 for (const JSONCpu &cpu : *bundle_description.cpus) { 353 FileSpec(cpu.context_switch_trace), 357 data, cpu.id, *bundle_description.tsc_perf_zero_conversion); 409 for (JSONCpu &cpu [all...] |
/freebsd-current/sys/sys/ |
H A D | interrupt.h | 171 int intr_event_bind(struct intr_event *ie, int cpu); 172 int intr_event_bind_irqonly(struct intr_event *ie, int cpu); 173 int intr_event_bind_ithread(struct intr_event *ie, int cpu);
|
H A D | callout.h | 104 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \ 106 (cpu), C_HARDCLOCK) 111 #define callout_schedule_sbt_on(c, sbt, pr, cpu, flags) \ 113 (cpu), (flags))
|
/freebsd-current/sys/arm/mv/ |
H A D | mpic.c | 223 int cpu; local 281 for (cpu = 0; cpu < mp_ncpus; cpu++) 282 MPIC_CPU_WRITE(mv_mpic_sc, MPIC_CPU(cpu) + MPIC_LOCAL_MASK, 283 (1 << cpu) | MPIC_CPU_READ(mv_mpic_sc, 284 MPIC_CPU(cpu) + MPIC_LOCAL_MASK)); 447 int cpu; local 450 for (cpu = 0; cpu < mp_ncpu 472 int cpu; local [all...] |
/freebsd-current/contrib/bearssl/T0/ |
H A D | Word.cs | 97 internal virtual void Run(CPU cpu) argument
|
H A D | TValue.cs | 117 internal void Execute(T0Comp ctx, CPU cpu) argument 119 ToXT().Execute(ctx, cpu);
|
/freebsd-current/sys/powerpc/include/ |
H A D | intr_machdep.h | 57 int powerpc_bind_intr(u_int irq, u_char cpu);
|
H A D | frame.h | 70 } cpu; member in struct:trapframe
|
/freebsd-current/sys/riscv/include/ |
H A D | pcpu.h | 41 #include <machine/cpu.h>
|
/freebsd-current/sys/dev/dpaa2/ |
H A D | dpaa2_io.h | 101 int cpu; member in struct:dpaa2_io_softc
|
/freebsd-current/lib/libc/powerpc64/string/ |
H A D | bcopy_resolver.c | 30 #include <machine/cpu.h>
|
/freebsd-current/sys/powerpc/powerpc/ |
H A D | syncicache.c | 44 #include <machine/cpu.h>
|
/freebsd-current/sys/cddl/dev/fbt/riscv/ |
H A D | fbt_isa.c | 48 solaris_cpu_t *cpu; local 51 cpu = &solaris_cpu[curcpu]; 56 cpu->cpu_dtrace_caller = frame->tf_ra - INSN_SIZE; 67 cpu->cpu_dtrace_caller = 0;
|
/freebsd-current/sys/x86/include/ |
H A D | ucode.h | 73 void ucode_load_ap(int cpu);
|
/freebsd-current/sys/cddl/dev/fbt/aarch64/ |
H A D | fbt_isa.c | 44 solaris_cpu_t *cpu; local 47 cpu = &solaris_cpu[curcpu]; 54 cpu->cpu_dtrace_caller = addr; 64 cpu->cpu_dtrace_caller = 0;
|
/freebsd-current/sys/arm64/arm64/ |
H A D | ptrauth.c | 45 #include <machine/cpu.h> 219 ptrauth_mp_start(uint64_t cpu) argument 233 * As it's only used for a short length of time just use the cpu 236 start_key.pa_key_lo = cpu; 237 start_key.pa_key_hi = ~cpu;
|
/freebsd-current/sys/amd64/linux/ |
H A D | linux_vdso_gtod.c | 116 __vdso_getcpu_fallback(uint32_t *cpu, uint32_t *node, void *cache) argument 124 : "a"(LINUX_SYS_linux_getcpu), "D"(cpu), "S"(node), "d"(cache)
|
/freebsd-current/sys/i386/linux/ |
H A D | linux_vdso_gtod.c | 130 __vdso_getcpu_fallback(uint32_t *cpu, uint32_t *node, void *cache) argument 138 : "a"(LINUX_SYS_linux_getcpu), "D"(cpu), "S"(node), "d"(cache)
|
/freebsd-current/sys/amd64/linux32/ |
H A D | linux32_vdso_gtod.c | 130 __vdso_getcpu_fallback(uint32_t *cpu, uint32_t *node, void *cache) argument 138 : "a"(LINUX32_SYS_linux_getcpu), "D"(cpu), "S"(node), "d"(cache)
|