Searched refs:VM_ACCESS_FLAGS (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.7/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.7/kernel/src/process/ |
D | process.c | 296 … mm_create_vma(current_pcb->mm, virt_base, PAGE_2M_SIZE, VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file() 318 … int val = mm_create_vma(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, VM_USER | VM_ACCESS_FLAGS, in process_load_elf_file() 382 VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file()
|