| /Linux-v5.4/arch/x86/um/asm/ |
| D | vm-flags.h | 13 (VM_READ | VM_WRITE | \ 19 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ 21 #define VM_STACK_DEFAULT_FLAGS (VM_GROWSDOWN | VM_READ | VM_WRITE | \
|
| /Linux-v5.4/arch/parisc/mm/ |
| D | fault.c | 63 return VM_WRITE; in parisc_acctyp() 68 return VM_WRITE; in parisc_acctyp() 92 return VM_WRITE; in parisc_acctyp() 107 return VM_WRITE; in parisc_acctyp() 282 if (acc_type & VM_WRITE) in do_page_fault()
|
| /Linux-v5.4/arch/nds32/mm/ |
| D | fault.c | 78 unsigned int mask = VM_READ | VM_WRITE | VM_EXEC; in do_page_fault() 172 mask = VM_READ | VM_WRITE; in do_page_fault() 180 mask = VM_WRITE; in do_page_fault() 187 mask = VM_WRITE; in do_page_fault()
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | page_64.h | 97 #define VM_STACK_DEFAULT_FLAGS32 (VM_READ | VM_WRITE | VM_EXEC | \ 100 #define VM_STACK_DEFAULT_FLAGS64 (VM_READ | VM_WRITE | \
|
| D | page.h | 245 VM_READ | VM_WRITE | \ 248 #define VM_DATA_DEFAULT_FLAGS64 (VM_READ | VM_WRITE | \
|
| /Linux-v5.4/mm/ |
| D | mprotect.c | 362 (newflags & (VM_READ|VM_WRITE|VM_EXEC)) == 0) { in mprotect_fixup() 377 if (newflags & VM_WRITE) { in mprotect_fixup() 382 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup() 434 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup() 435 (newflags & VM_WRITE)) { in mprotect_fixup() 533 mask_off_old_flags = VM_READ | VM_WRITE | VM_EXEC | in do_mprotect_pkey() 541 if ((newflags & ~(newflags >> 4)) & (VM_READ | VM_WRITE | VM_EXEC)) { in do_mprotect_pkey()
|
| D | internal.h | 269 return (flags & (VM_EXEC | VM_WRITE | VM_STACK)) == VM_EXEC; in is_exec_mapping() 288 return (flags & (VM_WRITE | VM_SHARED | VM_STACK)) == VM_WRITE; in is_data_mapping()
|
| /Linux-v5.4/arch/ia64/mm/ |
| D | fault.c | 102 if (mask & VM_WRITE) in ia64_do_page_fault() 126 # if (((1 << VM_READ_BIT) != VM_READ || (1 << VM_WRITE_BIT) != VM_WRITE) \ in ia64_do_page_fault() 131 if (((isr >> IA64_ISR_R_BIT) & 1UL) && (!(vma->vm_flags & (VM_READ | VM_WRITE)))) in ia64_do_page_fault()
|
| /Linux-v5.4/arch/csky/mm/ |
| D | fault.c | 137 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault() 140 if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) in do_page_fault()
|
| /Linux-v5.4/arch/m68k/mm/ |
| D | fault.c | 121 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault() 128 if (!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE))) in do_page_fault()
|
| /Linux-v5.4/arch/c6x/include/asm/ |
| D | page.h | 6 (VM_READ | VM_WRITE | \
|
| D | processor.h | 60 &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, \
|
| /Linux-v5.4/arch/alpha/mm/ |
| D | fault.c | 140 if (!(vma->vm_flags & (VM_READ | VM_WRITE))) in do_page_fault() 143 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()
|
| /Linux-v5.4/arch/h8300/include/asm/ |
| D | page.h | 9 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
|
| /Linux-v5.4/arch/arm64/include/asm/ |
| D | page.h | 37 VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
|
| /Linux-v5.4/drivers/sbus/char/ |
| D | flash.c | 48 (vma->vm_flags & VM_WRITE)) { in flash_mmap() 55 } else if (vma->vm_flags & VM_WRITE) { in flash_mmap()
|
| /Linux-v5.4/arch/xtensa/mm/ |
| D | fault.c | 97 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault() 104 if (!(vma->vm_flags & (VM_READ | VM_WRITE))) in do_page_fault()
|
| /Linux-v5.4/arch/powerpc/mm/ |
| D | fault.c | 312 !(vma->vm_flags & (VM_READ | VM_WRITE))); in access_error() 316 if (unlikely(!(vma->vm_flags & VM_WRITE))) in access_error() 321 if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) in access_error()
|
| /Linux-v5.4/arch/nios2/include/asm/ |
| D | processor.h | 54 { &init_mm, (0), (0), __pgprot(0x0), VM_READ | VM_WRITE | VM_EXEC }
|
| /Linux-v5.4/arch/m68k/include/asm/ |
| D | page.h | 55 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
|
| /Linux-v5.4/arch/mips/mm/ |
| D | fault.c | 118 if (!(vma->vm_flags & VM_WRITE)) in __do_page_fault() 145 if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) in __do_page_fault()
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | page_types.h | 40 VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
|
| /Linux-v5.4/arch/unicore32/include/asm/ |
| D | page.h | 73 (VM_READ | VM_WRITE | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
|
| /Linux-v5.4/arch/nds32/include/asm/ |
| D | page.h | 65 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
|
| /Linux-v5.4/arch/openrisc/include/asm/ |
| D | page.h | 90 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
|