/freebsd/sys/arm64/iommu/ |
H A D | iommu_pmap.c | 71 #define NL3PG (IOMMU_PAGE_SIZE/(sizeof (pt_entry_t))) 162 static __inline pt_entry_t * 166 pt_entry_t *l3p; in smmu_pmap_l2_to_l3() 178 l3p = (pt_entry_t *)PHYS_TO_DMAP(l2 & ~ATTR_MASK); in smmu_pmap_l2_to_l3() 221 static __inline pt_entry_t * 225 pt_entry_t *l3; in smmu_pmap_pte() 264 smmu_pmap_l3_valid(pt_entry_t l3) in smmu_pmap_l3_valid() 585 pt_entry_t new_l3; in pmap_gpu_enter() 586 pt_entry_t orig_l3 __diagused; in pmap_gpu_enter() 587 pt_entry_t *l3; in pmap_gpu_enter() [all …]
|
/freebsd/sys/arm64/vmm/ |
H A D | vmm_mmu.c | 53 static pt_entry_t *l0; 76 pt_entry_t *l3 __diagused; in vmmpmap_release_l3() 94 pt_entry_t *l2; in vmmpmap_release_l2() 113 pt_entry_t *l1; in vmmpmap_release_l1() 157 static pt_entry_t * 160 pt_entry_t new_l0e, l0e, *l1; in vmmpmap_l1_table() 196 static pt_entry_t * 199 pt_entry_t new_l1e, l1e, *l1, *l2; in vmmpmap_l2_table() 242 pt_entry_t new_l2e, l2e, *l2, *l3; in vmmpmap_l3_table() 278 l3 = (pt_entry_t *)PHYS_TO_DMAP(l2e & ~ATTR_MASK); in vmmpmap_l3_table() [all …]
|
/freebsd/sys/i386/include/ |
H A D | pmap_nopae.h | 73 typedef uint32_t pt_entry_t; typedef 88 extern pt_entry_t PTmap[]; 92 extern pt_entry_t *KPTmap_nopae; 95 pt_entry_t *__CONCAT(PMTYPE, pmap_pte)(struct pmap *, vm_offset_t) __pure2;
|
H A D | pmap_pae.h | 91 typedef uint64_t pt_entry_t; typedef 113 extern pt_entry_t pg_nx; 127 extern pt_entry_t *KPTmap_pae;
|
H A D | param.h | 88 #define NPTEPG (PAGE_SIZE / sizeof(pt_entry_t))
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 165 #define NL3PG (PAGE_SIZE/(sizeof (pt_entry_t))) 349 extern pt_entry_t pagetable_l0_ttbr1[]; 359 pt_entry_t pmap_sh_attr __read_mostly = ATTR_SH(ATTR_SH_IS); 469 static bool pmap_copy_l3c(pmap_t pmap, pt_entry_t *l3p, vm_offset_t va, 470 pt_entry_t l3e, vm_page_t ml3, struct rwlock **lockp); 471 static pt_entry_t *pmap_demote_l1(pmap_t pmap, pt_entry_t *l1, vm_offset_t va); 472 static pt_entry_t *pmap_demote_l2_locked(pmap_t pmap, pt_entry_t *l2, 474 static pt_entry_t *pmap_demote_l2(pmap_t pmap, pt_entry_t *l2, vm_offset_t va); 475 static bool pmap_demote_l2c(pmap_t pmap, pt_entry_t *l2p, vm_offset_t va); 476 static bool pmap_demote_l3c(pmap_t pmap, pt_entry_t *l3p, vm_offset_t va); [all …]
|
H A D | efirt_machdep.c | 92 static pt_entry_t * 96 pt_entry_t *l3; in efi_1t1_l3() 133 l3 = (pt_entry_t *)PHYS_TO_DMAP(mphys); in efi_1t1_l3() 163 pt_entry_t *l3, l3_attr; in efi_create_1t1_map()
|
H A D | minidump_machdep.c | 154 pt_entry_t *l3, l3e; in cpu_minidumpsys()
|
/freebsd/sys/i386/i386/ |
H A D | pmap.c | 173 #define PTmap ((pt_entry_t *)(PTDPTDI << PDRSHIFT)) 211 pt_entry_t pg_nx; 261 static pt_entry_t *CMAP3; 270 static pt_entry_t *PMAP1 = NULL, *PMAP2, *PMAP3; 271 static pt_entry_t *PADDR1 = NULL, *PADDR2, *PADDR3; 312 static void pmap_fill_ptp(pt_entry_t *firstpte, pt_entry_t newpte); 324 static void pmap_pte_attr(pt_entry_t *pte, int cache_bits); 327 static int pmap_remove_pte(pmap_t pmap, pt_entry_t *ptq, vm_offset_t sva, 345 static pt_entry_t *pmap_pte_quic [all...] |
H A D | minidump_machdep_base.c | 143 static pt_entry_t fakept[NPTEPG]; 162 pt_entry_t *pt, pte; in cpu_minidumpsys()
|
/freebsd/sys/riscv/riscv/ |
H A D | pmap.c | 321 static int pmap_remove_l3(pmap_t pmap, pt_entry_t *l3, vm_offset_t sva, 467 static __inline pt_entry_t * 471 pt_entry_t *l3; in pmap_l2_to_l3() 479 static __inline pt_entry_t * 516 pt_entry_t entry) in pmap_distribute_l1() 546 static __read_frequently pt_entry_t memattr_bits[VM_MEMATTR_TOTAL]; 547 static __read_frequently pt_entry_t memattr_mask; 549 static __inline pt_entry_t 561 static pt_entry_t * 564 pt_entry_t *pt; in pmap_early_alloc_tables() [all …]
|
H A D | minidump_machdep.c | 157 pt_entry_t *l3, l3e; in cpu_minidumpsys()
|
/freebsd/sys/amd64/amd64/ |
H A D | pmap.c | 191 static __inline pt_entry_t 194 pt_entry_t mask; in pmap_valid_bit() 214 static __inline pt_entry_t 217 pt_entry_t mask; in pmap_rw_bit() 237 static pt_entry_t pg_g; 239 static __inline pt_entry_t 242 pt_entry_t mask; in pmap_global_bit() 259 static __inline pt_entry_t 262 pt_entry_t mask; in pmap_accessed_bit() 282 static __inline pt_entry_t [all …]
|
H A D | efirt_machdep.c | 105 static pt_entry_t * 112 pt_entry_t *pte; in efi_1t1_pte() 164 pte = (pt_entry_t *)PHYS_TO_DMAP(mphys); in efi_1t1_pte() 175 pt_entry_t *pte; in efi_create_1t1_map()
|
H A D | genassym.c | 101 ASSYM(PTESIZE, sizeof(pt_entry_t));
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_radix.c | 327 static __inline pt_entry_t * 328 pmap_l3e_to_pte(pt_entry_t *l3e, vm_offset_t va) in pmap_l3e_to_pte() 330 pt_entry_t *pte; in pmap_l3e_to_pte() 334 pte = (pt_entry_t *)PHYS_TO_DMAP(ptepa); in pmap_l3e_to_pte() 339 static __inline pt_entry_t * 340 pmap_l2e_to_l3e(pt_entry_t *l2e, vm_offset_t va) in pmap_l2e_to_l3e() 342 pt_entry_t *l3e; in pmap_l2e_to_l3e() 351 static __inline pt_entry_t * 352 pmap_l1e_to_l2e(pt_entry_t *l1e, vm_offset_t va) in pmap_l1e_to_l2e() 354 pt_entry_t *l2 in pmap_l1e_to_l2e() [all...] |
/freebsd/sys/amd64/include/ |
H A D | pmap.h | 69 #define X86_PG_PKU(idx) ((pt_entry_t)idx << 59) 299 typedef u_int64_t pt_entry_t; typedef 313 #define P4Tmap ((pt_entry_t *)(addr_P4Tmap)) 323 #define P5Tmap ((pt_entry_t *)(addr_P5Tmap)) 336 pt_entry_t *vtopte(vm_offset_t); 348 extern pt_entry_t pg_nx; 421 extern pt_entry_t *CMAP1;
|
H A D | param.h | 93 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t)))
|
/freebsd/sys/powerpc/include/ |
H A D | param.h | 109 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 110 #define NPDEPG (PAGE_SIZE/(sizeof (pt_entry_t)))
|
H A D | pmap.h | 97 typedef uint64_t pt_entry_t; typedef
|
/freebsd/sys/arm64/include/ |
H A D | pmap.h | 130 extern pt_entry_t pmap_sh_attr; 168 pd_entry_t **, pt_entry_t **);
|
H A D | pte.h | 40 typedef uint64_t pt_entry_t; /* page table entry */ typedef
|
/freebsd/sys/riscv/include/ |
H A D | pte.h | 41 typedef uint64_t pt_entry_t; /* page table entry */ typedef
|
H A D | pmap.h | 157 pt_entry_t **);
|
/freebsd/lib/libkvm/ |
H A D | kvm_riscv.h | 61 _Static_assert(sizeof(pt_entry_t) == sizeof(riscv_pt_entry_t),
|