Searched refs:cpu (Results 51 - 75 of 734) sorted by relevance

1234567891011>>

/freebsd-current/sys/arm/arm/
H A Dmp_machdep.c49 #include <machine/cpu.h>
72 void set_stackptrs(int cpu);
139 init_secondary(int cpu) argument
149 set_stackptrs(cpu);
152 pc = &__pcpu[cpu];
158 while(mp_naps < (cpu - 1))
161 pcpu_init(pc, cpu, sizeof(struct pcpu));
163 dpcpu_init(dpcpu[cpu - 1], cpu);
241 u_int cpu; local
353 ipi_cpu(int cpu, u_int ipi) argument
[all...]
/freebsd-current/sys/powerpc/powermac/
H A Dplatform_powermac.c42 #include <machine/cpu.h>
71 static int powermac_smp_start_cpu(platform_t, struct pcpu *cpu);
242 powermac_smp_fill_cpuref(struct cpuref *cpuref, phandle_t cpu) argument
247 cpuref->cr_hwref = cpu;
248 res = OF_getprop(cpu, "reg", &cpuid, sizeof(cpuid));
266 phandle_t cpu, dev, root; local
288 cpu = OF_child(dev);
290 while (cpu != 0) {
291 res = OF_getprop(cpu, "device_type", buf, sizeof(buf));
292 if (res > 0 && strcmp(buf, "cpu")
306 phandle_t cpu; local
345 phandle_t cpu; local
[all...]
/freebsd-current/contrib/bearssl/T0/
H A DOpcodeCall.cs49 internal override void Run(CPU cpu) argument
51 target.Run(cpu);
H A DTPointerBase.cs49 internal virtual void Execute(T0Comp ctx, CPU cpu) argument
/freebsd-current/sys/arm/ti/
H A Dti_smc.S28 .cpu cortex-a8
/freebsd-current/sys/powerpc/pseries/
H A Dxics.c110 int cpu; member in struct:xicp_intvec
161 xicp_mem_for_cpu(int cpu) argument
171 if (cpu >= sc->cpu_range[0] && cpu < sc->cpu_range[1])
172 return (sc->mem[cpu - sc->cpu_range[0]]);
321 cell_t status, cpu; local
335 CPU_FOREACH(cpu)
336 if (CPU_ISSET(cpu, &cpumask)) ncpus++;
340 CPU_FOREACH(cpu) {
341 if (!CPU_ISSET(cpu,
432 cell_t status, cpu; local
493 xicp_ipi(device_t dev, u_int cpu) argument
[all...]
/freebsd-current/sys/x86/iommu/
H A Diommu_intrmap.h33 int iommu_map_msi_intr(device_t src, u_int cpu, u_int vector, u_int cookie,
36 int iommu_map_ioapic_intr(u_int ioapic_id, u_int cpu, u_int vector, bool edge,
/freebsd-current/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-current/sys/powerpc/powernv/
H A Dplatform_powernv.c39 #include <machine/cpu.h>
74 static int powernv_smp_start_cpu(platform_t, struct pcpu *cpu);
137 phandle_t cpu; local
187 cpu = OF_peer(0);
188 cpu = OF_child(cpu);
189 while (cpu != 0) {
190 res = OF_getprop(cpu, "name", buf, sizeof(buf));
193 cpu = OF_peer(cpu);
285 phandle_t cpu, dev, root; local
318 phandle_t cpu, dev; local
447 phandle_t cpu, dev, root; local
[all...]
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_amd.c45 #include <machine/cpu.h>
214 amd_read_pmc(int cpu, int ri, struct pmc *pm, pmc_value_t *v) argument
220 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),
221 ("[amd,%d] illegal CPU value %d", __LINE__, cpu));
224 KASSERT(amd_pcpu[cpu],
225 ("[amd,%d] null per-cpu, cpu %d", __LINE__, cpu));
260 amd_write_pmc(int cpu, in argument
288 amd_config_pmc(int cpu, int ri, struct pmc *pm) argument
313 amd_get_config(int cpu, int ri, struct pmc **ppm) argument
452 amd_release_pmc(int cpu, int ri, struct pmc *pmc __unused) argument
558 int i, error, retval, cpu; local
650 amd_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) argument
694 amd_pcpu_init(struct pmc_mdep *md, int cpu) argument
732 amd_pcpu_fini(struct pmc_mdep *md, int cpu) argument
[all...]
/freebsd-current/usr.sbin/pmcstudy/
H A Dpmcstudy.c168 int cpu; /* CPU we are on */ member in struct:counters
473 allocstall1(struct counters *cpu, int pos) argument
480 unhalt = find_counter(cpu, "CPU_CLK_UNHALTED.THREAD_P");
481 partial = find_counter(cpu, "PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW");
495 allocstall2(struct counters *cpu, int pos) argument
502 unhalt = find_counter(cpu, "CPU_CLK_UNHALTED.THREAD_P");
503 partial = find_counter(cpu, "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP");
517 br_mispredict(struct counters *cpu, int pos) argument
526 unhalt = find_counter(cpu, "CPU_CLK_UNHALTED.THREAD_P");
527 brctr = find_counter(cpu, "BR_MISP_RETIRE
541 br_mispredictib(struct counters *cpu, int pos) argument
595 br_mispredict_broad(struct counters *cpu, int pos) argument
636 splitloadib(struct counters *cpu, int pos) argument
670 splitload(struct counters *cpu, int pos) argument
695 splitload_sb(struct counters *cpu, int pos) argument
720 splitstore_sb(struct counters *cpu, int pos) argument
744 splitstore(struct counters *cpu, int pos) argument
767 contested(struct counters *cpu, int pos) argument
791 contested_has(struct counters *cpu, int pos) argument
815 contestedbroad(struct counters *cpu, int pos) argument
845 blockstoreforward(struct counters *cpu, int pos) argument
869 cache2(struct counters *cpu, int pos) argument
905 datasharing(struct counters *cpu, int pos) argument
933 datasharing_has(struct counters *cpu, int pos) argument
961 cache2ib(struct counters *cpu, int pos) argument
987 cache2has(struct counters *cpu, int pos) argument
1025 cache2broad(struct counters *cpu, int pos) argument
1052 cache1(struct counters *cpu, int pos) argument
1076 cache1ib(struct counters *cpu, int pos) argument
1101 cache1broad(struct counters *cpu, int pos) argument
1126 dtlb_missload(struct counters *cpu, int pos) argument
1153 dtlb_missstore(struct counters *cpu, int pos) argument
1183 itlb_miss(struct counters *cpu, int pos) argument
1207 itlb_miss_broad(struct counters *cpu, int pos) argument
1235 icache_miss(struct counters *cpu, int pos) argument
1263 icache_miss_has(struct counters *cpu, int pos) argument
1289 lcp_stall(struct counters *cpu, int pos) argument
1314 frontendstall(struct counters *cpu, int pos) argument
1338 clears(struct counters *cpu, int pos) argument
1373 clears_broad(struct counters *cpu, int pos) argument
1410 microassist(struct counters *cpu, int pos) argument
1435 microassist_broad(struct counters *cpu, int pos) argument
1467 aliasing(struct counters *cpu, int pos) argument
1491 aliasing_broad(struct counters *cpu, int pos) argument
1516 fpassists(struct counters *cpu, int pos) argument
1539 otherassistavx(struct counters *cpu, int pos) argument
1563 otherassistsse(struct counters *cpu, int pos) argument
1588 efficiency1(struct counters *cpu, int pos) argument
1613 efficiency2(struct counters *cpu, int pos) argument
2054 do_expression(struct counters *cpu, int pos) argument
2735 user_expr(struct counters *cpu, int pos) argument
[all...]
/freebsd-current/lib/libc/gen/
H A Dsched_setaffinity.c44 int error, lbs, cpu; local
69 CPU_FOREACH_ISSET(cpu, &c)
70 if (cpu > mp_maxid)
71 CPU_CLR(cpu, &c);
/freebsd-current/sys/arm64/include/
H A Dsmp.h47 void ipi_cpu(int cpu, u_int ipi);
/freebsd-current/sys/i386/include/
H A Dcputypes.h67 extern int cpu;
/freebsd-current/usr.sbin/pmcstat/
H A Dpmcpl_calltree.h37 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
H A Dpmcpl_gprof.h41 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
/freebsd-current/lib/libc/powerpc64/string/
H A Dstrncpy_resolver.c29 #include <machine/cpu.h>
/freebsd-current/sys/powerpc/powerpc/
H A Dmp_machdep.c52 #include <machine/cpu.h>
146 struct cpuref bsp, cpu; local
153 error = platform_smp_first_cpu(&cpu);
155 if (cpu.cr_cpuid >= MAXCPU) {
156 printf("SMP: cpu%d: skipped -- ID out of range\n",
157 cpu.cr_cpuid);
160 if (CPU_ISSET(cpu.cr_cpuid, &all_cpus)) {
161 printf("SMP: cpu%d: skipped - duplicate ID\n",
162 cpu.cr_cpuid);
167 domain = cpu
368 ipi_cpu(int cpu, u_int ipi) argument
[all...]
/freebsd-current/sys/riscv/include/
H A Dsmp.h51 void ipi_cpu(int cpu, u_int ipi);
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dfixup_tdescs.c70 * The cpu structure grows, with the addition of a machcpu member, if
71 * _MACHDEP is defined. This means that, for example, the cpu structure
72 * in unix is different from the cpu structure in genunix. As one might
83 tdesc_t *cput, *cpu; local
90 * We're going to take the circuitous route finding the cpu structure,
98 cpu = cput->t_tdesc;
100 cpu = lookup_tdesc(td, "cpu");
103 if (cpu == NULL)
106 if (!streq(cpu
[all...]
/freebsd-current/sys/x86/x86/
H A Dmp_x86.c71 #include <machine/cpu.h>
145 static void cpustop_handler_post(u_int cpu);
889 * translated into cpu groups with empty cpusets. smp_topo_fill
893 * cpus, they call CPU_ISSET on cpu -1 which ends up in a
896 * We could fix the scheduler to handle empty cpu groups
897 * correctly. Nevertheless, empty cpu groups are causing
1147 int cpu; local
1162 for (cpu = 1; cpu < mp_ncpus; cpu
1289 ipi_bitmap_set(int cpu, u_int ipi) argument
1311 ipi_send_cpu(int cpu, u_int ipi) argument
1330 int cpu = PCPU_GET(cpuid); local
1386 int cpu; local
1406 ipi_cpu(int cpu, u_int ipi) argument
1428 int cpu, c; local
1493 int cpu; local
1520 u_int cpu; local
1563 cpustop_handler_post(u_int cpu) argument
1592 u_int cpu; local
[all...]
/freebsd-current/sys/dev/hyperv/vmbus/aarch64/
H A Dvmbus_aarch64.c140 int cpu; local
145 CPU_FOREACH(cpu) {
146 if (VMBUS_PCPU_GET(sc, event_tq, cpu) != NULL) {
147 taskqueue_free(VMBUS_PCPU_GET(sc, event_tq, cpu));
148 VMBUS_PCPU_GET(sc, event_tq, cpu) = NULL;
150 if (VMBUS_PCPU_GET(sc, message_tq, cpu) != NULL) {
151 taskqueue_drain(VMBUS_PCPU_GET(sc, message_tq, cpu),
152 VMBUS_PCPU_PTR(sc, message_task, cpu));
153 taskqueue_free(VMBUS_PCPU_GET(sc, message_tq, cpu));
154 VMBUS_PCPU_GET(sc, message_tq, cpu)
[all...]
/freebsd-current/sys/dev/hyperv/vmbus/x86/
H A Dvmbus_x86.c172 int cpu; local
183 CPU_FOREACH(cpu) {
184 if (VMBUS_PCPU_GET(sc, event_tq, cpu) != NULL) {
185 taskqueue_free(VMBUS_PCPU_GET(sc, event_tq, cpu));
186 VMBUS_PCPU_GET(sc, event_tq, cpu) = NULL;
188 if (VMBUS_PCPU_GET(sc, message_tq, cpu) != NULL) {
189 taskqueue_drain(VMBUS_PCPU_GET(sc, message_tq, cpu),
190 VMBUS_PCPU_PTR(sc, message_task, cpu));
191 taskqueue_free(VMBUS_PCPU_GET(sc, message_tq, cpu));
192 VMBUS_PCPU_GET(sc, message_tq, cpu)
[all...]
/freebsd-current/sys/riscv/riscv/
H A Didentcpu.c51 #include <machine/cpu.h>
320 identify_cpu_features_fdt(u_int cpu, struct cpu_desc *desc) argument
334 hart = pcpu_find(cpu)->pc_hart;
341 /* Skip any non-CPU nodes, such as cpu-map. */
354 "for CPU %d, hart %u\n", __func__, cpu, hart);
375 __func__, cpu, hart);
381 identify_cpu_features(u_int cpu, struct cpu_desc *desc) argument
384 identify_cpu_features_fdt(cpu, desc);
395 update_global_capabilities(u_int cpu, struct cpu_desc *desc) argument
399 if (cpu
461 identify_cpu(u_int cpu) argument
472 printcpuinfo(u_int cpu) argument
[all...]
/freebsd-current/contrib/dialog/
H A Dconfig.sub648 cpu=hppa1.1
652 cpu=hppa1.1
656 cpu=hppa1.1
660 cpu=i370
664 cpu=clipper
668 cpu=m68k
672 cpu=powerpc
679 cpu=m68000
683 cpu=we32k
687 cpu
[all...]

Completed in 345 milliseconds

1234567891011>>