Home
last modified time | relevance | path

Searched refs:VM_WRITE (Results 1 – 25 of 127) sorted by relevance

123456

/Linux-v5.4/arch/x86/um/asm/
Dvm-flags.h13 (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/
Dfault.c63 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/
Dfault.c78 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/
Dpage_64.h97 #define VM_STACK_DEFAULT_FLAGS32 (VM_READ | VM_WRITE | VM_EXEC | \
100 #define VM_STACK_DEFAULT_FLAGS64 (VM_READ | VM_WRITE | \
Dpage.h245 VM_READ | VM_WRITE | \
248 #define VM_DATA_DEFAULT_FLAGS64 (VM_READ | VM_WRITE | \
/Linux-v5.4/mm/
Dmprotect.c362 (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()
Dinternal.h269 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/
Dfault.c102 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/
Dfault.c137 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/
Dfault.c121 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/
Dpage.h6 (VM_READ | VM_WRITE | \
Dprocessor.h60 &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, \
/Linux-v5.4/arch/alpha/mm/
Dfault.c140 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/
Dpage.h9 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
/Linux-v5.4/arch/arm64/include/asm/
Dpage.h37 VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
/Linux-v5.4/drivers/sbus/char/
Dflash.c48 (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/
Dfault.c97 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/
Dfault.c312 !(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/
Dprocessor.h54 { &init_mm, (0), (0), __pgprot(0x0), VM_READ | VM_WRITE | VM_EXEC }
/Linux-v5.4/arch/m68k/include/asm/
Dpage.h55 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
/Linux-v5.4/arch/mips/mm/
Dfault.c118 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/
Dpage_types.h40 VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
/Linux-v5.4/arch/unicore32/include/asm/
Dpage.h73 (VM_READ | VM_WRITE | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
/Linux-v5.4/arch/nds32/include/asm/
Dpage.h65 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
/Linux-v5.4/arch/openrisc/include/asm/
Dpage.h90 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \

123456