Searched refs:VmFlags (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.9/kernel/src/mm/ |
D | syscall.rs | 17 verify_area, VirtAddr, VmFlags, 76 impl From<MapFlags> for VmFlags { implementation 78 let mut vm_flags = VmFlags::VM_NONE; in from() 81 vm_flags |= VmFlags::VM_GROWSDOWN; in from() 85 vm_flags |= VmFlags::VM_LOCKED; in from() 89 vm_flags |= VmFlags::VM_SYNC; in from() 96 impl From<ProtFlags> for VmFlags { implementation 98 let mut vm_flags = VmFlags::VM_NONE; in from() 101 vm_flags |= VmFlags::VM_READ; in from() 105 vm_flags |= VmFlags::VM_WRITE; in from() [all …]
|
D | ucontext.rs | 37 MemoryManagementArch, PageTableKind, VirtAddr, VirtRegion, VmFlags, 276 let vm_flags = VmFlags::from(prot_flags) in map_anonymous() 277 | VmFlags::from(map_flags) in map_anonymous() 278 | VmFlags::VM_MAYREAD in map_anonymous() 279 | VmFlags::VM_MAYWRITE in map_anonymous() 280 | VmFlags::VM_MAYEXEC; in map_anonymous() 398 vm_flags: VmFlags, in mremap() argument 1027 vm_flags: VmFlags, 1057 vm_flags: VmFlags, in new() argument 1076 pub fn vm_flags(&self) -> &VmFlags { in vm_flags() argument [all …]
|
D | mod.rs | 40 pub struct VmFlags:u32{
|