Searched defs:cpu (Results 1 - 25 of 272) 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/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/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/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);
/freebsd-head/contrib/processor-trace/libipt/test/src/
H A Dptunit-cpu.c52 struct pt_cpu cpu; local
55 error = pt_cpu_parse(&cpu, "6/44/2");
57 ptu_int_eq(cpu.vendor, pcv_intel);
58 ptu_uint_eq(cpu.family, 6);
59 ptu_uint_eq(cpu.model, 44);
60 ptu_uint_eq(cpu.stepping, 2);
62 error = pt_cpu_parse(&cpu, "0xf/0x2c/0xf");
64 ptu_int_eq(cpu.vendor, pcv_intel);
65 ptu_uint_eq(cpu.family, 0xf);
66 ptu_uint_eq(cpu
88 struct pt_cpu cpu; local
105 struct pt_cpu cpu; local
128 struct pt_cpu cpu; local
[all...]
/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);
155 bpp.swPortalId = cpu;
156 bpp.irq = (uintptr_t)sc->sc_dp[cpu].dp_ires;
165 atomic_store_rel_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph, (uintptr_t)portal);
175 atomic_store_rel_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph, 0);
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);
160 qpp.swPortalId = cpu;
161 qpp.irq = (uintptr_t)sc->sc_dp[cpu].dp_ires;
177 atomic_store_rel_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph,
187 atomic_store_rel_32((uint32_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]
151 unsigned int cpu; local
[all...]
/freebsd-head/sys/amd64/include/
H A Dcounter.h43 counter_u64_read_one(counter_u64_t c, int cpu) argument
47 return (*zpcpu_get_cpu(c, cpu));
54 int cpu; local
57 CPU_FOREACH(cpu)
58 r += counter_u64_read_one(c, cpu);
/freebsd-head/sys/arm64/coresight/
H A Dcoresight_cmd.c97 coresight_init_event(int cpu, struct coresight_event *event) argument
105 cs_dev->pdata->cpu == cpu) {
115 cs_dev->pdata->cpu == cpu)
129 coresight_enable(int cpu, struct coresight_event *event) argument
141 coresight_disable(int cpu, struct coresight_event *event) argument
153 coresight_read(int cpu, struct coresight_event *event) argument

Completed in 105 milliseconds

1234567891011