/freebsd-11-stable/sys/arm64/arm64/ |
H A D | gic_v3.c | 178 return (bus_read_4(sc->gic_redists.pcpu[PCPU_GET(cpuid)], offset)); 187 return (bus_read_8(sc->gic_redists.pcpu[PCPU_GET(cpuid)], offset)); 196 bus_write_4(sc->gic_redists.pcpu[PCPU_GET(cpuid)], offset, val); 205 bus_write_8(sc->gic_redists.pcpu[PCPU_GET(cpuid)], offset, val); 357 sc->gic_redists.pcpu[PCPU_GET(cpuid)]); 617 CPU_SET(PCPU_GET(cpuid), &isrc->isrc_cpu); 784 cpu = PCPU_GET(cpuid); 877 CPU_SET(PCPU_GET(cpuid), &isrc->isrc_cpu); 891 u_int cpuid; local 894 cpuid 928 u_int cpuid; local 1033 u_int cpuid; local 1054 u_int cpuid; local [all...] |
H A D | gic_v3_var.h | 122 u_int cpu = PCPU_GET(cpuid); \ 131 u_int cpu = PCPU_GET(cpuid); \
|
H A D | debug_monitor.c | 185 if (dbg_ref_count_mde[PCPU_GET(cpuid)] > 0) { 199 if (dbg_ref_count_mde[PCPU_GET(cpuid)] > 0) { 204 if (dbg_ref_count_kde[PCPU_GET(cpuid)] > 0) { 339 if (atomic_fetchadd_int(&dbg_ref_count_mde[PCPU_GET(cpuid)], 1) == 0) 343 atomic_fetchadd_int(&dbg_ref_count_kde[PCPU_GET(cpuid)], 1) == 0) 355 if (atomic_fetchadd_int(&dbg_ref_count_mde[PCPU_GET(cpuid)], -1) == 1) 359 atomic_fetchadd_int(&dbg_ref_count_kde[PCPU_GET(cpuid)], -1) == 1) 460 if (bootverbose && PCPU_GET(cpuid) == 0) {
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | ucode.c | 112 uint32_t cpuid[4]; local 130 do_cpuid(0, cpuid); 322 } cpuid; local 332 do_cpuid(0, cpuid.regs); 333 cpuid.regs[0] = cpuid.regs[1]; 334 cpuid.regs[1] = cpuid.regs[3]; 335 cpuid.vendor[12] = '\0'; 337 if (strcmp(cpuid [all...] |
H A D | mp_x86.c | 868 u_int cpuid; local 900 cpuid = PCPU_GET(cpuid); 902 printf("SMP: cpuid = %d\n", cpuid); 905 panic("cpuid mismatch! boom!!"); 924 CTR1(KTR_SMP, "SMP: AP CPU #%d Launched", cpuid); 925 printf("SMP: AP CPU #%d Launched!\n", cpuid); 929 CPU_SET(cpuid, &logical_cpus_mask); 1118 int cpu = PCPU_GET(cpuid); 1223 u_int cpuid; local [all...] |
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | mp_machdep.c | 451 xhits_gbl[PCPU_GET(cpuid)]++; 454 (*ipi_invltlb_counts[PCPU_GET(cpuid)])++; 458 d.pcid = smp_tlb_pmap->pm_pcids[PCPU_GET(cpuid)].pm_pcid; 473 xhits_gbl[PCPU_GET(cpuid)]++; 476 (*ipi_invltlb_counts[PCPU_GET(cpuid)])++; 480 d.pcid = smp_tlb_pmap->pm_pcids[PCPU_GET(cpuid)].pm_pcid; 506 xhits_gbl[PCPU_GET(cpuid)]++; 509 (*ipi_invltlb_counts[PCPU_GET(cpuid)])++; 524 pcid = smp_tlb_pmap->pm_pcids[PCPU_GET(cpuid)].pm_pcid; 544 xhits_pg[PCPU_GET(cpuid)] [all...] |
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | cpuvar.h | 40 int cpuid; member in struct:__anon7781 50 #define cpu_id cpuid
|
/freebsd-11-stable/contrib/gcc/config/i386/ |
H A D | driver-i386.c | 30 #define cpuid(num,a,b,c,d) \ macro 31 asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \ 85 /* See if we can use cpuid. */ 98 cpuid (0, eax, ebx, ecx, edx); 105 cpuid (1, eax, ebx, ecx, edx); 116 cpuid (0x80000000, eax, ebx, ecx, edx); 120 cpuid (0x80000001, eax, ebx, ecx, edx);
|
/freebsd-11-stable/sys/mips/gxemul/ |
H A D | gxemul_machdep.c | 177 platform_ipi_send(int cpuid) argument 179 GXEMUL_MP_DEV_WRITE(GXEMUL_MP_DEV_IPI_ONE, (1 << 16) | cpuid); 201 platform_init_ap(int cpuid) argument 231 platform_start_ap(int cpuid) argument 234 GXEMUL_MP_DEV_WRITE(GXEMUL_MP_DEV_START, cpuid);
|
/freebsd-11-stable/sys/sys/ |
H A D | pcpu.h | 198 #define curcpu PCPU_GET(cpuid) 226 void cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t size); 232 void dpcpu_init(void *dpcpu, int cpuid); 234 struct pcpu *pcpu_find(u_int cpuid); 235 void pcpu_init(struct pcpu *pcpu, int cpuid, size_t size);
|
H A D | callout.h | 109 callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), PCPU_GET(cpuid),\ 117 callout_reset_on((c), (on_tick), (fn), (arg), PCPU_GET(cpuid)) 124 callout_schedule_sbt_on((c), (sbt), (pr), PCPU_GET(cpuid), (flags)) 128 callout_schedule_on((c), (on_tick), PCPU_GET(cpuid))
|
/freebsd-11-stable/sys/net/ |
H A D | netisr.c | 1001 netisr_queue_internal(u_int proto, struct mbuf *m, u_int cpuid) argument 1010 KASSERT(cpuid <= mp_maxid, ("%s: cpuid too big (%u, %u)", __func__, 1011 cpuid, mp_maxid)); 1012 KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__, cpuid)); 1016 nwsp = DPCPU_ID_PTR(cpuid, nws); 1032 u_int cpuid; local 1052 source, m, &cpuid); 1054 KASSERT(!CPU_ABSENT(cpuid), (" 1088 u_int cpuid, dispatch_policy; local 1233 netisr_start_swi(u_int cpuid, struct pcpu *pc) argument 1400 u_int counter, cpuid; local 1454 u_int counter, cpuid, proto; local 1508 u_int cpuid; local [all...] |
H A D | rss_config.c | 183 u_int cpuid; local 253 cpuid = CPU_FIRST(); 255 rss_table[i].rte_cpu = cpuid; 256 cpuid = CPU_NEXT(cpuid); 398 rss_m2cpuid(struct mbuf *m, uintptr_t source, u_int *cpuid) argument 402 *cpuid = rss_hash2cpuid(m->m_pkthdr.flowid, M_HASHTYPE_GET(m));
|
H A D | if_epair.c | 137 u_int cpuid; /* CPU ID assigned upon creation. */ member in struct:epair_softc 195 u_int cpuid; local 197 CPU_FOREACH(cpuid) { 198 epair_dpcpu = DPCPU_ID_PTR(cpuid, epair_dpcpu); 220 u_int cpuid; local 222 CPU_FOREACH(cpuid) { 223 epair_dpcpu = DPCPU_ID_PTR(cpuid, epair_dpcpu); 242 return (sc->cpuid); 265 epair_nh_m2cpuid(struct mbuf *m, uintptr_t source, u_int *cpuid) argument 268 *cpuid 274 epair_nh_drainedcpu(u_int cpuid) argument 330 u_int cpuid; local [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | tlb.c | 82 if (CPU_ISSET(PCPU_GET(cpuid), &pm->pm_active)) { 103 if (CPU_ISSET(PCPU_GET(cpuid), &pm->pm_active)) { 130 if (CPU_ISSET(PCPU_GET(cpuid), &pm->pm_active)) {
|
/freebsd-11-stable/sys/mips/include/ |
H A D | counter.h | 68 PCPU_GET(cpuid))) = 0;
|
/freebsd-11-stable/sys/sparc64/include/ |
H A D | counter.h | 67 PCPU_GET(cpuid))) = 0;
|
/freebsd-11-stable/sys/amd64/include/ |
H A D | counter.h | 65 PCPU_GET(cpuid))) = 0;
|
/freebsd-11-stable/sys/arm64/include/ |
H A D | counter.h | 64 PCPU_GET(cpuid))) = 0;
|
/freebsd-11-stable/sys/arm/include/ |
H A D | counter.h | 66 PCPU_GET(cpuid)), 0);
|
/freebsd-11-stable/sys/riscv/include/ |
H A D | counter.h | 67 PCPU_GET(cpuid))) = 0;
|
/freebsd-11-stable/sys/powerpc/include/ |
H A D | counter.h | 68 PCPU_GET(cpuid))) = 0; 134 PCPU_GET(cpuid))) = 0;
|
/freebsd-11-stable/crypto/openssl/crypto/ |
H A D | x86_64cpuid.pl | 63 cpuid 91 cpuid 96 cpuid 104 cpuid 109 cpuid 125 cpuid 132 cpuid 175 cpuid
|
/freebsd-11-stable/secure/lib/libcrypto/amd64/ |
H A D | x86_64cpuid.S | 45 cpuid 73 cpuid 78 cpuid 86 cpuid 91 cpuid 107 cpuid 114 cpuid 157 cpuid
|
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | openpic.c | 77 tpr = OPENPIC_PCPU_TPR((sc->sc_dev == root_pic) ? PCPU_GET(cpuid) : 0); 286 u_int cpuid, vector; local 290 cpuid = (dev == root_pic) ? PCPU_GET(cpuid) : 0; 294 vector = openpic_read(sc, OPENPIC_PCPU_IACK(cpuid)); 326 u_int cpuid; local 328 cpuid = (dev == root_pic) ? PCPU_GET(cpuid) : 0; 331 openpic_write(sc, OPENPIC_PCPU_EOI(cpuid), 0); 343 openpic_write(sc, OPENPIC_PCPU_IPI_DISPATCH(PCPU_GET(cpuid), [all...] |