Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dno_init.rs144 let flags: EntryFlags<MMArch> = EntryFlags::new().set_write(true); in pseudo_map_phys()
153 let flags: EntryFlags<MMArch> = EntryFlags::new().set_write(false).set_execute(true); in pseudo_map_phys_ro()
H A Dpage.rs243 mapper.get_entry(virt, 0).unwrap().flags().set_write(false), in page_writeback()
627 let mut new_flags = entry.flags().set_write(false); in clone()
817 .set_write(prot_flags.contains(ProtFlags::PROT_WRITE)) in from_prot_flags()
928 pub fn set_write(self, value: bool) -> Self { in set_write() method
1065 .set_write(true) in mmio_flags()
1076 .set_write(true) in mmio_flags()
H A Dfault.rs446 let new_flags = entry.flags().set_write(true).set_dirty(true); in do_wp_page()
H A Ducontext.rs667 .set_write(prot_flags.contains(ProtFlags::PROT_WRITE)); in mprotect()
/DragonOS/kernel/src/driver/video/
H A Dmod.rs102 let page_flags: EntryFlags<MMArch> = EntryFlags::new().set_execute(true).set_write(true); in init_frame_buffer()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs682 return EntryFlags::new().set_execute(true).set_write(true); in kernel_page_flags()
687 return EntryFlags::new().set_write(true).set_execute(true); in kernel_page_flags()