Searched refs:VM_USER (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.2/kernel/src/mm/ |
D | mmap.c | 406 if (vma->vm_flags & VM_USER) in mm_map_vma() 426 if (vma->vm_flags & VM_USER) in mm_map_vma() 441 if (vma->vm_flags & VM_USER) in mm_map_vma()
|
D | mm.h | 310 #define VM_USER (1 << 7) // 该vma可被用户态访问 macro
|
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.2/kernel/src/process/ |
D | process.c | 266 … mm_create_vma(current_pcb->mm, virt_base, PAGE_2M_SIZE, VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file() 288 … int val = mm_create_vma(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, VM_USER | VM_ACCESS_FLAGS, in process_load_elf_file() 326 VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file()
|