Home
last modified time | relevance | path

Searched refs:update_flags (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/
Dpage.rs313 pub fn update_flags(mut self, flag: usize, value: bool) -> Self { in update_flags() method
339 return self.update_flags(Arch::ENTRY_FLAG_USER, value); in set_user()
360 .update_flags(Arch::ENTRY_FLAG_READONLY, !value) in set_write()
361 .update_flags(Arch::ENTRY_FLAG_READWRITE, value); in set_write()
386 .update_flags(Arch::ENTRY_FLAG_NO_EXEC, !value) in set_execute()
387 .update_flags(Arch::ENTRY_FLAG_EXEC, value); in set_execute()
405 return self.update_flags(Arch::ENTRY_FLAG_CACHE_DISABLE, value); in set_page_cache_disable()
425 return self.update_flags(Arch::ENTRY_FLAG_WRITE_THROUGH, value); in set_page_write_through()