Searched refs:PCPU_GET (Results 1 - 25 of 190) sorted by relevance

12345678

/freebsd-11-stable/sys/compat/linuxkpi/common/include/asm/
H A Dsmp.h42 PCPU_GET(cpuid); \
/freebsd-11-stable/sys/contrib/ncsw/user/env/
H A Dcore.c38 return PCPU_GET(cpuid);
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dspitfire.c75 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 Dclock.c53 end = rd(tick) + (u_long)usec * PCPU_GET(clock) / 1000000;
H A Dtick.c154 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 Dtlb.c82 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 Ddebug.h88 #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 Dmp_machdep.c183 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 Dinterrupt.c108 (*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 Dvfp.c78 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 Dgic_v3_var.h122 u_int cpu = PCPU_GET(cpuid); \
131 u_int cpu = PCPU_GET(cpuid); \
/freebsd-11-stable/sys/amd64/vmm/
H A Dvmm_host.h63 return ((uint64_t)PCPU_GET(tssp));
/freebsd-11-stable/sys/riscv/include/
H A Dpcpu.h80 #define PCPU_GET(member) (get_pcpu()->pc_ ## member) macro
H A Dcounter.h67 PCPU_GET(cpuid))) = 0;
/freebsd-11-stable/sys/mips/include/
H A Dpcpu.h69 #define PCPU_GET(member) (PCPUP->pc_ ## member) macro
H A Dcounter.h68 PCPU_GET(cpuid))) = 0;
/freebsd-11-stable/sys/sys/
H A Dpcpu.h96 #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 Dcallout.h109 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 Dcounter.h67 PCPU_GET(cpuid))) = 0;
/freebsd-11-stable/sys/amd64/include/
H A Dcounter.h65 PCPU_GET(cpuid))) = 0;
/freebsd-11-stable/sys/arm64/include/
H A Dpcpu.h69 #define PCPU_GET(member) (get_pcpu()->pc_ ## member) macro
H A Dcounter.h64 PCPU_GET(cpuid))) = 0;
/freebsd-11-stable/sys/arm/include/
H A Dcounter.h66 PCPU_GET(cpuid)), 0);
/freebsd-11-stable/sys/mips/cavium/
H A Docteon_mp.c60 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 Docteon_pmc.c109 struct trapframe *tf = PCPU_GET(curthread)->td_intr_frame;
112 (*pmc_intr)(PCPU_GET(cpuid), tf);

Completed in 174 milliseconds

12345678