/freebsd-11-stable/sys/compat/linuxkpi/common/include/asm/ |
H A D | smp.h | 42 PCPU_GET(cpuid); \
|
/freebsd-11-stable/sys/contrib/ncsw/user/env/ |
H A D | core.c | 38 return PCPU_GET(cpuid);
|
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | spitfire.c | 75 for (addr = 0; addr < PCPU_GET(cache.dc_size); 76 addr += PCPU_GET(cache.dc_linesize)) 78 for (addr = 0; addr < PCPU_GET(cache.ic_size); 79 addr += PCPU_GET(cache.ic_linesize)) 98 for (addr = 0; addr < PCPU_GET(cache.dc_size); 99 addr += PCPU_GET(cache.dc_linesize)) { 127 for (addr = 0; addr < PCPU_GET(cache.ic_size); 128 addr += PCPU_GET(cache.ic_linesize)) {
|
H A D | clock.c | 53 end = rd(tick) + (u_long)usec * PCPU_GET(clock) / 1000000;
|
H A D | tick.c | 154 clock = PCPU_GET(clock); 156 if (PCPU_GET(impl) == CPU_IMPL_SPARC64V || 157 PCPU_GET(impl) >= CPU_IMPL_ULTRASPARCIII) { 177 if (PCPU_GET(impl) >= CPU_IMPL_ULTRASPARCI && 178 PCPU_GET(impl) < CPU_IMPL_ULTRASPARCIII) 264 tick_increment = PCPU_GET(tickincrement); 275 adj = PCPU_GET(tickadj); 279 ref = PCPU_GET(tickref); 390 tick_stop(PCPU_GET(impl));
|
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/rmi/dev/xlr/ |
H A D | debug.h | 88 #define xlr_inc_counter(x) atomic_add_int(&xlr_counters[PCPU_GET(cpuid)][(x)], 1) 89 #define xlr_dec_counter(x) atomic_subtract_int(&xlr_counters[PCPU_GET(cpuid)][(x)], 1) 90 #define xlr_set_counter(x, value) atomic_set_int(&xlr_counters[PCPU_GET(cpuid)][(x)], (value))
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | mp_machdep.c | 183 boot_cpu_id = PCPU_GET(apic_id); 186 KASSERT(boot_cpu_id == PCPU_GET(apic_id), 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(cpui [all...] |
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | interrupt.c | 108 (*pmc_intr)(PCPU_GET(cpuid), framep); 109 if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN)) 110 pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, framep);
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | vfp.c | 78 if (PCPU_GET(fpcurthread) == td) 104 KASSERT(PCPU_GET(fpcurthread) == td, 148 cpu = PCPU_GET(cpuid); 159 if (PCPU_GET(fpcurthread) != curthread || cpu != curpcb->pcb_vfpcpu) {
|
H A D | gic_v3_var.h | 122 u_int cpu = PCPU_GET(cpuid); \ 131 u_int cpu = PCPU_GET(cpuid); \
|
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | vmm_host.h | 63 return ((uint64_t)PCPU_GET(tssp));
|
/freebsd-11-stable/sys/riscv/include/ |
H A D | pcpu.h | 80 #define PCPU_GET(member) (get_pcpu()->pc_ ## member) macro
|
H A D | counter.h | 67 PCPU_GET(cpuid))) = 0;
|
/freebsd-11-stable/sys/mips/include/ |
H A D | pcpu.h | 69 #define PCPU_GET(member) (PCPUP->pc_ ## member) macro
|
H A D | counter.h | 68 PCPU_GET(cpuid))) = 0;
|
/freebsd-11-stable/sys/sys/ |
H A D | pcpu.h | 96 #define DPCPU_PTR(n) _DPCPU_PTR(PCPU_GET(dynamic), n) 146 * per-cpu basis. The members are accessed via the PCPU_GET/SET/PTR 198 #define curcpu PCPU_GET(cpuid) 201 #define curthread PCPU_GET(curthread) 203 #define curvidata PCPU_GET(vidata)
|
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/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 | pcpu.h | 69 #define PCPU_GET(member) (get_pcpu()->pc_ ## member) macro
|
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/mips/cavium/ |
H A D | octeon_mp.c | 60 action = cvmx_read_csr(CVMX_CIU_MBOX_CLRX(PCPU_GET(cpuid))); 62 cvmx_write_csr(CVMX_CIU_MBOX_CLRX(PCPU_GET(cpuid)), action);
|
H A D | octeon_pmc.c | 109 struct trapframe *tf = PCPU_GET(curthread)->td_intr_frame; 112 (*pmc_intr)(PCPU_GET(cpuid), tf);
|