Searched refs:VM_ACCESS_FLAGS (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.3/kernel/src/mm/ |
D | mm.h | 314 #define VM_ACCESS_FLAGS (VM_READ | VM_WRITE | VM_EXEC) macro 349 return vma->vm_flags & VM_ACCESS_FLAGS; in vma_is_accessible()
|
D | mm.c | 641 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/ |
D | process.c | 278 … 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()
|