VM_WRITE 93 arch/alpha/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 140 arch/alpha/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_WRITE))) VM_WRITE 143 arch/alpha/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 105 arch/arc/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) VM_WRITE 119 arch/arc/mm/fault.c mask = VM_WRITE; VM_WRITE 166 arch/arm/include/asm/page.h VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) VM_WRITE 192 arch/arm/mm/fault.c unsigned int mask = VM_READ | VM_WRITE | VM_EXEC; VM_WRITE 195 arch/arm/mm/fault.c mask = VM_WRITE; VM_WRITE 37 arch/arm64/include/asm/page.h VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) VM_WRITE 457 arch/arm64/mm/fault.c unsigned long vm_flags = VM_READ | VM_WRITE | VM_EXEC; VM_WRITE 477 arch/arm64/mm/fault.c vm_flags = VM_WRITE; VM_WRITE 6 arch/c6x/include/asm/page.h (VM_READ | VM_WRITE | \ VM_WRITE 60 arch/c6x/include/asm/processor.h &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, \ VM_WRITE 88 arch/csky/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 137 arch/csky/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 140 arch/csky/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) VM_WRITE 9 arch/h8300/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 96 arch/hexagon/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | \ VM_WRITE 86 arch/hexagon/mm/vm_fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 221 arch/ia64/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | \ VM_WRITE 102 arch/ia64/mm/fault.c if (mask & VM_WRITE) VM_WRITE 126 arch/ia64/mm/fault.c # if (((1 << VM_READ_BIT) != VM_READ || (1 << VM_WRITE_BIT) != VM_WRITE) \ VM_WRITE 131 arch/ia64/mm/fault.c if (((isr >> IA64_ISR_R_BIT) & 1UL) && (!(vma->vm_flags & (VM_READ | VM_WRITE)))) VM_WRITE 55 arch/m68k/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 121 arch/m68k/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 128 arch/m68k/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE))) VM_WRITE 203 arch/microblaze/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 201 arch/microblaze/mm/fault.c if (unlikely(!(vma->vm_flags & VM_WRITE))) VM_WRITE 257 arch/mips/include/asm/page.h (VM_READ | VM_WRITE | \ VM_WRITE 118 arch/mips/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 145 arch/mips/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) VM_WRITE 65 arch/nds32/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 78 arch/nds32/mm/fault.c unsigned int mask = VM_READ | VM_WRITE | VM_EXEC; VM_WRITE 172 arch/nds32/mm/fault.c mask = VM_READ | VM_WRITE; VM_WRITE 180 arch/nds32/mm/fault.c mask = VM_WRITE; VM_WRITE 187 arch/nds32/mm/fault.c mask = VM_WRITE; VM_WRITE 101 arch/nios2/include/asm/page.h # define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | \ VM_WRITE 54 arch/nios2/include/asm/processor.h { &init_mm, (0), (0), __pgprot(0x0), VM_READ | VM_WRITE | VM_EXEC } VM_WRITE 123 arch/nios2/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 90 arch/openrisc/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 143 arch/openrisc/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 177 arch/parisc/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 63 arch/parisc/mm/fault.c return VM_WRITE; VM_WRITE 68 arch/parisc/mm/fault.c return VM_WRITE; VM_WRITE 92 arch/parisc/mm/fault.c return VM_WRITE; VM_WRITE 107 arch/parisc/mm/fault.c return VM_WRITE; VM_WRITE 282 arch/parisc/mm/fault.c if (acc_type & VM_WRITE) VM_WRITE 245 arch/powerpc/include/asm/page.h VM_READ | VM_WRITE | \ VM_WRITE 248 arch/powerpc/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS64 (VM_READ | VM_WRITE | \ VM_WRITE 97 arch/powerpc/include/asm/page_64.h #define VM_STACK_DEFAULT_FLAGS32 (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 100 arch/powerpc/include/asm/page_64.h #define VM_STACK_DEFAULT_FLAGS64 (VM_READ | VM_WRITE | \ VM_WRITE 603 arch/powerpc/kvm/book3s_64_mmu_hv.c write_ok = vma->vm_flags & VM_WRITE; VM_WRITE 328 arch/powerpc/mm/book3s64/pkeys.c if ((vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)) != VM_EXEC) VM_WRITE 51 arch/powerpc/mm/copro_fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 312 arch/powerpc/mm/fault.c !(vma->vm_flags & (VM_READ | VM_WRITE))); VM_WRITE 316 arch/powerpc/mm/fault.c if (unlikely(!(vma->vm_flags & VM_WRITE))) VM_WRITE 321 arch/powerpc/mm/fault.c if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) VM_WRITE 262 arch/powerpc/platforms/cell/spufs/file.c if (write && !(vma->vm_flags & VM_WRITE)) VM_WRITE 124 arch/riscv/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | \ VM_WRITE 100 arch/riscv/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 179 arch/s390/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | \ VM_WRITE 435 arch/s390/mm/fault.c if (access == VM_WRITE || (trans_exc_code & store_indication) == 0x400) VM_WRITE 574 arch/s390/mm/fault.c access = VM_WRITE; VM_WRITE 587 arch/s390/mm/fault.c access = VM_READ | VM_EXEC | VM_WRITE; VM_WRITE 177 arch/s390/pci/pci_mmio.c ret = get_pfn(mmio_addr, VM_WRITE, &pfn); VM_WRITE 185 arch/sh/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 124 arch/sh/include/asm/processor_64.h { &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } VM_WRITE 347 arch/sh/mm/fault.c if (unlikely(!(vma->vm_flags & VM_WRITE))) VM_WRITE 358 arch/sh/mm/fault.c if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) VM_WRITE 136 arch/sparc/include/asm/page_32.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 161 arch/sparc/include/asm/page_64.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 220 arch/sparc/mm/fault_32.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 401 arch/sparc/mm/fault_32.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 346 arch/sparc/mm/fault_64.c (vma->vm_flags & VM_WRITE) != 0) { VM_WRITE 403 arch/sparc/mm/fault_64.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 65 arch/um/kernel/trap.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 73 arch/unicore32/include/asm/page.h (VM_READ | VM_WRITE | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) VM_WRITE 152 arch/unicore32/mm/fault.c unsigned int mask = VM_READ | VM_WRITE | VM_EXEC; VM_WRITE 155 arch/unicore32/mm/fault.c mask = VM_WRITE; VM_WRITE 40 arch/x86/include/asm/page_types.h VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) VM_WRITE 1214 arch/x86/mm/fault.c if (unlikely(!(vma->vm_flags & VM_WRITE))) VM_WRITE 1224 arch/x86/mm/fault.c if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) VM_WRITE 66 arch/x86/mm/pkeys.c if ((vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)) != VM_EXEC) VM_WRITE 13 arch/x86/um/asm/vm-flags.h (VM_READ | VM_WRITE | \ VM_WRITE 19 arch/x86/um/asm/vm-flags.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 21 arch/x86/um/asm/vm-flags.h #define VM_STACK_DEFAULT_FLAGS (VM_GROWSDOWN | VM_READ | VM_WRITE | \ VM_WRITE 195 arch/xtensa/include/asm/page.h #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_WRITE 97 arch/xtensa/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 104 arch/xtensa/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_WRITE))) VM_WRITE 100 drivers/android/binder.c #define FORBIDDEN_MMAP_FLAGS (VM_WRITE) VM_WRITE 194 drivers/char/mspec.c if ((vma->vm_flags & VM_WRITE) == 0) VM_WRITE 154 drivers/char/uv_mmtimer.c if (vma->vm_flags & VM_WRITE) VM_WRITE 774 drivers/fpga/dfl-afu-main.c if ((vma->vm_flags & VM_WRITE) && VM_WRITE 917 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (is_write_requested && !(vma->vm_flags & VM_WRITE)) VM_WRITE 1187 drivers/gpu/drm/drm_gem.c if (vma->vm_flags & VM_WRITE) { VM_WRITE 487 drivers/gpu/drm/drm_vm.c vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE); VM_WRITE 571 drivers/gpu/drm/drm_vm.c vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE); VM_WRITE 226 drivers/gpu/drm/i915/gem/i915_gem_mman.c bool write = area->vm_flags & VM_WRITE; VM_WRITE 717 drivers/gpu/drm/vc4/vc4_bo.c if (bo->validated_shader && (vma->vm_flags & VM_WRITE)) { VM_WRITE 762 drivers/gpu/drm/vc4/vc4_bo.c if (bo->validated_shader && (vma->vm_flags & VM_WRITE)) { VM_WRITE 900 drivers/infiniband/core/uverbs_main.c if (!(vmf->vma->vm_flags & (VM_WRITE | VM_MAYWRITE))) { VM_WRITE 400 drivers/infiniband/hw/hfi1/file_ops.c if (flags & VM_WRITE) { VM_WRITE 443 drivers/infiniband/hw/hfi1/file_ops.c if (vma->vm_flags & VM_WRITE) { VM_WRITE 502 drivers/infiniband/hw/hfi1/file_ops.c if (flags & VM_WRITE) { VM_WRITE 519 drivers/infiniband/hw/hfi1/file_ops.c if ((flags & VM_WRITE) || !uctxt->rcvhdrtail_kvaddr) { VM_WRITE 392 drivers/infiniband/hw/mlx4/mr.c if (vma->vm_flags & VM_WRITE) VM_WRITE 2069 drivers/infiniband/hw/mlx5/main.c if (vma->vm_flags & (VM_WRITE | VM_EXEC)) VM_WRITE 2235 drivers/infiniband/hw/mlx5/main.c if (vma->vm_flags & VM_WRITE) VM_WRITE 728 drivers/infiniband/hw/qib/qib_file_ops.c if (vma->vm_flags & VM_WRITE) { VM_WRITE 847 drivers/infiniband/hw/qib/qib_file_ops.c if (vma->vm_flags & VM_WRITE) { VM_WRITE 936 drivers/infiniband/hw/qib/qib_file_ops.c if (vma->vm_flags & VM_WRITE) { VM_WRITE 467 drivers/iommu/amd_iommu_v2.c requested |= VM_WRITE; VM_WRITE 518 drivers/iommu/intel-svm.c requested |= VM_WRITE; VM_WRITE 2168 drivers/media/common/videobuf2/videobuf2-core.c if (!(vma->vm_flags & VM_WRITE)) { VM_WRITE 768 drivers/media/usb/stkwebcam/stk-webcam.c if (!(vma->vm_flags & VM_WRITE) || !(vma->vm_flags & VM_SHARED)) VM_WRITE 1015 drivers/media/usb/usbvision/usbvision-video.c if (!(vma->vm_flags & VM_WRITE) || VM_WRITE 1178 drivers/media/v4l2-core/videobuf-core.c if (!(vma->vm_flags & VM_WRITE) || !(vma->vm_flags & VM_SHARED)) { VM_WRITE 1679 drivers/misc/mic/scif/scif_dma.c remote_req.prot = dir == SCIF_LOCAL_TO_REMOTE ? VM_WRITE : VM_READ; VM_WRITE 1708 drivers/misc/mic/scif/scif_dma.c VM_READ : VM_WRITE | VM_READ); VM_WRITE 1746 drivers/misc/mic/scif/scif_dma.c req.prot = dir == SCIF_LOCAL_TO_REMOTE ? VM_READ : VM_WRITE; VM_WRITE 565 drivers/misc/mic/scif/scif_mmap.c req.prot = vma->vm_flags & (VM_READ | VM_WRITE); VM_WRITE 637 drivers/misc/mic/scif/scif_mmap.c req.prot = vma->vm_flags & (VM_READ | VM_WRITE); VM_WRITE 1085 drivers/misc/mic/vop/vop_vringh.c if (vma->vm_flags & VM_WRITE) { VM_WRITE 179 drivers/misc/ocxl/context.c !(vma->vm_flags & VM_WRITE)) VM_WRITE 96 drivers/misc/sgi-gru/grufile.c if ((vma->vm_flags & (VM_SHARED | VM_WRITE)) != (VM_SHARED | VM_WRITE)) VM_WRITE 48 drivers/sbus/char/flash.c (vma->vm_flags & VM_WRITE)) { VM_WRITE 55 drivers/sbus/char/flash.c } else if (vma->vm_flags & VM_WRITE) { VM_WRITE 390 drivers/sbus/char/oradax.c if (vma->vm_flags & VM_WRITE) VM_WRITE 2326 drivers/staging/comedi/comedi_fops.c if (vma->vm_flags & VM_WRITE) VM_WRITE 669 drivers/staging/gasket/apex_driver.c { APEX_BAR_BYTES, (VM_WRITE | VM_READ), APEX_BAR_OFFSET, VM_WRITE 677 drivers/staging/gasket/apex_driver.c (VM_WRITE | VM_READ), VM_WRITE 692 drivers/staging/gasket/gasket_core.c (vma->vm_flags & (VM_WRITE | VM_READ | VM_EXEC)); VM_WRITE 702 drivers/staging/gasket/gasket_core.c if ((vma->vm_flags & VM_WRITE) && VM_WRITE 603 drivers/vfio/platform/vfio_platform_common.c && (vma->vm_flags & VM_WRITE)) VM_WRITE 1078 drivers/xen/gntdev.c if ((vma->vm_flags & VM_WRITE) && !(vma->vm_flags & VM_SHARED)) VM_WRITE 1110 drivers/xen/gntdev.c if ((vma->vm_flags & VM_WRITE) && VM_WRITE 1115 drivers/xen/gntdev.c if (!(vma->vm_flags & VM_WRITE)) VM_WRITE 517 fs/9p/vfs_file.c (vma->vm_flags & VM_WRITE)) { VM_WRITE 2314 fs/binfmt_elf.c if (vma->vm_flags & VM_WRITE) VM_WRITE 1741 fs/binfmt_elf_fdpic.c if (vma->vm_flags & VM_WRITE) VM_WRITE 375 fs/cramfs/inode.c if (vma->vm_flags & VM_WRITE) VM_WRITE 185 fs/hugetlbfs/inode.c if (vma->vm_flags & VM_WRITE && inode->i_size < len) VM_WRITE 55 fs/proc/nommu.c flags & VM_WRITE ? 'w' : '-', VM_WRITE 289 fs/proc/task_mmu.c seq_putc(m, flags & VM_WRITE ? 'w' : '-'); VM_WRITE 645 fs/proc/task_mmu.c [ilog2(VM_WRITE)] = "wr", VM_WRITE 770 fs/proc/task_mmu.c !(vma->vm_flags & VM_WRITE)) { VM_WRITE 170 fs/proc/task_nommu.c flags & VM_WRITE ? 'w' : '-', VM_WRITE 563 fs/proc/vmcore.c if (vma->vm_flags & (VM_WRITE | VM_EXEC)) VM_WRITE 844 include/linux/mm.h if (likely(vma->vm_flags & VM_WRITE)) VM_WRITE 120 include/linux/mman.h _calc_vm_trans(prot, PROT_WRITE, VM_WRITE) | VM_WRITE 135 include/trace/events/mmflags.h {VM_WRITE, "write" }, \ VM_WRITE 5868 kernel/events/core.c if (vma->vm_flags & VM_WRITE) VM_WRITE 7455 kernel/events/core.c if (vma->vm_flags & VM_WRITE) VM_WRITE 126 kernel/events/uprobes.c flags |= VM_WRITE; VM_WRITE 356 kernel/events/uprobes.c (vma->vm_flags & (VM_WRITE|VM_SHARED)) == VM_WRITE && VM_WRITE 1378 kernel/events/uprobes.c (vma->vm_flags & (VM_WRITE|VM_SHARED)) == VM_WRITE && VM_WRITE 2565 kernel/sched/fair.c (vma->vm_file && (vma->vm_flags & (VM_READ|VM_WRITE)) == (VM_READ))) VM_WRITE 2572 kernel/sched/fair.c if (!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE))) VM_WRITE 680 mm/gup.c if ((ret & VM_FAULT_WRITE) && !(vma->vm_flags & VM_WRITE)) VM_WRITE 698 mm/gup.c if (!(vm_flags & VM_WRITE)) { VM_WRITE 915 mm/gup.c vm_flags_t vm_flags = write ? VM_WRITE : VM_READ; VM_WRITE 1224 mm/gup.c if ((vma->vm_flags & (VM_WRITE | VM_SHARED)) == VM_WRITE) VM_WRITE 1231 mm/gup.c if (vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)) VM_WRITE 1345 mm/gup.c (VM_WRITE | VM_MAYWRITE) : (VM_READ | VM_MAYREAD); VM_WRITE 1347 mm/gup.c (VM_MAYREAD | VM_MAYWRITE) : (VM_READ | VM_WRITE); VM_WRITE 295 mm/hmm.c if (write_fault && walk->vma && !(walk->vma->vm_flags & VM_WRITE)) VM_WRITE 486 mm/huge_memory.c if (likely(vma->vm_flags & VM_WRITE)) VM_WRITE 853 mm/huge_memory.c if (likely(vma->vm_flags & VM_WRITE)) VM_WRITE 4060 mm/hugetlb.c new_pte = make_huge_pte(vma, page, ((vma->vm_flags & VM_WRITE) VM_WRITE 4357 mm/hugetlb.c _dst_pte = make_huge_pte(dst_vma, page, dst_vma->vm_flags & VM_WRITE); VM_WRITE 4358 mm/hugetlb.c if (dst_vma->vm_flags & VM_WRITE) VM_WRITE 4365 mm/hugetlb.c dst_vma->vm_flags & VM_WRITE); VM_WRITE 269 mm/internal.h return (flags & (VM_EXEC | VM_WRITE | VM_STACK)) == VM_EXEC; VM_WRITE 288 mm/internal.h return (flags & (VM_WRITE | VM_SHARED | VM_STACK)) == VM_WRITE; VM_WRITE 839 mm/madvise.c if ((vma->vm_flags & (VM_SHARED|VM_WRITE)) != (VM_SHARED|VM_WRITE)) VM_WRITE 2577 mm/memory.c if ((vma->vm_flags & (VM_WRITE|VM_SHARED)) == VM_WRITE 2578 mm/memory.c (VM_WRITE|VM_SHARED)) VM_WRITE 2633 mm/memory.c } else if (unlikely((vma->vm_flags & (VM_WRITE|VM_SHARED)) == VM_WRITE 2634 mm/memory.c (VM_WRITE|VM_SHARED))) { VM_WRITE 3034 mm/memory.c if (vma->vm_flags & VM_WRITE) VM_WRITE 3779 mm/memory.c return vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE); VM_WRITE 646 mm/mempolicy.c (vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)) && VM_WRITE 2772 mm/migrate.c swp_entry = make_device_private_entry(page, vma->vm_flags & VM_WRITE); VM_WRITE 2777 mm/migrate.c if (vma->vm_flags & VM_WRITE) VM_WRITE 109 mm/mmap.c (VM_READ|VM_WRITE|VM_EXEC|VM_SHARED)]) | VM_WRITE 1246 mm/mmap.c !((a->vm_flags ^ b->vm_flags) & ~(VM_READ|VM_WRITE|VM_EXEC|VM_SOFTDIRTY)) && VM_WRITE 1669 mm/mmap.c if ((vm_flags & (VM_WRITE|VM_SHARED)) != ((VM_WRITE|VM_SHARED))) VM_WRITE 1708 mm/mmap.c return (vm_flags & (VM_NORESERVE | VM_SHARED | VM_WRITE)) == VM_WRITE; VM_WRITE 2364 mm/mmap.c (next->vm_flags & (VM_WRITE|VM_READ|VM_EXEC))) { VM_WRITE 2445 mm/mmap.c (prev->vm_flags & (VM_WRITE|VM_READ|VM_EXEC))) { VM_WRITE 2950 mm/mmap.c prot |= vma->vm_flags & VM_WRITE ? PROT_WRITE : 0; VM_WRITE 396 mm/mprotect.c (newflags & (VM_READ|VM_WRITE|VM_EXEC)) == 0) { VM_WRITE 411 mm/mprotect.c if (newflags & VM_WRITE) { VM_WRITE 416 mm/mprotect.c if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| VM_WRITE 468 mm/mprotect.c if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && VM_WRITE 469 mm/mprotect.c (newflags & VM_WRITE)) { VM_WRITE 567 mm/mprotect.c mask_off_old_flags = VM_READ | VM_WRITE | VM_EXEC | VM_WRITE 575 mm/mprotect.c if ((newflags & ~(newflags >> 4)) & (VM_READ | VM_WRITE | VM_EXEC)) { VM_WRITE 2217 mm/shmem.c if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_WRITE)) VM_WRITE 2383 mm/shmem.c if (dst_vma->vm_flags & VM_WRITE) VM_WRITE 73 mm/userfaultfd.c if (dst_vma->vm_flags & VM_WRITE) VM_WRITE 1734 net/ipv4/tcp.c if (vma->vm_flags & (VM_WRITE | VM_EXEC)) VM_WRITE 257 security/selinux/selinuxfs.c if (vma->vm_flags & VM_WRITE) VM_WRITE 487 security/selinux/selinuxfs.c if (vma->vm_flags & VM_WRITE) VM_WRITE 2844 sound/core/oss/pcm_oss.c switch ((area->vm_flags & (VM_READ | VM_WRITE))) { VM_WRITE 2845 sound/core/oss/pcm_oss.c case VM_READ | VM_WRITE: VM_WRITE 2853 sound/core/oss/pcm_oss.c case VM_WRITE: VM_WRITE 3478 sound/core/pcm_native.c if (!(area->vm_flags & (VM_WRITE|VM_READ))) VM_WRITE 236 sound/usb/usx2y/us122l.c if (read && area->vm_flags & VM_WRITE) { VM_WRITE 2322 virt/kvm/arm/mmu.c if (writable && !(vma->vm_flags & VM_WRITE)) { VM_WRITE 1588 virt/kvm/kvm_main.c if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE))))