/freebsd-12-stable/sys/compat/linuxkpi/common/include/asm/ |
H A D | smp.h | 42 PCPU_GET(cpuid); \
|
/freebsd-12-stable/sys/contrib/ncsw/user/env/ |
H A D | core.c | 38 return PCPU_GET(cpuid);
|
/freebsd-12-stable/sys/sparc64/sparc64/ |
H A D | spitfire.c | 77 for (addr = 0; addr < PCPU_GET(cache.dc_size); 78 addr += PCPU_GET(cache.dc_linesize)) 80 for (addr = 0; addr < PCPU_GET(cache.ic_size); 81 addr += PCPU_GET(cache.ic_linesize)) 100 for (addr = 0; addr < PCPU_GET(cache.dc_size); 101 addr += PCPU_GET(cache.dc_linesize)) { 129 for (addr = 0; addr < PCPU_GET(cache.ic_size); 130 addr += PCPU_GET(cache.ic_linesize)) {
|
H A D | clock.c | 57 end = rd(tick) + (u_long)usec * PCPU_GET(clock) / 1000000;
|
H A D | tick.c | 156 clock = PCPU_GET(clock); 158 if (PCPU_GET(impl) == CPU_IMPL_SPARC64V || 159 PCPU_GET(impl) >= CPU_IMPL_ULTRASPARCIII) { 179 if (PCPU_GET(impl) >= CPU_IMPL_ULTRASPARCI && 180 PCPU_GET(impl) < CPU_IMPL_ULTRASPARCIII) 266 tick_increment = PCPU_GET(tickincrement); 277 adj = PCPU_GET(tickadj); 281 ref = PCPU_GET(tickref); 392 tick_stop(PCPU_GET(impl));
|
H A D | tlb.c | 84 if (CPU_ISSET(PCPU_GET(cpuid), &pm->pm_active)) { 105 if (CPU_ISSET(PCPU_GET(cpuid), &pm->pm_active)) { 132 if (CPU_ISSET(PCPU_GET(cpuid), &pm->pm_active)) {
|
H A D | cheetah.c | 164 for (addr = 0; addr < PCPU_GET(cache.dc_size); 165 addr += PCPU_GET(cache.dc_linesize)) 181 addr < PCPU_GET(cache.ic_size) * 2; 182 addr += PCPU_GET(cache.ic_linesize) * 2) 205 pa += PCPU_GET(cache.dc_linesize)) 283 if (PCPU_GET(impl) == CPU_IMPL_ULTRASPARCIVp) {
|
/freebsd-12-stable/sys/amd64/amd64/ |
H A D | mp_machdep.c | 260 boot_cpu_id = PCPU_GET(apic_id); 263 KASSERT(boot_cpu_id == PCPU_GET(apic_id), 565 xhits_gbl[PCPU_GET(cpuid)]++; 568 (*ipi_invltlb_counts[PCPU_GET(cpuid)])++; 572 d.pcid = smp_tlb_pmap->pm_pcids[PCPU_GET(cpuid)].pm_pcid; 587 xhits_gbl[PCPU_GET(cpuid)]++; 590 (*ipi_invltlb_counts[PCPU_GET(cpuid)])++; 594 d.pcid = smp_tlb_pmap->pm_pcids[PCPU_GET(cpuid)].pm_pcid; 620 xhits_gbl[PCPU_GET(cpuid)]++; 623 (*ipi_invltlb_counts[PCPU_GET(cpui [all...] |
/freebsd-12-stable/sys/amd64/vmm/ |
H A D | vmm_host.h | 65 return ((uint64_t)PCPU_GET(tssp));
|
/freebsd-12-stable/sys/riscv/include/ |
H A D | counter.h | 69 PCPU_GET(cpuid))) = 0;
|
H A D | pcpu.h | 80 #define PCPU_GET(member) (get_pcpu()->pc_ ## member) macro
|
/freebsd-12-stable/sys/sparc64/include/ |
H A D | counter.h | 72 PCPU_GET(cpuid))) = 0;
|
/freebsd-12-stable/sys/mips/include/ |
H A D | counter.h | 72 PCPU_GET(cpuid))) = 0;
|
/freebsd-12-stable/sys/sys/ |
H A D | callout.h | 111 callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), PCPU_GET(cpuid),\ 119 callout_reset_on((c), (on_tick), (fn), (arg), PCPU_GET(cpuid)) 126 callout_schedule_sbt_on((c), (sbt), (pr), PCPU_GET(cpuid), (flags)) 130 callout_schedule_on((c), (on_tick), PCPU_GET(cpuid))
|
H A D | pcpu.h | 121 #define DPCPU_PTR(n) _DPCPU_PTR(PCPU_GET(dynamic), n) 171 * per-cpu basis. The members are accessed via the PCPU_GET/SET/PTR 215 #define curcpu PCPU_GET(cpuid) 216 #define curvidata PCPU_GET(vidata) 223 #define curthread PCPU_GET(curthread)
|
/freebsd-12-stable/sys/arm/include/ |
H A D | counter.h | 70 PCPU_GET(cpuid)), 0);
|
/freebsd-12-stable/sys/arm64/include/ |
H A D | counter.h | 66 PCPU_GET(cpuid))) = 0;
|
H A D | pcpu.h | 74 #define PCPU_GET(member) (get_pcpu()->pc_ ## member) macro
|
/freebsd-12-stable/sys/amd64/include/ |
H A D | counter.h | 67 PCPU_GET(cpuid))) = 0;
|
/freebsd-12-stable/sys/powerpc/include/ |
H A D | counter.h | 72 PCPU_GET(cpuid))) = 0; 136 PCPU_GET(cpuid))) = 0;
|
/freebsd-12-stable/sys/mips/cavium/ |
H A D | octeon_mp.c | 62 action = cvmx_read_csr(CVMX_CIU_MBOX_CLRX(PCPU_GET(cpuid))); 64 cvmx_write_csr(CVMX_CIU_MBOX_CLRX(PCPU_GET(cpuid)), action);
|
/freebsd-12-stable/sys/arm64/arm64/ |
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) {
|
H A D | gic_v3_var.h | 131 u_int cpu = PCPU_GET(cpuid); \ 140 u_int cpu = PCPU_GET(cpuid); \
|
H A D | vfp.c | 95 if (PCPU_GET(fpcurthread) == td) 191 KASSERT(PCPU_GET(fpcurthread) == td, 209 cpu = PCPU_GET(cpuid); 220 if (PCPU_GET(fpcurthread) != curthread || cpu != curpcb->pcb_vfpcpu) { 282 if (curthread == PCPU_GET(fpcurthread)) { 323 KASSERT(PCPU_GET(fpcurthread) == NULL,
|
/freebsd-12-stable/sys/mips/mips/ |
H A D | mp_machdep.c | 84 CPU_CLR(PCPU_GET(cpuid), &other_cpus); 121 cpu = PCPU_GET(cpuid); 312 KASSERT(PCPU_GET(idlethread) != NULL, ("no idle thread")); 313 PCPU_SET(curthread, PCPU_GET(idlethread)); 319 CTR1(KTR_SMP, "SMP: AP CPU #%d launched", PCPU_GET(cpuid)); 322 printf("SMP: AP CPU #%d launched.\n", PCPU_GET(cpuid));
|