Searched refs:vm_flags (Results 1 – 11 of 11) sorted by relevance
/DragonOS/kernel/src/mm/ |
H A D | syscall.rs | 144 let mut vm_flags = VmFlags::VM_NONE; in from() localVariable 147 vm_flags |= VmFlags::VM_GROWSDOWN; in from() 151 vm_flags |= VmFlags::VM_LOCKED; in from() 155 vm_flags |= VmFlags::VM_SYNC; in from() 159 vm_flags |= VmFlags::VM_SHARED; in from() 162 vm_flags in from() 168 let mut vm_flags = VmFlags::VM_NONE; in from() localVariable 171 vm_flags |= VmFlags::VM_READ; in from() 175 vm_flags |= VmFlags::VM_WRITE; in from() 179 vm_flags |= VmFlags::VM_EXEC; in from() [all …]
|
H A D | ucontext.rs | 286 move |page, count, vm_flags, flags, mapper, flusher| { in map_anonymous() 288 VMA::zeroed(page, count, vm_flags, flags, mapper, flusher, None, None) in map_anonymous() 292 vm_flags, in map_anonymous() 380 |page, count, vm_flags, flags, mapper, flusher| { in file_mapping() 385 vm_flags, in file_mapping() 395 vm_flags, in file_mapping() 464 let vm_flags = VmFlags::from(prot_flags) in mmap() localVariable 486 vm_flags, in mmap() 520 vm_flags: VmFlags, in mremap() 535 let mut map_flags: MapFlags = vm_flags.into(); in mremap() [all …]
|
H A D | madvise.rs | 16 let mut new_flags = *vma.vm_flags(); in do_madvise() 56 if vma.vm_flags().contains(VmFlags::VM_IO) { in do_madvise()
|
H A D | mmio.h | 4 extern int rs_mmio_create(uint32_t size, uint64_t vm_flags, uint64_t* res_vaddr, uint64_t* res_leng…
|
H A D | fault.rs | 142 let vm_flags = *guard.vm_flags(); in handle_mm_fault() localVariable 144 if unlikely(vm_flags.contains(VmFlags::VM_HUGETLB)) { in handle_mm_fault() 279 .vm_flags() in do_fault() 448 if vma.lock().vm_flags().contains(VmFlags::VM_SHARED) { in do_wp_page() 704 && !vma_guard.vm_flags().contains(VmFlags::VM_SHARED) in finish_fault()
|
H A D | mod.rs | 681 fn vm_get_page_prot(vm_flags: VmFlags) -> EntryFlags<Self> { in vm_get_page_prot() 683 let mut ret = map[vm_flags in vm_get_page_prot()
|
H A D | page.rs | 811 let vm_flags = super::VmFlags::from(prot_flags); in from_prot_flags() localVariable 812 Arch::vm_get_page_prot(vm_flags).set_user(user) in from_prot_flags()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | fault.rs | 34 let vm_flags = *vma.lock_irqsave().vm_flags(); in vma_access_error() localVariable 54 if unlikely(!vm_flags.contains(VmFlags::VM_WRITE)) { in vma_access_error() 254 let vm_flags = *guard.vm_flags(); in do_user_addr_fault() localVariable 258 if vm_flags.contains(VmFlags::VM_GROWSDOWN) { in do_user_addr_fault()
|
H A D | pkru.rs | 20 ((guard.vm_flags().bits() & PKEY_MASK) >> VM_PKEY_SHIFT) as u16 in vma_pkey()
|
/DragonOS/kernel/src/ipc/ |
H A D | syscall.rs | 325 let vm_flags = VmFlags::from(shmflg); in shmat() localVariable 328 EntryFlags::from_prot_flags(ProtFlags::from(vm_flags), true); in shmat() 336 vm_flags, in shmat()
|
/DragonOS/docs/kernel/memory_management/ |
H A D | mmio.md | 188 | mmio_create(size,vm_flags,res_vaddr,res_length) | 创建一块根据size对齐后的大小的mmio区域,并将其vma绑定到initial_mm |
|