Lines Matching refs:VirtAddr
17 PhysAddr, VirtAddr,
23 base: VirtAddr,
33 pub unsafe fn new(base: VirtAddr, phys: PhysAddr, level: usize) -> Self { in new() argument
53 VirtAddr::new(0), in top_level_table()
67 pub fn base(&self) -> VirtAddr { in base() argument
79 pub unsafe fn virt(&self) -> VirtAddr { in virt() argument
84 pub fn entry_base(&self, i: usize) -> Option<VirtAddr> { in entry_base() argument
94 pub unsafe fn entry_virt(&self, i: usize) -> Option<VirtAddr> { in entry_virt() argument
139 pub unsafe fn index_of(&self, addr: VirtAddr) -> Option<usize> { in index_of()
140 let addr = VirtAddr::new(addr.data() & Arch::PAGE_ADDRESS_MASK); in index_of()
527 PageTable::new(VirtAddr::new(0), self.table_paddr, Arch::PAGE_LEVELS - 1) in table()
547 virt: VirtAddr, in map() argument
559 virt: VirtAddr, in map_phys() argument
572 let virt = VirtAddr::new(virt.data() & (!Arch::PAGE_NEGATIVE_MASK)); in map_phys()
634 ) -> Option<(VirtAddr, PageFlush<Arch>)> { in map_linearly() argument
635 let virt: VirtAddr = Arch::phys_2_virt(phys)?; in map_linearly()
652 virt: VirtAddr, in remap() argument
674 pub fn translate(&self, virt: VirtAddr) -> Option<(PhysAddr, PageFlags<Arch>)> { in translate()
692 pub unsafe fn unmap(&mut self, virt: VirtAddr, unmap_parents: bool) -> Option<PageFlush<Arch>> { in unmap() argument
710 virt: VirtAddr, in unmap_phys() argument
726 virt: VirtAddr, in visit() argument
756 vaddr: VirtAddr, in unmap_phys_inner()
814 virt: VirtAddr,
819 pub fn new(virt: VirtAddr) -> Self { in new()