Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/arch/parisc/mm/
Dfault.c64 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/
Dfault.c107 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/
Dfault.c177 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/
Dfault.c433 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/
Dfault.c142 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/
Dmprotect.c446 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()
Dinternal.h441 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/
Dfault.c171 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/
Dflash.c45 (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/
Dfault.c99 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/
Dprocessor.h54 { &init_mm, (0), (0), __pgprot(0x0), VM_READ | VM_WRITE | VM_EXEC }
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dprocessor.h60 &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, \
/kernel/linux/linux-5.10/fs/proc/
Dnommu.c54 flags & VM_WRITE ? 'w' : '-', in nommu_region_show()
/kernel/linux/common_modules/xpm/core/
Dxpm_hck.c292 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/
Duv_mmtimer.c154 if (vma->vm_flags & VM_WRITE) in uv_mmtimer_mmap()
/kernel/linux/linux-5.10/include/linux/
Dmman.h142 _calc_vm_trans(prot, PROT_WRITE, VM_WRITE) | in calc_vm_prot_bits()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dfault.c267 !(vma->vm_flags & (VM_READ | VM_WRITE))); in access_error()
271 if (unlikely(!(vma->vm_flags & VM_WRITE))) in access_error()
Dcopro_fault.c51 if (!(vma->vm_flags & VM_WRITE)) in copro_handle_mm_fault()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dfault_32.c219 if (!(vma->vm_flags & VM_WRITE)) in do_sparc_fault()
393 if (!(vma->vm_flags & VM_WRITE)) in force_user_fault()
Dfault_64.c349 (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/
Di915_gem_mman.c246 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/
Dvm_fault.c88 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()
/kernel/linux/linux-5.10/arch/arc/mm/
Dfault.c125 mask = VM_WRITE; in do_page_fault()
/kernel/linux/linux-5.10/arch/m68k/mm/
Dfault.c123 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()
/kernel/linux/linux-5.10/arch/csky/mm/
Dfault.c141 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()

1234