Lines Matching refs:entry
103 pub unsafe fn entry(&self, i: usize) -> Option<PageEntry<Arch>> { in entry() method
109 pub unsafe fn set_entry(&self, i: usize, entry: PageEntry<Arch>) -> Option<()> { in set_entry()
111 Arch::write::<usize>(entry_virt, entry.data()); in set_entry()
160 self.entry(index)?.address().ok()?, in next_level_table()
577 let entry = PageEntry::new(phys.data() | flags.data()); in map_phys() localVariable
590 table.set_entry(i, entry); in map_phys()
657 let mut entry = p1.entry(i)?; in remap() localVariable
658 entry.set_flags(flags); in remap()
659 p1.set_entry(i, entry); in remap()
675 let entry: PageEntry<Arch> = self.visit(virt, |p1, i| unsafe { p1.entry(i) })??; in translate() localVariable
676 let paddr = entry.address().ok()?; in translate()
677 let flags = entry.flags(); in translate()
766 let entry = table.entry(i)?; in unmap_phys_inner() localVariable
768 return Some((entry.address().ok()?, entry.flags())); in unmap_phys_inner()
782 .map(|k| subtable.entry(k).expect("invalid page entry")) in unmap_phys_inner()