Lines Matching refs:ProtFlags
34 syscall::{MapFlags, ProtFlags},
240 prot_flags: ProtFlags, in map_anonymous() argument
307 prot_flags: ProtFlags, in mmap() argument
407 prot_flags: ProtFlags, in mprotect() argument
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()
1016 pub fn can_have_flags(&self, prot_flags: ProtFlags) -> bool { in can_have_flags()
1017 return (self.flags.has_write() || !prot_flags.contains(ProtFlags::PROT_WRITE)) in can_have_flags()
1018 && (self.flags.has_execute() || !prot_flags.contains(ProtFlags::PROT_EXEC)); in can_have_flags()
1194 let mut prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE; in new()
1211 prot_flags.remove(ProtFlags::PROT_WRITE); in new()
1247 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in initial_extend()
1281 let prot_flags = ProtFlags::PROT_READ | ProtFlags::PROT_WRITE | ProtFlags::PROT_EXEC; in extend()