Searched defs:cpu (Results 1 - 25 of 279) sorted by relevance

1234567891011>>

/freebsd-head/lib/libpmcstat/
H A Dlibpmcstat_event.c45 int cpu; local
48 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) {
49 if (!CPU_ISSET(cpu, cpumask))
57 ev_clone->ev_cpu = cpu;
/freebsd-head/contrib/bearssl/T0/
H A DOpcodeGetLocal.cs37 internal override void Run(CPU cpu) argument
39 cpu.Push(cpu.GetLocal(num));
H A DOpcodeJumpIf.cs38 internal override void Run(CPU cpu) argument
40 TValue v = cpu.Pop();
42 base.Run(cpu);
H A DOpcodeJumpIfNot.cs38 internal override void Run(CPU cpu) argument
40 TValue v = cpu.Pop();
42 base.Run(cpu);
H A DOpcodePutLocal.cs37 internal override void Run(CPU cpu) argument
39 cpu.PutLocal(num, cpu.Pop());
H A DOpcodeRet.cs30 internal override void Run(CPU cpu) argument
32 cpu.Exit();
H A DOpcodeCall.cs49 internal override void Run(CPU cpu) argument
51 target.Run(cpu);
H A DOpcodeConst.cs37 internal override void Run(CPU cpu) argument
39 cpu.Push(val);
H A DOpcodeJump.cs47 internal override void Run(CPU cpu) argument
49 cpu.ipOff += disp;
H A DTPointerBase.cs49 internal virtual void Execute(T0Comp ctx, CPU cpu) argument
H A DWordNative.cs38 internal delegate void NativeRun(CPU cpu); argument
55 internal override void Run(CPU cpu) argument
57 code(cpu);
H A DTPointerXT.cs57 internal override void Execute(T0Comp ctx, CPU cpu) argument
60 Target.Run(cpu);
H A DWordData.cs75 internal override void Run(CPU cpu) argument
78 cpu.Push(new TValue(offset, new TPointerBlob(blob)));
/freebsd-head/contrib/gcclibs/libgomp/config/linux/
H A Daffinity.c87 unsigned int cpu; local
91 cpu = __sync_fetch_and_add (&affinity_counter, 1);
94 cpu = affinity_counter++;
97 cpu %= gomp_cpu_affinity_len;
99 CPU_SET (gomp_cpu_affinity[cpu], &cpuset);
/freebsd-head/sys/amd64/vmm/
H A Dvmm_lapic.h37 int lapic_rdmsr(struct vm *vm, int cpu, u_int msr, uint64_t *rval,
39 int lapic_wrmsr(struct vm *vm, int cpu, u_int msr, uint64_t wval,
42 int lapic_mmio_read(void *vm, int cpu, uint64_t gpa,
44 int lapic_mmio_write(void *vm, int cpu, uint64_t gpa,
49 * to the 'cpu', the state is recorded in IRR.
51 int lapic_set_intr(struct vm *vm, int cpu, int vector, bool trig);
56 lapic_intr_level(struct vm *vm, int cpu, int vector) argument
59 return (lapic_set_intr(vm, cpu, vector, LAPIC_TRIG_LEVEL));
63 lapic_intr_edge(struct vm *vm, int cpu, int vector) argument
66 return (lapic_set_intr(vm, cpu, vecto
[all...]
/freebsd-head/gnu/usr.bin/gdb/kgdb/
H A Dkgdb.h44 int cpu; member in struct:kthr
/freebsd-head/sys/dev/dpaa/
H A Dbman_portals.c119 unsigned int cpu; local
130 cpu = PCPU_GET(cpuid);
133 while (atomic_cmpset_acq_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph,
135 p = atomic_load_acq_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph);
156 bpp.swPortalId = cpu;
157 bpp.irq = (uintptr_t)sc->sc_dp[cpu].dp_ires;
166 atomic_store_rel_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph, (uintptr_t)portal);
176 atomic_store_rel_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph, 0);
H A Dportals_common.c53 dpaa_portal_alloc_res(device_t dev, struct dpaa_portals_devinfo *di, int cpu) argument
100 sc->sc_dp[cpu].dp_regs_mapped = 1;
104 sc->sc_dp[cpu].dp_ce_pa = rle->start + sc->sc_dp_pa;
105 sc->sc_dp[cpu].dp_ce_size = rle->count;
107 sc->sc_dp[cpu].dp_ci_pa = rle->start + sc->sc_dp_pa;
108 sc->sc_dp[cpu].dp_ci_size = rle->count;
112 sc->sc_dp[cpu].dp_irid = 0;
113 sc->sc_dp[cpu].dp_ires = bus_alloc_resource(dev,
114 SYS_RES_IRQ, &sc->sc_dp[cpu].dp_irid, rle->start, rle->end,
117 sc->sc_dp[cpu]
152 unsigned int cpu; local
[all...]
H A Dqman_portals.c123 unsigned int cpu; local
135 cpu = PCPU_GET(cpuid);
138 while (atomic_cmpset_acq_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph,
140 p = atomic_load_acq_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph);
161 qpp.swPortalId = cpu;
162 qpp.irq = (uintptr_t)sc->sc_dp[cpu].dp_ires;
178 atomic_store_rel_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph,
188 atomic_store_rel_32((uint32_t *)&sc->sc_dp[cpu].dp_ph, 0);
/freebsd-head/usr.bin/procstat/
H A Dprocstat_cs.c53 int once, twice, lastcpu, cpu; local
73 xo_emit("{:cpu/%3d/%d} ", kipp->ki_oncpu);
75 xo_emit("{:cpu/%3d/%d} ", kipp->ki_lastcpu);
77 xo_emit("{:cpu/%3s/%s} ", "-");
90 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) {
91 if (CPU_ISSET(cpu, &mask)) {
94 cpu);
96 } else if (cpu
[all...]
/freebsd-head/sys/dev/hwpmc/
H A Dhwpmc_octeon.c38 #include <machine/cpu.h>
163 mips_get_perfctl(int cpu, int ri, uint32_t event, uint32_t caps) argument
167 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),
168 ("[mips,%d] illegal CPU value %d", __LINE__, cpu));
/freebsd-head/usr.sbin/pmcstat/
H A Dpmcpl_annotate.c82 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu)
89 (void) pmcr; (void) nsamples; (void) usermode; (void) cpu;
81 pmcpl_annotate_process(struct pmcstat_process *pp, struct pmcstat_pmcrecord *pmcr, uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) argument
H A Dpmcpl_annotate_cg.c85 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu)
95 (void) pmcr; (void) nsamples; (void) usermode; (void) cpu;
84 pmcpl_annotate_cg_process(struct pmcstat_process *pp, struct pmcstat_pmcrecord *pmcr, uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) argument
/freebsd-head/sys/arm64/coresight/
H A Dcoresight-cmd.c94 coresight_init_event(int cpu, struct coresight_event *event) argument
102 cs_dev->pdata->cpu == cpu) {
112 cs_dev->pdata->cpu == cpu)
126 coresight_enable(int cpu, struct coresight_event *event) argument
138 coresight_disable(int cpu, struct coresight_event *event) argument
150 coresight_read(int cpu, struct coresight_event *event) argument
/freebsd-head/sys/dev/xen/pvcpu/
H A Dpvcpu.c41 * Dummy Xen cpu device
74 int cpu; local
76 cpu = device_get_unit(dev);
77 pc = pcpu_find(cpu);

Completed in 966 milliseconds

1234567891011>>