Searched refs:cpu_id (Results 1 - 25 of 51) sorted by relevance

123

/netbsd-current/sys/arch/macppc/macppc/
H A Dipi_hammerhead.c65 int cpu_id = target; local
77 cpu_id = cpu_number() ^ 1;
80 atomic_or_32(&cpu_info[cpu_id].ci_pending_ipis, mesg);
81 switch (cpu_id) {
/netbsd-current/sys/arch/evbmips/alchemy/
H A Dgenericbd.c80 const mips_prid_t cpu_id = mips_options.mips_cpu_id; local
86 if (cpus[i].id == MIPS_PRID_COPTS(cpu_id)) {
/netbsd-current/external/cddl/osnet/lib/libdtrace/
H A Dsched.d36 processorid_t cpu_id; /* CPU identifier */
46 cpu_id = C->cpu_id;
54 cpu_id = D->disp_cpu == NULL ? -1 :
55 xlate <cpuinfo_t> (D->disp_cpu).cpu_id;
71 inline processorid_t cpu = curcpu->cpu_id;
/netbsd-current/sys/arch/powerpc/pic/
H A Dipi.c60 int cpu_id = cpu_index(ci); local
84 aprint_normal("halting CPU %d\n", cpu_id);
85 kcpuset_set(csi->cpus_halted, cpu_id);
/netbsd-current/sys/arch/alpha/alpha/
H A Dipifuncs.c152 alpha_send_ipi(u_long const cpu_id, u_long const ipimask) argument
155 KASSERT(cpu_id < hwrpb->rpb_pcs_cnt);
156 KASSERT(cpu_info[cpu_id] != NULL);
157 KASSERT(cpus_running & (1UL << cpu_id));
165 atomic_or_ulong(&cpu_info[cpu_id]->ci_ipis, ipimask);
177 alpha_pal_wripir(cpu_id);
189 const u_long cpu_id = cpu_number(); local
190 const u_long cpumask = cpus_running & ~(1UL << cpu_id);
224 const u_long cpu_id = ci->ci_cpuid; local
225 const u_long wait_mask = (1UL << cpu_id);
[all...]
H A Dcpu.c629 CTLFLAG_PERMANENT, CTLTYPE_LONG, "cpu_id",
786 cpu_pause_resume(u_long cpu_id, int pause) argument
788 u_long cpu_mask = (1UL << cpu_id);
792 alpha_send_ipi(cpu_id, ALPHA_IPI_PAUSE);
814 u_long cpu_id = cpu_number(); local
815 struct pcs *pcsp = LOCATE_PCS(hwrpb, cpu_id);
822 atomic_and_ulong(&cpus_running, ~(1UL << cpu_id));
823 atomic_and_ulong(&cpus_booted, ~(1U << cpu_id));
832 u_long cpu_id = cpu_number(); local
833 u_long cpumask = (1UL << cpu_id);
869 cpu_iccb_send(long cpu_id, const char *msg) argument
[all...]
H A Dtrap.c190 u_long cpu_id = cpu_number(); local
218 printf("CPU %lu: %s %s trap:\n", cpu_id, isfatal ? "fatal" : "handled",
221 printf("CPU %lu trap entry = 0x%lx (%s)\n", cpu_id, entry,
223 printf("CPU %lu a0 = 0x%lx\n", cpu_id, a0);
224 printf("CPU %lu a1 = 0x%lx\n", cpu_id, a1);
225 printf("CPU %lu a2 = 0x%lx\n", cpu_id, a2);
226 printf("CPU %lu pc = 0x%lx\n", cpu_id,
228 printf("CPU %lu ra = 0x%lx\n", cpu_id,
230 printf("CPU %lu pv = 0x%lx\n", cpu_id,
232 printf("CPU %lu curlwp = %p\n", cpu_id, curlw
[all...]
H A Dmachdep.c305 cpuid_t cpu_id; local
325 cpu_id = cpu_number();
328 ci->ci_cpuid = cpu_id;
337 cpu_info[cpu_id] = ci;
485 assert(hwrpb->rpb_primary_cpu_id == cpu_id);
1041 u_long cpu_id = cpu_number(); local
1071 cpu_id = cpu_number(); /* may have changed cpu */
1072 wait_mask = (1UL << cpu_id) | (1UL << hwrpb->rpb_primary_cpu_id);
1122 if (cpu_id != hwrpb->rpb_primary_cpu_id)
/netbsd-current/sys/arch/mips/cavium/
H A Docteon_misc.c90 octeon_cpu_model(mips_prid_t cpu_id) argument
105 * passhi = ((cpu_id >> 3) & 7) + '0';
106 * passlo = (cpu_id & 7) + '0';
111 printf("cpuid = 0x%x\n", cpu_id);
147 switch (MIPS_PRID_IMPL(cpu_id)) {
211 panic("IMPL 0x%02x not implemented", MIPS_PRID_IMPL(cpu_id));
/netbsd-current/sys/arch/mips/mips/
H A Dcache.c193 const mips_prid_t cpu_id = mips_options.mips_cpu_id; local
196 if (MIPS_PRID_CID(cpu_id) == MIPS_PRID_CID_PREHISTORIC)
198 else if (MIPS_PRID_CID(cpu_id) == MIPS_PRID_CID_MICROSOFT)
202 if (MIPS_PRID_CID(cpu_id) != MIPS_PRID_CID_PREHISTORIC)
203 mips_config_cache_modern(cpu_id);
252 const mips_prid_t cpu_id = mips_options.mips_cpu_id; local
262 switch (MIPS_PRID_IMPL(cpu_id)) {
300 switch (MIPS_PRID_REV_MAJ(cpu_id)) {
402 if (MIPS_PRID_REV_MAJ(cpu_id) == 8)
554 if (MIPS_PRID_IMPL(cpu_id)
872 const mips_prid_t cpu_id = mips_options.mips_cpu_id; local
989 const mips_prid_t cpu_id = mips_options.mips_cpu_id; local
1061 mips_config_cache_modern(uint32_t cpu_id) argument
[all...]
H A Dmips_machdep.c1145 * variable cpu_id, into which the kernel locore start code
1165 const mips_prid_t cpu_id = opts->mips_cpu_id; local
1168 if (MIPS_PRID_CID(cpu_id) != ct->cpu_cid ||
1169 MIPS_PRID_IMPL(cpu_id) != ct->cpu_pid)
1172 MIPS_PRID_REV(cpu_id) != ct->cpu_rev)
1175 MIPS_PRID_COPTS(cpu_id) != ct->cpu_copts)
1185 panic("CPU type (0x%x) not supported", cpu_id);
1188 if (MIPS_PRID_CID(cpu_id) != 0) {
1267 panic("Unknown CPU ISA for CPU type 0x%x", cpu_id);
1269 panic("Unknown number of TLBs for CPU type 0x%x", cpu_id);
1506 const mips_prid_t cpu_id = opts->mips_cpu_id; local
[all...]
H A Dcpu_subr.c124 cpu_info_alloc(struct pmap_tlb_info *ti, cpuid_t cpu_id, cpuid_t cpu_package_id, argument
128 KASSERT(cpu_id < MAXCPUS);
132 vaddr_t exc_page = MIPS_UTLB_MISS_EXC_VEC + exc_step * cpu_id;
188 KASSERT(cpu_id != 0);
189 ci->ci_cpuid = cpu_id;
/netbsd-current/sys/arch/x86/include/
H A Dmpconfig.h67 uint32_t cpu_id; member in struct:mp_intr_map
H A Dcpuvar.h87 int cpu_id; member in struct:cpu_attach_args
/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dprofile.c76 uint32_t cpu_id; member in struct:ClockPacket
191 &cp->cpu_id, sizeof (cp->cpu_id) == 4 ? "INT32" : "INT64");
280 pckt.cpu_id = CALL_UTIL (getcpuid)();
H A Dhwprofile.c834 &pp->comm.cpu_id, sizeof (pp->comm.cpu_id) == 4 ? "INT32" : "INT64");
854 &xpp->comm.cpu_id, sizeof (xpp->comm.cpu_id) == 4 ? "INT32" : "INT64");
H A Dheaptrace.c178 &pp->comm.cpu_id, sizeof (pp->comm.cpu_id) == 4 ? "INT32" : "INT64");
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dprofile.c76 uint32_t cpu_id; member in struct:ClockPacket
191 &cp->cpu_id, sizeof (cp->cpu_id) == 4 ? "INT32" : "INT64");
280 pckt.cpu_id = CALL_UTIL (getcpuid)();
H A Dhwprofile.c834 &pp->comm.cpu_id, sizeof (pp->comm.cpu_id) == 4 ? "INT32" : "INT64");
854 &xpp->comm.cpu_id, sizeof (xpp->comm.cpu_id) == 4 ? "INT32" : "INT64");
/netbsd-current/external/cddl/osnet/sys/sys/
H A Dcpuvar.h52 #define cpu_id cpuid macro
/netbsd-current/sys/arch/alpha/include/
H A Dpmap.h348 const unsigned long cpu_id = cpu_number(); \
350 if ((pmap)->pm_percpu[cpu_id].pmc_needisync) { \
351 (pmap)->pm_percpu[cpu_id].pmc_needisync = 0; \
H A Dalpha_cpu.h540 alpha_pal_wripir(unsigned long cpu_id) argument
542 register unsigned long a0 __asm("$16") = cpu_id;
/netbsd-current/external/cddl/osnet/dist/uts/common/sys/
H A Dcpuvar.h82 processorid_t cpu_id; /* CPU number */ member in struct:cpu
569 * CPU_CURRENT indicates to thread_affinity_set to use CPU->cpu_id
709 extern int cpu_unbind(processorid_t cpu_id, boolean_t force);
710 extern void thread_affinity_set(kthread_t *t, int cpu_id);
712 extern void affinity_set(int cpu_id);
/netbsd-current/sys/arch/mips/cavium/dev/
H A Docteon_dwctwo.c137 const mips_prid_t cpu_id = mips_options.mips_cpu_id; local
143 switch (MIPS_PRID_IMPL(cpu_id)) {
/netbsd-current/sys/arch/x86/x86/
H A Dmpacpi.c226 mpi->cpu_id = lapic_nmi->ProcessorId;
317 mpi->cpu_id = x2apic_nmi->Uid;
382 caa.cpu_id = lapic->ProcessorId;
412 caa.cpu_id = x2apic->Uid;
684 mpi->cpu_id = 0;
787 mpi->cpu_id = 0;

Completed in 392 milliseconds

123