Searched refs:curpmap (Results 1 - 18 of 18) sorted by relevance

/freebsd-current/sys/amd64/amd64/
H A Defirt_machdep.c289 pmap_t curpmap; local
292 curpmap = PCPU_GET(curpmap);
293 PMAP_LOCK_ASSERT(curpmap, MA_OWNED);
298 * %cr3 from the curpmap->pm_cr3, which would disable runtime
300 * curpmap to impossible value. See also comment in
304 PCPU_SET(curpmap, NULL);
308 cr3 |= pmap_get_pcid(curpmap);
322 pmap_t curpmap; local
325 curpmap
[all...]
H A Dmp_machdep.c793 if (smp_tlb_pmap == PCPU_GET(curpmap) &&
819 if (smp_tlb_pmap == PCPU_GET(curpmap)) {
854 if (smp_tlb_pmap == PCPU_GET(curpmap) &&
878 if (smp_tlb_pmap == PCPU_GET(curpmap) &&
932 if (smp_tlb_pmap == PCPU_GET(curpmap) &&
965 if (smp_tlb_pmap == PCPU_GET(curpmap) &&
H A Dtrap.c493 if ((PCPU_GET(curpmap)->pm_ucr3 !=
687 return (PCPU_GET(curpmap)->pm_ucr3 != PMAP_NO_CR3 &&
691 (PCPU_GET(curpmap)->pm_cr3 & ~CR3_PCID_MASK));
H A Dpmap.c3081 if (pmap != PCPU_GET(curpmap))
3185 } else if (pmap == PCPU_GET(curpmap)) {
3219 if (pmap != PCPU_GET(curpmap) ||
3280 } else if (pmap == PCPU_GET(curpmap)) {
3322 } else if (pmap == PCPU_GET(curpmap)) {
3357 else if (pmap == PCPU_GET(curpmap))
3493 if (pmap == kernel_pmap || pmap == PCPU_GET(curpmap)) {
3495 if (pmap == PCPU_GET(curpmap) && pmap_pcid_enabled &&
3534 if (pmap == kernel_pmap || pmap == PCPU_GET(curpmap)) {
3537 if (pmap == PCPU_GET(curpmap)
[all...]
H A Dsys_machdep.c362 error = pmap_pkru_set(PCPU_GET(curpmap),
376 error = pmap_pkru_clear(PCPU_GET(curpmap),
/freebsd-current/sys/dev/efidev/
H A Defirt.c297 pmap_t curpmap; local
303 curpmap = &td->td_proc->p_vmspace->vm_pmap;
304 PMAP_LOCK(curpmap);
311 PMAP_UNLOCK(curpmap);
320 pmap_t curpmap; local
324 curpmap = &curproc->p_vmspace->vm_pmap;
328 PMAP_UNLOCK(curpmap);
/freebsd-current/sys/arm64/arm64/
H A Defirt_machdep.c244 * Temporarily switch to EFI's page table. However, we leave curpmap
263 * curpmap will access x18 we need to restore it before loading
269 set_ttbr0(pmap_to_ttbr0(PCPU_GET(curpmap)));
H A Dpmap.c2528 PCPU_SET(curpmap, pmap);
8605 pmap_t curpmap;
8641 curpmap = pcpu_find(cpuid)->pc_curpmap;
8644 curpmap = pcpu_find(cpuid)->pc_curvmpmap;
8645 if (curpmap == NULL)
8649 KASSERT(curpmap->pm_asid_set == set, ("Incorrect set"));
8650 asid = COOKIE_TO_ASID(curpmap->pm_cookie);
8654 curpmap->pm_cookie = COOKIE_FROM(asid, epoch);
8803 KASSERT(PCPU_GET(curpmap) != NULL, ("no active pmap"));
8806 if ((pmap->pm_stage == PM_STAGE1 && pmap == PCPU_GET(curpmap)) ||
8607 pmap_t curpmap; local
[all...]
/freebsd-current/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_2835_arm.c526 pa = pmap_extract(PCPU_GET(curpmap), (vm_offset_t)buf);
/freebsd-current/sys/arm/arm/
H A Dtrap-v6.c352 rv = pmap_fault(PCPU_GET(curpmap), far, fsr, idx, usermode);
H A Dpmap-v6.c2149 PCPU_SET(curpmap, pmap);
3268 pmap = PCPU_GET(curpmap);
6174 oldpmap = PCPU_GET(curpmap);
6192 PCPU_SET(curpmap, pmap);
6823 pmap = PCPU_GET(curpmap);
6914 pmap = PCPU_GET(curpmap);
6915 printf("curpmap: 0x%08X\n", (uint32_t)pmap);
/freebsd-current/sys/powerpc/booke/
H A Dpmap.c1252 PCPU_SET(curpmap, pmap);
1437 if (sync && (su || pmap == PCPU_GET(curpmap))) {
1610 PCPU_SET(curpmap, pmap);
1643 PCPU_SET(curpmap, NULL);
H A Dpmap_32.c736 pmap = PCPU_GET(curpmap);
/freebsd-current/sys/powerpc/aim/
H A Dmmu_oea.c1017 PCPU_SET(curpmap, pmr);
1029 PCPU_SET(curpmap, NULL);
H A Dmmu_oea64.c1321 PCPU_SET(curpmap, pm->pmap_phys);
1338 PCPU_SET(curpmap, NULL);
/freebsd-current/sys/powerpc/powerpc/
H A Dexec_machdep.c1296 pmap_sync_icache(PCPU_GET(curpmap), frame->srr0, 4);
/freebsd-current/sys/i386/i386/
H A Dpmap.c4855 if (pmap != PCPU_GET(curpmap)) {
5871 oldpmap = PCPU_GET(curpmap);
5889 PCPU_SET(curpmap, pmap);
5904 PCPU_SET(curpmap, pmap);
/freebsd-current/sys/riscv/riscv/
H A Dpmap.c4712 oldpmap = PCPU_GET(curpmap);
4726 PCPU_SET(curpmap, pmap);
4751 PCPU_SET(curpmap, pmap);

Completed in 340 milliseconds