Home
last modified time | relevance | path

Searched refs:VM_ACCESS_FLAGS (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.3/kernel/src/mm/
Dmm.h314 #define VM_ACCESS_FLAGS (VM_READ | VM_WRITE | VM_EXEC) macro
349 return vma->vm_flags & VM_ACCESS_FLAGS; in vma_is_accessible()
Dmm.c641 mm_create_vma(current_pcb->mm, i, PAGE_2M_SIZE, VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in mm_do_brk()
/DragonOS-0.1.3/kernel/src/process/
Dprocess.c278 … mm_create_vma(current_pcb->mm, virt_base, PAGE_2M_SIZE, VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file()
300 … int val = mm_create_vma(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, VM_USER | VM_ACCESS_FLAGS, in process_load_elf_file()
338 VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file()