Lines Matching defs:self

84     pub fn entry_base(&self, i: usize) -> Option<VirtAddr> {  in entry_base()
94 pub unsafe fn entry_virt(&self, i: usize) -> Option<VirtAddr> { in entry_virt()
103 pub unsafe fn entry(&self, i: usize) -> Option<PageEntry<Arch>> { in entry()
109 pub unsafe fn set_entry(&self, i: usize, entry: PageEntry<Arch>) -> Option<()> { in set_entry()
121 pub fn entry_mapped(&self, i: usize) -> Option<bool> { in entry_mapped()
139 pub unsafe fn index_of(&self, addr: VirtAddr) -> Option<usize> { in index_of()
152 pub unsafe fn next_level_table(&self, index: usize) -> Option<Self> { in next_level_table()
174 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> { in fmt()
216 pub fn set_flags(&mut self, flags: PageFlags<Arch>) { in set_flags()
313 pub fn update_flags(mut self, flag: usize, value: bool) -> Self { in update_flags()
324 pub fn has_flag(&self, flag: usize) -> bool { in has_flag()
338 pub fn set_user(self, value: bool) -> Self { in set_user() argument
357 pub fn set_write(self, value: bool) -> Self { in set_write() argument
375 pub fn set_execute(self, mut value: bool) -> Self { in set_execute() argument
404 pub fn set_page_cache_disable(self, value: bool) -> Self { in set_page_cache_disable() argument
424 pub fn set_page_write_through(self, value: bool) -> Self { in set_page_write_through() argument
451 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
518 pub unsafe fn make_current(&self) { in make_current()
546 &mut self, in map()
558 &mut self, in map_phys()
631 &mut self, in map_linearly()
651 &mut self, in remap()
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()
709 &mut self, in unmap_phys()
725 &self, in visit()
796 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
807 fn consume(&mut self, flush: PageFlush<Arch>); in consume()
826 pub fn flush(self) { in flush() argument
831 pub unsafe fn ignore(self) { in ignore() argument
851 pub fn flush(self) { in flush() argument
856 pub unsafe fn ignore(self) { in ignore() argument
863 fn consume(&mut self, flush: PageFlush<Arch>) { in consume()
870 fn consume(&mut self, flush: PageFlush<Arch>) { in consume()
876 fn consume(&mut self, _flush: PageFlush<Arch>) {} in consume()
880 fn drop(&mut self) { in drop()
902 fn consume(&mut self, flush: PageFlush<MMArch>) { in consume()
910 fn drop(&mut self) { in drop()