Home
last modified time | relevance | path

Searched refs:pm_active (Results 1 – 24 of 24) sorted by relevance

/freebsd-14-stable/sys/amd64/vmm/intel/
HDvmx_genassym.c78 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
HDvmx.c3007 CPU_SET_ATOMIC(cpu, &pmap->pm_active); in vmx_pmap_activate()
3021 CPU_CLR_ATOMIC(curcpu, &pmap->pm_active); in vmx_pmap_deactivate()
/freebsd-14-stable/sys/arm/include/
HDpmap.h109 cpuset_t pm_active; /* active on cpus */ member
/freebsd-14-stable/sys/riscv/include/
HDpmap.h75 cpuset_t pm_active; /* active on cpus */ member
/freebsd-14-stable/sys/amd64/include/
HDpmap.h330 cpuset_t pm_active; /* active on cpus */ member
458 return (&pmap->pm_active); in pmap_invalidate_cpu_mask()
/freebsd-14-stable/sys/i386/i386/
HDpmap.c648 CPU_FILL(&kernel_pmap->pm_active); /* don't allow deactivation */ in __CONCAT()
1231 } else if (!CPU_CMP(&pmap->pm_active, &all_cpus)) { in pmap_invalidate_page_int()
1237 CPU_AND(&other_cpus, &other_cpus, &pmap->pm_active); in pmap_invalidate_page_int()
1264 } else if (!CPU_CMP(&pmap->pm_active, &all_cpus)) { in pmap_invalidate_range_int()
1270 CPU_AND(&other_cpus, &other_cpus, &pmap->pm_active); in pmap_invalidate_range_int()
1287 } else if (!CPU_CMP(&pmap->pm_active, &all_cpus)) { in pmap_invalidate_all_int()
1293 CPU_AND(&other_cpus, &other_cpus, &pmap->pm_active); in pmap_invalidate_all_int()
1373 active = pmap->pm_active; in pmap_update_pde()
1441 if (pmap == kernel_pmap || !CPU_EMPTY(&pmap->pm_active)) in pmap_update_pde()
2038 CPU_ZERO(&pmap->pm_active); in __CONCAT()
[all …]
HDgenassym.c83 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
HDpmap_base.c950 *res = pmap->pm_active; in pmap_active_cpus()
/freebsd-14-stable/sys/arm/arm/
HDgenassym.c126 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
HDpmap-v6.c1181 CPU_FILL(&kernel_pmap->pm_active); /* don't allow deactivation */ in pmap_bootstrap()
1475 if (pmap == kernel_pmap || !CPU_EMPTY(&pmap->pm_active)) in pmap_tlb_flush()
1483 if (pmap == kernel_pmap || !CPU_EMPTY(&pmap->pm_active)) in pmap_tlb_flush_range()
2150 CPU_ZERO(&pmap->pm_active); in pmap_pinit0()
2154 CPU_SET(0, &pmap->pm_active); in pmap_pinit0()
2292 CPU_ZERO(&pmap->pm_active); in pmap_pinit()
2327 KASSERT(CPU_EMPTY(&pmap->pm_active), in pmap_release()
4419 other_cpus = pmap->pm_active; in pmap_remove_pages()
6180 CPU_CLR_ATOMIC(cpuid, &oldpmap->pm_active); in pmap_activate()
6181 CPU_SET_ATOMIC(cpuid, &pmap->pm_active); in pmap_activate()
[all …]
/freebsd-14-stable/sys/riscv/riscv/
HDpmap.c647 CPU_SET(PCPU_GET(hart), &kernel_pmap->pm_active); in pmap_bootstrap()
818 mask = pmap->pm_active; in pmap_invalidate_page()
833 mask = pmap->pm_active; in pmap_invalidate_range()
853 mask = pmap->pm_active; in pmap_invalidate_all()
1331 CPU_ZERO(&pmap->pm_active); in pmap_pinit0()
1353 CPU_ZERO(&pmap->pm_active); in pmap_pinit()
1621 KASSERT(CPU_EMPTY(&pmap->pm_active), in pmap_release()
4731 CPU_SET_ATOMIC(hart, &pmap->pm_active); in pmap_activate_sw()
4732 CPU_CLR_ATOMIC(hart, &oldpmap->pm_active); in pmap_activate_sw()
4734 CPU_SET(hart, &pmap->pm_active); in pmap_activate_sw()
[all …]
HDmp_machdep.c190 CPU_SET_ATOMIC(hart, &kernel_pmap->pm_active); in init_secondary()
/freebsd-14-stable/sys/i386/include/
HDpmap.h166 cpuset_t pm_active; /* active on cpus */ member
/freebsd-14-stable/sys/powerpc/powerpc/
HDpmap_dispatch.c260 *res = pmap->pm_active; in pmap_active_cpus()
/freebsd-14-stable/sys/powerpc/include/
HDpmap.h163 cpuset_t pm_active; member
/freebsd-14-stable/sys/amd64/amd64/
HDpmap.c2008 CPU_FILL(&kernel_pmap->pm_active); in pmap_bootstrap()
3052 KASSERT(!CPU_ISSET(curcpu, &pmap->pm_active), in pmap_invalidate_ept()
3085 ipi_selected(pmap->pm_active, ipinum); in pmap_invalidate_ept()
3477 active = pmap->pm_active; in pmap_update_pde()
4317 CPU_ZERO(&pmap->pm_active); in pmap_pinit0()
4555 CPU_ZERO(&pmap->pm_active); in pmap_pinit_type()
4952 KASSERT(CPU_EMPTY(&pmap->pm_active), in pmap_release()
8566 CPU_AND(&other_cpus, &other_cpus, &pmap->pm_active); in pmap_remove_pages()
10240 CPU_SET_ATOMIC(cpuid, &pmap->pm_active); in pmap_activate_sw()
10242 CPU_SET(cpuid, &pmap->pm_active); in pmap_activate_sw()
[all …]
HDgenassym.c73 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
/freebsd-14-stable/sys/powerpc/booke/
HDpmap_64.c601 CPU_ZERO(&kernel_pmap->pm_active); in mmu_booke_pinit()
HDpmap_32.c699 CPU_ZERO(&kernel_pmap->pm_active); in mmu_booke_pinit()
HDpmap.c910 CPU_FILL(&kernel_pmap->pm_active); in mmu_booke_bootstrap()
1603 CPU_SET_ATOMIC(cpuid, &pmap->pm_active); in mmu_booke_activate()
1636 CPU_CLR_ATOMIC(PCPU_GET(cpuid), &pmap->pm_active); in mmu_booke_deactivate()
/freebsd-14-stable/sys/powerpc/aim/
HDmmu_oea.c883 CPU_FILL(&kernel_pmap->pm_active); in moea_bootstrap()
1016 CPU_SET(PCPU_GET(cpuid), &pm->pm_active); in moea_activate()
1028 CPU_CLR(PCPU_GET(cpuid), &pm->pm_active); in moea_deactivate()
HDmmu_oea64.c1118 CPU_FILL(&kernel_pmap->pm_active); in moea64_mid_bootstrap()
1314 CPU_SET(PCPU_GET(cpuid), &pm->pm_active); in moea64_activate()
1334 CPU_CLR(PCPU_GET(cpuid), &pm->pm_active); in moea64_deactivate()
/freebsd-14-stable/sys/amd64/vmm/amd/
HDsvm.c1927 CPU_SET_ATOMIC(cpu, &pmap->pm_active); in svm_pmap_activate()
2025 CPU_CLR_ATOMIC(curcpu, &pmap->pm_active); in svm_pmap_deactivate()
/freebsd-14-stable/sys/amd64/vmm/
HDvmm.c1920 KASSERT(!CPU_ISSET(curcpu, &pmap->pm_active), in vm_run()