/kernel/linux/linux-5.10/arch/parisc/mm/ |
D | fault.c | 64 return VM_WRITE; in parisc_acctyp() 69 return VM_WRITE; in parisc_acctyp() 93 return VM_WRITE; in parisc_acctyp() 108 return VM_WRITE; in parisc_acctyp() 283 if (acc_type & VM_WRITE) in do_page_fault() 483 acc_type = (insn & 0x40) ? VM_WRITE : VM_READ; in handle_nadtlb_fault()
|
/kernel/linux/linux-5.10/arch/ia64/mm/ |
D | fault.c | 107 if (mask & VM_WRITE) in ia64_do_page_fault() 133 # if (((1 << VM_READ_BIT) != VM_READ || (1 << VM_WRITE_BIT) != VM_WRITE) \ in ia64_do_page_fault() 138 if (((isr >> IA64_ISR_R_BIT) & 1UL) && (!(vma->vm_flags & (VM_READ | VM_WRITE)))) in ia64_do_page_fault()
|
/kernel/linux/linux-5.10/arch/nds32/mm/ |
D | fault.c | 177 mask = VM_READ | VM_WRITE; in do_page_fault() 185 mask = VM_WRITE; in do_page_fault() 192 mask = VM_WRITE; in do_page_fault()
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | fault.c | 433 access = VM_WRITE; in do_exception() 434 if (access == VM_WRITE) in do_exception() 555 access = VM_WRITE; in do_protection_exception() 843 do_fault_error(regs, VM_READ | VM_WRITE, VM_FAULT_BADMAP); in do_secure_storage_access() 868 do_fault_error(regs, VM_READ | VM_WRITE, VM_FAULT_BADMAP); in do_secure_storage_access() 880 do_fault_error(regs, VM_READ | VM_WRITE, VM_FAULT_BADMAP); in do_non_secure_storage_access()
|
/kernel/linux/linux-5.10/arch/alpha/mm/ |
D | fault.c | 142 if (!(vma->vm_flags & (VM_READ | VM_WRITE))) in do_page_fault() 145 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()
|
/kernel/linux/linux-5.10/mm/ |
D | mprotect.c | 446 if (newflags & VM_WRITE) { in mprotect_fixup() 451 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup() 503 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup() 504 (newflags & VM_WRITE)) { in mprotect_fixup() 607 mask_off_old_flags = VM_READ | VM_WRITE | VM_EXEC | in do_mprotect_pkey()
|
D | internal.h | 441 return (flags & (VM_EXEC | VM_WRITE | VM_STACK)) == VM_EXEC; in is_exec_mapping() 460 return (flags & (VM_WRITE | VM_SHARED | VM_STACK)) == VM_WRITE; in is_data_mapping()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | fault.c | 171 if (!(vma->vm_flags & (VM_READ | VM_WRITE))) { in access_error() 176 if (!(vma->vm_flags & VM_WRITE)) { in access_error()
|
/kernel/linux/linux-5.10/drivers/sbus/char/ |
D | flash.c | 45 (vma->vm_flags & VM_WRITE)) { in flash_mmap() 52 } else if (vma->vm_flags & VM_WRITE) { in flash_mmap()
|
/kernel/linux/linux-5.10/arch/xtensa/mm/ |
D | fault.c | 99 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault() 106 if (!(vma->vm_flags & (VM_READ | VM_WRITE))) in do_page_fault()
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | processor.h | 54 { &init_mm, (0), (0), __pgprot(0x0), VM_READ | VM_WRITE | VM_EXEC }
|
/kernel/linux/linux-5.10/arch/c6x/include/asm/ |
D | processor.h | 60 &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, \
|
/kernel/linux/linux-5.10/fs/proc/ |
D | nommu.c | 54 flags & VM_WRITE ? 'w' : '-', in nommu_region_show()
|
/kernel/linux/common_modules/xpm/core/ |
D | xpm_hck.c | 292 if ((vflags & FAULT_FLAG_WRITE) && (vma->vm_flags & VM_WRITE) && in xpm_integrity_check() 311 if ((vflags & FAULT_FLAG_WRITE) && (vma->vm_flags & VM_WRITE) && in xpm_integrity_update()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | uv_mmtimer.c | 154 if (vma->vm_flags & VM_WRITE) in uv_mmtimer_mmap()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mman.h | 142 _calc_vm_trans(prot, PROT_WRITE, VM_WRITE) | in calc_vm_prot_bits()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | fault.c | 267 !(vma->vm_flags & (VM_READ | VM_WRITE))); in access_error() 271 if (unlikely(!(vma->vm_flags & VM_WRITE))) in access_error()
|
D | copro_fault.c | 51 if (!(vma->vm_flags & VM_WRITE)) in copro_handle_mm_fault()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
D | fault_32.c | 219 if (!(vma->vm_flags & VM_WRITE)) in do_sparc_fault() 393 if (!(vma->vm_flags & VM_WRITE)) in force_user_fault()
|
D | fault_64.c | 349 (vma->vm_flags & VM_WRITE) != 0) { in do_sparc64_fault() 406 if (!(vma->vm_flags & VM_WRITE)) in do_sparc64_fault()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 246 area->vm_flags & VM_WRITE)) in vm_fault_cpu() 264 if (area->vm_flags & VM_WRITE) { in vm_fault_cpu() 285 bool write = area->vm_flags & VM_WRITE; in vm_fault_gtt() 872 if (vma->vm_flags & VM_WRITE) { in i915_gem_mmap()
|
/kernel/linux/linux-5.10/arch/hexagon/mm/ |
D | vm_fault.c | 88 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()
|
/kernel/linux/linux-5.10/arch/arc/mm/ |
D | fault.c | 125 mask = VM_WRITE; in do_page_fault()
|
/kernel/linux/linux-5.10/arch/m68k/mm/ |
D | fault.c | 123 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()
|
/kernel/linux/linux-5.10/arch/csky/mm/ |
D | fault.c | 141 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()
|