Searched refs:VM_WRITE (Results 1 – 7 of 7) sorted by relevance
127 #define VM_WRITE (1 << 1) macro137 #define VM_ACCESS_FLAGS (VM_READ | VM_WRITE | VM_EXEC)
175 vm_flags |= VmFlags::VM_WRITE; in from()193 vm_flags |= VmFlags::VM_READ | VmFlags::VM_WRITE; in from()240 if value.contains(VmFlags::VM_WRITE) { in from()
48 const VM_WRITE = 0x00000002; constant685 VmFlags::VM_READ | VmFlags::VM_WRITE | VmFlags::VM_EXEC | VmFlags::VM_SHARED, in vm_get_page_prot()
1192 .contains(VmFlags::VM_SHARED | VmFlags::VM_WRITE) in unmap()1305 let vm_access_flags: VmFlags = VmFlags::VM_READ | VmFlags::VM_WRITE | VmFlags::VM_EXEC; in is_accessible()
293 map[VmFlags::VM_WRITE.bits()] = MMArch::PAGE_COPY;294 map[VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] = MMArch::PAGE_COPY;297 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] = MMArch::PAGE_COPY_EXEC;298 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =302 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_WRITE.bits()] = MMArch::PAGE_SHARED;303 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =308 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] =312 | VmFlags::VM_WRITE.bits()
388 map[VmFlags::VM_WRITE.bits()] = EntryFlags::from_data(MMArch::PAGE_COPY);389 map[VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =394 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] =396 map[VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =401 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_WRITE.bits()] =403 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =409 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] =413 | VmFlags::VM_WRITE.bits()
54 if unlikely(!vm_flags.contains(VmFlags::VM_WRITE)) { in vma_access_error()