Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/
Dsyscall.rs121 prot_flags: usize, in mmap()
127 let prot_flags = ProtFlags::from_bits_truncate(prot_flags as u64); in mmap() localVariable
153 prot_flags, in mmap()
202 prot_flags: usize, in mprotect()
214 let prot_flags = ProtFlags::from_bits(prot_flags as u64).ok_or(SystemError::EINVAL)?; in mprotect() localVariable
222 .mprotect(start_frame, page_count, prot_flags) in mprotect()
Ducontext.rs240 prot_flags: ProtFlags, in map_anonymous()
268 prot_flags, in map_anonymous()
307 prot_flags: ProtFlags, in mmap()
348 PageFlags::from_prot_flags(prot_flags, true), in mmap()
407 prot_flags: ProtFlags, in mprotect()
447 if !r_guard.can_have_flags(prot_flags) { in mprotect()
455 .set_execute(prot_flags.contains(ProtFlags::PROT_EXEC)) in mprotect()
456 .set_write(prot_flags.contains(ProtFlags::PROT_WRITE)); in mprotect()
511 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in set_brk() localVariable
513 self.map_anonymous(old_brk, len, prot_flags, map_flags, true)? in set_brk()
[all …]
Dpage.rs261 pub fn from_prot_flags(prot_flags: ProtFlags, user: bool) -> PageFlags<Arch> { in from_prot_flags()
264 .set_execute(prot_flags.contains(ProtFlags::PROT_EXEC)) in from_prot_flags()
265 .set_write(prot_flags.contains(ProtFlags::PROT_WRITE)); in from_prot_flags()
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs92 prot_flags: ProtFlags, in set_elf_brk()
100 prot_flags, in set_elf_brk()