/freebsd-12-stable/sys/x86/include/ |
H A D | ucode.h | 64 void ucode_load_ap(int cpu);
|
/freebsd-12-stable/sys/arm/include/ |
H A D | kdb.h | 34 #include <machine/cpu.h>
|
/freebsd-12-stable/usr.sbin/pmcstat/ |
H A D | pmcpl_callgraph.h | 64 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
/freebsd-12-stable/sys/x86/x86/ |
H A D | intr_machdep.c | 108 static int intr_assign_cpu(void *arg, int cpu); 399 intr_assign_cpu(void *arg, int cpu) argument 409 if (mp_ncpus > 1 && cpu != NOCPU) { 415 if (assign_cpu && cpu != NOCPU) { 419 error = isrc->is_pic->pic_assign_cpu(isrc, cpu_apic_ids[cpu]); 421 isrc->is_cpu = cpu; 635 intr_bind(u_int vector, u_char cpu) argument 642 return (intr_event_bind(isrc->is_event, cpu)); 650 intr_add_cpu(u_int cpu) argument 653 if (cpu > 682 u_int cpu, i; local 784 u_int cpu; local [all...] |
/freebsd-12-stable/sys/dev/cpufreq/ |
H A D | cpufreq_dt.c | 43 #include <sys/cpu.h> 85 int cpu; member in struct:cpufreq_dt_softc 94 int cpu; local 98 CPU_FOREACH(cpu) { 99 if (CPU_ISSET(cpu, &sc->cpus)) { 100 pc = pcpu_find(cpu); 174 DPRINTF(dev, "Working on cpu %d\n", sc->cpu); 175 DPRINTF(dev, "We have %d cpu on this dev\n", CPU_COUNT(&sc->cpus)); 176 if (!CPU_ISSET(sc->cpu, 457 int cpu; local [all...] |
/freebsd-12-stable/sys/kern/ |
H A D | kern_clocksource.c | 56 #include <machine/cpu.h> 273 int cpu; local 284 CPU_FOREACH(cpu) { 285 state = DPCPU_ID_PTR(cpu, timerstate); 289 c = cpu; 308 int cpu, bcast; local 340 CPU_FOREACH(cpu) { 341 state = DPCPU_ID_PTR(cpu, timerstate); 346 if (curcpu != cpu) { 362 CPU_FOREACH(cpu) { 484 int cpu; local 596 int base, div, cpu; local 837 cpu_new_callout(int cpu, sbintime_t bt, sbintime_t bt_opt) argument [all...] |
H A D | sched_ule.c | 79 #include <machine/cpu.h> 112 #define THREAD_CAN_SCHED(td, cpu) \ 113 CPU_ISSET((cpu), &(td)->td_cpuset->cs_mask) 138 * SCHED_TICK_SECS: Number of seconds to average the cpu usage across. 139 * SCHED_TICK_TARG: Number of hz ticks to average the cpu usage across. 154 * assigned a priority based on their recent cpu utilization as expressed 176 * cpu utilization in that it expresses the voluntary time slept vs time ran 177 * while cpu utilization includes all time not running. This more accurately 239 struct cpu_group *tdq_cg; /* Pointer to cpu topology. */ 321 void tdq_print(int cpu); 398 tdq_print(int cpu) argument 675 int cpu, i, hload, lload, load, total, rnd; local 925 int cpu; local 955 int cpu; local 990 int cpu, switchcnt; local 1074 int cpu; local 1108 runq_steal_from(struct runq *rq, int cpu, u_char start) argument 1152 runq_steal(struct runq *rq, int cpu) argument 1181 tdq_steal(struct tdq *tdq, int cpu) argument 1199 sched_setcpu(struct thread *td, int cpu, int flags) argument 1250 int cpu, pri, self, intr; local 1906 int cpu, i; local 2569 int cpu; local 2698 sched_bind(struct thread *td, int cpu) argument [all...] |
/freebsd-12-stable/contrib/binutils/include/opcode/ |
H A D | mips.h | 593 #define OPCODE_IS_MEMBER(insn, isa, cpu) \ 595 || (cpu == CPU_R4650 && ((insn)->membership & INSN_4650) != 0) \ 596 || (cpu == CPU_RM7000 && ((insn)->membership & INSN_4650) != 0) \ 597 || (cpu == CPU_RM9000 && ((insn)->membership & INSN_4650) != 0) \ 598 || (cpu == CPU_R4010 && ((insn)->membership & INSN_4010) != 0) \ 599 || (cpu == CPU_VR4100 && ((insn)->membership & INSN_4100) != 0) \ 600 || (cpu == CPU_R3900 && ((insn)->membership & INSN_3900) != 0) \ 601 || ((cpu == CPU_R10000 || cpu == CPU_R12000) \ 603 || (cpu [all...] |
/freebsd-12-stable/sys/x86/xen/ |
H A D | pv.c | 356 start_xen_ap(int cpu) argument 363 bootstacks[cpu] = (void *)kmem_malloc(stacksize, M_WAITOK | M_ZERO); 370 bootSTK = (char *)bootstacks[cpu] + kstack_pages * PAGE_SIZE - 8; 371 bootAP = cpu; 382 if (HYPERVISOR_vcpu_op(VCPUOP_initialise, cpu, ctxt)) 383 panic("unable to initialize AP#%d", cpu); 388 if (HYPERVISOR_vcpu_op(VCPUOP_up, cpu, NULL)) 389 panic("unable to start AP#%d", cpu); 404 int cpu; local 408 for (cpu [all...] |
/freebsd-12-stable/sys/arm64/arm64/ |
H A D | mp_machdep.c | 41 #include <sys/cpu.h> 171 DRIVER_MODULE(arm64_cpu, cpu, arm64_cpu_driver, arm64_cpu_devclass, 0, 0); 208 KASSERT(cpu_list[cpuid] == NULL, ("Already have cpu %u", cpuid)); 274 init_secondary(uint64_t cpu) argument 278 pcpup = &__pcpu[cpu]; 340 int cpu; local 342 for (cpu = 1; cpu < mp_ncpus; cpu++) { 343 if (bootstacks[cpu] ! 443 u_int cpu; local 919 ipi_cpu(int cpu, u_int ipi) argument [all...] |
/freebsd-12-stable/contrib/binutils/bfd/ |
H A D | Makefile.am | 62 cpu-alpha.lo \ 63 cpu-arc.lo \ 64 cpu-arm.lo \ 65 cpu-avr.lo \ 66 cpu-bfin.lo \ 67 cpu-cr16.lo \ 68 cpu-cr16c.lo \ 69 cpu-cris.lo \ 70 cpu-crx.lo \ 71 cpu [all...] |
H A D | Makefile.in | 310 cpu-alpha.lo \ 311 cpu-arc.lo \ 312 cpu-arm.lo \ 313 cpu-avr.lo \ 314 cpu-bfin.lo \ 315 cpu-cr16.lo \ 316 cpu-cr16c.lo \ 317 cpu-cris.lo \ 318 cpu-crx.lo \ 319 cpu [all...] |
/freebsd-12-stable/contrib/bearssl/T0/ |
H A D | OpcodeConst.cs | 37 internal override void Run(CPU cpu) argument 39 cpu.Push(val);
|
H A D | WordData.cs | 75 internal override void Run(CPU cpu) argument 78 cpu.Push(new TValue(offset, new TPointerBlob(blob)));
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/ |
H A D | tst.temporal2.ksh | 51 * Use two enablings of the same probe, so that cpu 0 will always 60 /cpu == 0/ 66 /cpu != 0/ 72 /cpu != 0/
|
/freebsd-12-stable/sys/dev/dpaa/ |
H A D | bman_fdt.c | 144 bman_portal_find_cpu(int cpu) argument 156 if (reg == cpu) 171 ihandle_t cpu; local 190 /* Checkout related cpu */ 191 if (OF_getprop(child, "cpu-handle", (void *)&cpu, 192 sizeof(cpu)) <= 0) { 193 cpu = bman_portal_find_cpu(cpus); 194 if (cpu <= 0) 197 /* Acquire cpu numbe [all...] |
H A D | qman_fdt.c | 144 qman_portal_find_cpu(int cpu) argument 156 if (reg == cpu) 170 ihandle_t cpu; local 218 /* Checkout related cpu */ 219 if (OF_getprop(child, "cpu-handle", (void *)&cpu, 220 sizeof(cpu)) <= 0) { 221 cpu = qman_portal_find_cpu(cpus); 222 if (cpu <= 0) 225 /* Acquire cpu numbe [all...] |
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | workqueue.h | 148 #define schedule_delayed_work_on(cpu, dwork, delay) \ 149 linux_queue_delayed_work_on(cpu, system_wq, dwork, delay) 151 #define queue_work_on(cpu, wq, work) \ 152 linux_queue_work_on(cpu, wq, work) 157 #define queue_delayed_work_on(cpu, wq, dwork, delay) \ 158 linux_queue_delayed_work_on(cpu, wq, dwork, delay) 244 extern bool linux_queue_work_on(int cpu, struct workqueue_struct *, struct work_struct *); 245 extern bool linux_queue_delayed_work_on(int cpu, struct workqueue_struct *,
|
/freebsd-12-stable/sys/sparc64/include/ |
H A D | intr_machdep.h | 97 void intr_add_cpu(u_int cpu); 99 int intr_bind(int vec, u_char cpu);
|
/freebsd-12-stable/sys/mips/include/ |
H A D | pcpu.h | 66 #define PCPU_ADDR(cpu) (struct pcpu *)(pcpu_space[(cpu)])
|
/freebsd-12-stable/sys/mips/nlm/hal/ |
H A D | pcibus.h | 114 #define MIPS_MSI_ADDR(cpu) \ 115 (MSI_MIPS_ADDR_BASE | (cpu) << 12 | \
|
/freebsd-12-stable/gnu/usr.bin/binutils/libbfd/ |
H A D | Makefile.i386 | 6 cpu-i386.c \
|
H A D | Makefile.sparc64 | 6 cpu-sparc.c \
|
/freebsd-12-stable/sys/powerpc/pseries/ |
H A D | platform_chrp.c | 45 #include <machine/cpu.h> 80 static int chrp_smp_start_cpu(platform_t, struct pcpu *cpu); 300 if (res > 0 && strcmp(buf, "cpu") == 0) 355 get_cpu_reg(phandle_t cpu, cell_t *reg) argument 359 res = OF_getproplen(cpu, "reg"); 362 OF_getencprop(cpu, "reg", reg, res); 368 phandle_t cpu, dev, chosen, pbsp; local 397 /* Look for boot CPU in /chosen/cpu and /chosen/fdtbootcpu */ 405 /* /chosen/cpu */ 406 if (OF_getproplen(chosen, "cpu") [all...] |
/freebsd-12-stable/contrib/netbsd-tests/bin/ps/ |
H A D | t_ps.sh | 96 l_keywords='uid pid ppid cpu pri nice vsz rss wchan state tt time command' 97 s_keywords='uid pid ppid cpu lid nlwp pri nice vsz rss wchan lstate tt ltime command' 98 u_keywords='user pid %cpu %mem vsz rss tt state start time command' 99 v_keywords='pid state time sl re pagein vsz rss lim tsiz %cpu %mem command' 208 check_heading_keywords '-O %cpu,%mem' \ 209 "$(echo "${default_keywords}" | sed -e 's/pid/pid %cpu %mem/')" 210 check_heading_keywords '-O %cpu -O %mem' \ 211 "$(echo "${default_keywords}" | sed -e 's/pid/pid %cpu %mem/')" 212 check_heading_keywords '-O%cpu -O%mem' \ 213 "$(echo "${default_keywords}" | sed -e 's/pid/pid %cpu [all...] |