Searched refs:PageEntry (Results 1 – 2 of 2) sorted by relevance
103 pub unsafe fn entry(&self, i: usize) -> Option<PageEntry<Arch>> { in entry()105 return Some(PageEntry::new(Arch::read::<usize>(entry_virt))); in entry()109 pub unsafe fn set_entry(&self, i: usize, entry: PageEntry<Arch>) -> Option<()> { in set_entry()168 pub struct PageEntry<Arch> { struct173 impl<Arch> Debug for PageEntry<Arch> { argument179 impl<Arch: MemoryManagementArch> PageEntry<Arch> { implementation577 let entry = PageEntry::new(phys.data() | flags.data()); in map_phys()619 table.set_entry(i, PageEntry::new(frame.data() | flags.data())); in map_phys()675 let entry: PageEntry<Arch> = self.visit(virt, |p1, i| unsafe { p1.entry(i) })??; in translate()767 table.set_entry(i, PageEntry::new(0)); in unmap_phys_inner()[all …]
25 use crate::mm::page::{PageEntry, PageFlags};212 let entry: PageEntry<X86_64MMArch> = current_ktable in setup_new_usermapper()356 let empty_entry = PageEntry::<MMArch>::new(0); in allocator_init()