Lines Matching refs:VirtAddr

35     MemoryManagementArch, PageTableKind, PhysAddr, VirtAddr,
465 base: VirtAddr,
475 pub unsafe fn new(base: VirtAddr, phys: PhysAddr, level: usize) -> Self { in new() argument
495 VirtAddr::new(0), in top_level_table()
509 pub fn base(&self) -> VirtAddr { in base() argument
521 pub unsafe fn virt(&self) -> VirtAddr { in virt() argument
526 pub fn entry_base(&self, i: usize) -> Option<VirtAddr> { in entry_base() argument
536 pub unsafe fn entry_virt(&self, i: usize) -> Option<VirtAddr> { in entry_virt() argument
581 pub fn index_of(&self, addr: VirtAddr) -> Option<usize> { in index_of()
582 let addr = VirtAddr::new(addr.data() & Arch::PAGE_ADDRESS_MASK); in index_of()
1160 PageTable::new(VirtAddr::new(0), self.table_paddr, Arch::PAGE_LEVELS - 1) in table()
1180 virt: VirtAddr, in map() argument
1204 virt: VirtAddr, in map_phys() argument
1217 let virt = VirtAddr::new(virt.data() & (!Arch::PAGE_NEGATIVE_MASK)); in map_phys()
1262 virt: VirtAddr, in map_huge_page() argument
1271 let virt = VirtAddr::new(virt.data() & (!Arch::PAGE_NEGATIVE_MASK)); in map_huge_page()
1318 virt: VirtAddr, in allocate_table() argument
1345 pub fn get_table(&self, virt: VirtAddr, level: usize) -> Option<PageTable<Arch>> { in get_table() argument
1373 pub fn get_entry(&self, virt: VirtAddr, level: usize) -> Option<PageEntry<Arch>> { in get_entry() argument
1433 ) -> Option<(VirtAddr, PageFlush<Arch>)> { in map_linearly() argument
1434 let virt: VirtAddr = Arch::phys_2_virt(phys)?; in map_linearly()
1451 virt: VirtAddr, in remap() argument
1474 pub fn translate(&self, virt: VirtAddr) -> Option<(PhysAddr, EntryFlags<Arch>)> { in translate()
1493 pub unsafe fn unmap(&mut self, virt: VirtAddr, unmap_parents: bool) -> Option<PageFlush<Arch>> { in unmap() argument
1511 virt: VirtAddr, in unmap_phys() argument
1527 virt: VirtAddr, in visit() argument
1557 vaddr: VirtAddr, in unmap_phys_inner()
1615 virt: VirtAddr,
1620 pub fn new(virt: VirtAddr) -> Self { in new()