Searched refs:update_flags (Results 1 – 1 of 1) sorted by relevance
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 884 pub fn update_flags(mut self, flag: usize, value: bool) -> Self { in update_flags() method 910 return self.update_flags(Arch::ENTRY_FLAG_USER, value); in set_user() 933 .update_flags(Arch::ENTRY_FLAG_READONLY, !value) in set_write() 934 .update_flags(Arch::ENTRY_FLAG_READWRITE, value); in set_write() 940 return self.update_flags(Arch::ENTRY_FLAG_READWRITE, true); in set_write() 943 .update_flags(Arch::ENTRY_FLAG_READONLY, true) in set_write() 944 .update_flags(Arch::ENTRY_FLAG_WRITEABLE, false); in set_write() 971 .update_flags(Arch::ENTRY_FLAG_NO_EXEC, !value) in set_execute() 972 .update_flags(Arch::ENTRY_FLAG_EXEC, value); in set_execute() 990 return self.update_flags(Arch::ENTRY_FLAG_CACHE_DISABLE, value); in set_page_cache_disable() [all …]
|