Searched refs:curpmap (Results 1 – 12 of 12) sorted by relevance
| /f-stack/freebsd/amd64/amd64/ |
| H A D | efirt_machdep.c | 291 pmap_t curpmap; in efi_arch_enter() local 293 curpmap = PCPU_GET(curpmap); in efi_arch_enter() 294 PMAP_LOCK_ASSERT(curpmap, MA_OWNED); in efi_arch_enter() 305 PCPU_SET(curpmap, NULL); in efi_arch_enter() 308 curpmap->pm_pcids[PCPU_GET(cpuid)].pm_pcid : 0)); in efi_arch_enter() 321 pmap_t curpmap; in efi_arch_leave() local 323 curpmap = &curproc->p_vmspace->vm_pmap; in efi_arch_leave() 325 PCPU_SET(curpmap, curpmap); in efi_arch_leave() 326 load_cr3(curpmap->pm_cr3 | (pmap_pcid_enabled ? in efi_arch_leave() 327 curpmap->pm_pcids[PCPU_GET(cpuid)].pm_pcid : 0)); in efi_arch_leave()
|
| H A D | mp_machdep.c | 854 if (smp_tlb_pmap == PCPU_GET(curpmap)) in invltlb_invpcid_pti_handler() 881 if (smp_tlb_pmap == PCPU_GET(curpmap)) { in invltlb_pcid_handler() 916 if (smp_tlb_pmap == PCPU_GET(curpmap) && in invlpg_invpcid_handler() 941 if (smp_tlb_pmap == PCPU_GET(curpmap) && in invlpg_pcid_handler() 991 if (smp_tlb_pmap == PCPU_GET(curpmap) && in invlrng_invpcid_handler() 1026 if (smp_tlb_pmap == PCPU_GET(curpmap) && in invlrng_pcid_handler()
|
| H A D | trap.c | 449 if ((PCPU_GET(curpmap)->pm_ucr3 != in trap() 661 return (PCPU_GET(curpmap)->pm_ucr3 != PMAP_NO_CR3 && in trap_is_pti() 665 (PCPU_GET(curpmap)->pm_cr3 & ~CR3_PCID_MASK)); in trap_is_pti()
|
| H A D | sys_machdep.c | 366 error = pmap_pkru_set(PCPU_GET(curpmap), in sysarch() 380 error = pmap_pkru_clear(PCPU_GET(curpmap), in sysarch()
|
| H A D | pmap.c | 2916 if (pmap != PCPU_GET(curpmap)) in pmap_invalidate_preipi_pcid() 3057 if (pmap != PCPU_GET(curpmap) || in pmap_invalidate_range_pcid_cb() 3193 else if (pmap == PCPU_GET(curpmap)) in pmap_invalidate_all_nopcid_cb() 9606 old_pmap = PCPU_GET(curpmap); in pmap_activate_sw_pcid_pti() 9615 PCPU_SET(curpmap, pmap); in pmap_activate_sw_pcid_pti() 9645 PCPU_SET(curpmap, pmap); in pmap_activate_sw_pcid_nopti() 9656 PCPU_SET(curpmap, pmap); in pmap_activate_sw_nopcid_nopti() 9690 oldpmap = PCPU_GET(curpmap); in pmap_activate_sw() 9754 PCPU_SET(curpmap, pmap); in pmap_activate_boot() 11444 pmap = PCPU_GET(curpmap); in DB_SHOW_COMMAND() [all …]
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | efirt_machdep.c | 270 set_ttbr0(pmap_to_ttbr0(PCPU_GET(curpmap))); in efi_arch_leave()
|
| H A D | pmap.c | 1770 PCPU_SET(curpmap, pmap); in pmap_pinit0() 6497 pmap_t curpmap; in pmap_reset_asid_set() local 6533 curpmap = pcpu_find(cpuid)->pc_curpmap; in pmap_reset_asid_set() 6536 curpmap = pcpu_find(cpuid)->pc_curvmpmap; in pmap_reset_asid_set() 6537 if (curpmap == NULL) in pmap_reset_asid_set() 6541 KASSERT(curpmap->pm_asid_set == set, ("Incorrect set")); in pmap_reset_asid_set() 6542 asid = COOKIE_TO_ASID(curpmap->pm_cookie); in pmap_reset_asid_set() 6546 curpmap->pm_cookie = COOKIE_FROM(asid, epoch); in pmap_reset_asid_set() 6610 KASSERT(PCPU_GET(curpmap) != NULL, ("no active pmap")); in pmap_activate_int() 6613 if ((pmap->pm_stage == PM_STAGE1 && pmap == PCPU_GET(curpmap)) || in pmap_activate_int() [all …]
|
| /f-stack/freebsd/arm/arm/ |
| H A D | trap-v6.c | 359 rv = pmap_fault(PCPU_GET(curpmap), far, fsr, idx, usermode); in abort_handler()
|
| H A D | pmap-v6.c | 2152 PCPU_SET(curpmap, pmap); in pmap_pinit0() 3289 pmap = PCPU_GET(curpmap); in pmap_update_pte1_kernel() 6196 oldpmap = PCPU_GET(curpmap); in pmap_activate() 6214 PCPU_SET(curpmap, pmap); in pmap_activate() 6839 pmap = PCPU_GET(curpmap); in DB_SHOW_COMMAND() 6930 pmap = PCPU_GET(curpmap); in DB_SHOW_COMMAND()
|
| /f-stack/freebsd/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_2835_arm.c | 526 pa = pmap_extract(PCPU_GET(curpmap), (vm_offset_t)buf); in create_pagelist()
|
| /f-stack/freebsd/mips/mips/ |
| H A D | pmap.c | 1091 PCPU_SET(curpmap, pmap); in pmap_pinit0() 3325 oldpmap = PCPU_GET(curpmap); in pmap_activate() 3337 PCPU_SET(curpmap, pmap); in pmap_activate()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | pmap.c | 4779 if (pmap != PCPU_GET(curpmap)) { in __CONCAT() 5794 oldpmap = PCPU_GET(curpmap); in __CONCAT() 5812 PCPU_SET(curpmap, pmap); in __CONCAT() 5827 PCPU_SET(curpmap, pmap); in __CONCAT()
|