vm_flags 54 arch/alpha/include/asm/cacheflush.h if (vma->vm_flags & VM_EXEC) { vm_flags 44 arch/alpha/include/asm/tlbflush.h if (vma->vm_flags & VM_EXEC) { vm_flags 56 arch/alpha/include/asm/tlbflush.h if (vma->vm_flags & VM_EXEC) vm_flags 748 arch/alpha/kernel/smp.c if ((vma->vm_flags & VM_EXEC) == 0) vm_flags 126 arch/alpha/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 136 arch/alpha/mm/fault.c if (!(vma->vm_flags & VM_EXEC)) vm_flags 140 arch/alpha/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_WRITE))) vm_flags 143 arch/alpha/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 110 arch/arc/include/asm/cacheflush.h if (vma->vm_flags & VM_EXEC) \ vm_flags 1049 arch/arc/mm/cache.c if (vma->vm_flags & VM_EXEC) vm_flags 110 arch/arc/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN) || expand_stack(vma, address)) vm_flags 123 arch/arc/mm/fault.c if (!(vma->vm_flags & mask)) { vm_flags 618 arch/arc/mm/tlb.c if ((vma->vm_flags & VM_EXEC) || vm_flags 627 arch/arc/mm/tlb.c if (vma->vm_flags & VM_EXEC) vm_flags 231 arch/arm/include/asm/cacheflush.h vma->vm_flags); vm_flags 241 arch/arm/include/asm/cacheflush.h __cpuc_flush_user_range(addr, addr + PAGE_SIZE, vma->vm_flags); vm_flags 126 arch/arm/kernel/asm-offsets.c DEFINE(VMA_VM_FLAGS, offsetof(struct vm_area_struct, vm_flags)); vm_flags 337 arch/arm/kernel/process.c gate_vma.vm_flags = VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYEXEC; vm_flags 154 arch/arm/mm/fault-armv.c if (!(mpnt->vm_flags & VM_MAYSHARE)) vm_flags 201 arch/arm/mm/fault-armv.c else if (vma->vm_flags & VM_EXEC) vm_flags 199 arch/arm/mm/fault.c return vma->vm_flags & mask ? false : true; vm_flags 230 arch/arm/mm/fault.c if (vma->vm_flags & VM_GROWSDOWN && vm_flags 94 arch/arm/mm/flush.c if (vma->vm_flags & VM_EXEC) vm_flags 110 arch/arm/mm/flush.c if (vma->vm_flags & VM_EXEC && icache_is_vivt_asid_tagged()) vm_flags 165 arch/arm/mm/flush.c if (vma->vm_flags & VM_EXEC) vm_flags 260 arch/arm/mm/flush.c if (!(mpnt->vm_flags & VM_MAYSHARE)) vm_flags 180 arch/arm/mm/nommu.c if (vma->vm_flags & VM_EXEC) vm_flags 77 arch/arm64/kernel/asm-offsets.c DEFINE(VMA_VM_FLAGS, offsetof(struct vm_area_struct, vm_flags)); vm_flags 410 arch/arm64/mm/fault.c unsigned int mm_flags, unsigned long vm_flags) vm_flags 422 arch/arm64/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 432 arch/arm64/mm/fault.c if (!(vma->vm_flags & vm_flags)) vm_flags 457 arch/arm64/mm/fault.c unsigned long vm_flags = VM_READ | VM_WRITE | VM_EXEC; vm_flags 474 arch/arm64/mm/fault.c vm_flags = VM_EXEC; vm_flags 477 arch/arm64/mm/fault.c vm_flags = VM_WRITE; vm_flags 522 arch/arm64/mm/fault.c fault = __do_page_fault(mm, addr, mm_flags, vm_flags); vm_flags 37 arch/arm64/mm/flush.c if (vma->vm_flags & VM_EXEC) vm_flags 542 arch/arm64/mm/mmu.c int flags, unsigned long vm_flags) vm_flags 553 arch/arm64/mm/mmu.c if (!(vm_flags & VM_NO_GUARD)) vm_flags 559 arch/arm64/mm/mmu.c vma->flags = VM_MAP | vm_flags; vm_flags 45 arch/c6x/include/asm/cacheflush.h if ((vma)->vm_flags & PROT_EXEC) \ vm_flags 53 arch/csky/abiv1/cacheflush.c if (vma->vm_flags & VM_EXEC) vm_flags 74 arch/csky/abiv1/cacheflush.c if (vma->vm_flags & VM_EXEC) vm_flags 19 arch/csky/abiv2/inc/abi/cacheflush.h if (vma->vm_flags & VM_EXEC) \ vm_flags 125 arch/csky/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 137 arch/csky/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 140 arch/csky/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) vm_flags 122 arch/hexagon/mm/cache.c if (vma->vm_flags & VM_EXEC) { vm_flags 66 arch/hexagon/mm/vm_fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 78 arch/hexagon/mm/vm_fault.c if (!(vma->vm_flags & VM_EXEC)) vm_flags 82 arch/hexagon/mm/vm_fault.c if (!(vma->vm_flags & VM_READ)) vm_flags 86 arch/hexagon/mm/vm_fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 2244 arch/ia64/kernel/perfmon.c vma->vm_flags = VM_READ|VM_MAYREAD|VM_DONTEXPAND|VM_DONTDUMP; vm_flags 2288 arch/ia64/kernel/perfmon.c vm_stat_account(vma->vm_mm, vma->vm_flags, vma_pages(vma)); vm_flags 131 arch/ia64/mm/fault.c if (((isr >> IA64_ISR_R_BIT) & 1UL) && (!(vma->vm_flags & (VM_READ | VM_WRITE)))) vm_flags 134 arch/ia64/mm/fault.c if ((vma->vm_flags & mask) != mask) vm_flags 186 arch/ia64/mm/fault.c if (!(prev_vma && (prev_vma->vm_flags & VM_GROWSUP) && (address == prev_vma->vm_end))) { vm_flags 189 arch/ia64/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 119 arch/ia64/mm/init.c vma->vm_flags = VM_DATA_DEFAULT_FLAGS|VM_GROWSUP|VM_ACCOUNT; vm_flags 120 arch/ia64/mm/init.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 137 arch/ia64/mm/init.c vma->vm_flags = VM_READ | VM_MAYREAD | VM_IO | vm_flags 278 arch/ia64/mm/init.c gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; vm_flags 94 arch/m68k/mm/fault.c if (vma->vm_flags & VM_IO) vm_flags 98 arch/m68k/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 121 arch/m68k/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 128 arch/m68k/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE))) vm_flags 111 arch/microblaze/include/asm/cacheflush.h if (vma->vm_flags & VM_EXEC) { vm_flags 155 arch/microblaze/mm/fault.c if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) vm_flags 201 arch/microblaze/mm/fault.c if (unlikely(!(vma->vm_flags & VM_WRITE))) vm_flags 209 arch/microblaze/mm/fault.c if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC)))) vm_flags 334 arch/microblaze/pci/pci-common.c if (vma->vm_flags & VM_SHARED) vm_flags 599 arch/mips/kernel/smp.c int exec = vma->vm_flags & VM_EXEC; vm_flags 140 arch/mips/mm/c-octeon.c if (vma->vm_flags & VM_EXEC) vm_flags 155 arch/mips/mm/c-octeon.c if (vma->vm_flags & VM_EXEC) vm_flags 241 arch/mips/mm/c-r3k.c int exec = vma->vm_flags & VM_EXEC; vm_flags 579 arch/mips/mm/c-r4k.c int exec = vma->vm_flags & VM_EXEC; vm_flags 599 arch/mips/mm/c-r4k.c int exec = vma->vm_flags & VM_EXEC; vm_flags 649 arch/mips/mm/c-r4k.c int exec = vma->vm_flags & VM_EXEC; vm_flags 170 arch/mips/mm/c-tx39.c int exec = vma->vm_flags & VM_EXEC; vm_flags 106 arch/mips/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 118 arch/mips/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 123 arch/mips/mm/fault.c if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { vm_flags 133 arch/mips/mm/fault.c if (!(vma->vm_flags & VM_READ) && vm_flags 145 arch/mips/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))) vm_flags 209 arch/mips/mm/init.c if (vma->vm_flags & VM_EXEC) vm_flags 51 arch/mips/mm/tlb-r4k.c if (vma->vm_flags & VM_EXEC) vm_flags 34 arch/nds32/mm/cacheflush.c cpu_cache_wbinval_page(kaddr, vma->vm_flags & VM_EXEC); vm_flags 69 arch/nds32/mm/cacheflush.c (vma->vm_flags & VM_EXEC)) { vm_flags 73 arch/nds32/mm/cacheflush.c cpu_cache_wbinval_page(kaddr, vma->vm_flags & VM_EXEC); vm_flags 140 arch/nds32/mm/cacheflush.c if (vma->vm_flags & VM_EXEC) vm_flags 147 arch/nds32/mm/cacheflush.c cpu_cache_wbinval_page(start, vma->vm_flags & VM_EXEC); vm_flags 161 arch/nds32/mm/cacheflush.c cpu_cache_wbinval_page(vto, vma->vm_flags & VM_EXEC); vm_flags 275 arch/nds32/mm/cacheflush.c if (vma->vm_flags & VM_EXEC) { vm_flags 311 arch/nds32/mm/cacheflush.c if (vma->vm_flags & VM_EXEC) vm_flags 153 arch/nds32/mm/fault.c if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) vm_flags 197 arch/nds32/mm/fault.c if (!(vma->vm_flags & mask)) vm_flags 87 arch/nios2/mm/cacheflush.c if (!(mpnt->vm_flags & VM_MAYSHARE)) vm_flags 136 arch/nios2/mm/cacheflush.c if (vma == NULL || (vma->vm_flags & VM_EXEC)) vm_flags 156 arch/nios2/mm/cacheflush.c if (vma->vm_flags & VM_EXEC) vm_flags 228 arch/nios2/mm/cacheflush.c if (vma->vm_flags & VM_EXEC) vm_flags 259 arch/nios2/mm/cacheflush.c if (vma->vm_flags & VM_EXEC) vm_flags 270 arch/nios2/mm/cacheflush.c if (vma->vm_flags & VM_EXEC) vm_flags 98 arch/nios2/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 115 arch/nios2/mm/fault.c if (!(vma->vm_flags & VM_EXEC)) vm_flags 119 arch/nios2/mm/fault.c if (!(vma->vm_flags & VM_READ)) vm_flags 123 arch/nios2/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 85 arch/openrisc/include/asm/cacheflush.h if (vma->vm_flags & VM_EXEC) \ vm_flags 54 arch/openrisc/mm/cache.c if ((vma->vm_flags & VM_EXEC) && dirty) vm_flags 116 arch/openrisc/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 143 arch/openrisc/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 148 arch/openrisc/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_EXEC))) vm_flags 309 arch/parisc/kernel/cache.c if (vma->vm_flags & VM_EXEC) vm_flags 320 arch/parisc/kernel/cache.c if (vma->vm_flags & VM_EXEC) vm_flags 565 arch/parisc/kernel/cache.c if (vma->vm_flags & VM_EXEC) vm_flags 611 arch/parisc/kernel/cache.c if (vma->vm_flags & VM_EXEC) vm_flags 723 arch/parisc/kernel/traps.c && (vma->vm_flags & VM_EXEC)) { vm_flags 296 arch/parisc/mm/fault.c if ((vma->vm_flags & acc_type) != acc_type) vm_flags 370 arch/parisc/mm/fault.c if ((vma->vm_flags & acc_type) != acc_type) { vm_flags 31 arch/powerpc/include/asm/mman.h static inline pgprot_t arch_vm_get_page_prot(unsigned long vm_flags) vm_flags 34 arch/powerpc/include/asm/mman.h return (vm_flags & VM_SAO) ? vm_flags 35 arch/powerpc/include/asm/mman.h __pgprot(_PAGE_SAO | vmflag_to_pte_pkey_bits(vm_flags)) : vm_flags 36 arch/powerpc/include/asm/mman.h __pgprot(0 | vmflag_to_pte_pkey_bits(vm_flags)); vm_flags 38 arch/powerpc/include/asm/mman.h return (vm_flags & VM_SAO) ? __pgprot(_PAGE_SAO) : __pgprot(0); vm_flags 41 arch/powerpc/include/asm/mman.h #define arch_vm_get_page_prot(vm_flags) arch_vm_get_page_prot(vm_flags) vm_flags 33 arch/powerpc/include/asm/pkeys.h static inline u64 vmflag_to_pte_pkey_bits(u64 vm_flags) vm_flags 38 arch/powerpc/include/asm/pkeys.h return (((vm_flags & VM_PKEY_BIT0) ? H_PTE_PKEY_BIT4 : 0x0UL) | vm_flags 39 arch/powerpc/include/asm/pkeys.h ((vm_flags & VM_PKEY_BIT1) ? H_PTE_PKEY_BIT3 : 0x0UL) | vm_flags 40 arch/powerpc/include/asm/pkeys.h ((vm_flags & VM_PKEY_BIT2) ? H_PTE_PKEY_BIT2 : 0x0UL) | vm_flags 41 arch/powerpc/include/asm/pkeys.h ((vm_flags & VM_PKEY_BIT3) ? H_PTE_PKEY_BIT1 : 0x0UL) | vm_flags 42 arch/powerpc/include/asm/pkeys.h ((vm_flags & VM_PKEY_BIT4) ? H_PTE_PKEY_BIT0 : 0x0UL)); vm_flags 49 arch/powerpc/include/asm/pkeys.h return (vma->vm_flags & ARCH_VM_PKEY_FLAGS) >> VM_PKEY_SHIFT; vm_flags 595 arch/powerpc/kernel/pci-common.c if (vma->vm_flags & VM_SHARED) vm_flags 598 arch/powerpc/kvm/book3s_64_mmu_hv.c (vma->vm_flags & VM_PFNMAP)) { vm_flags 603 arch/powerpc/kvm/book3s_64_mmu_hv.c write_ok = vma->vm_flags & VM_WRITE; vm_flags 4620 arch/powerpc/kvm/book3s_hv.c if (!vma || vma->vm_start > hva || (vma->vm_flags & VM_IO)) vm_flags 319 arch/powerpc/kvm/book3s_xive_native.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 362 arch/powerpc/kvm/e500_mmu_host.c (vma->vm_flags & VM_PFNMAP)) { vm_flags 425 arch/powerpc/kvm/e500_mmu_host.c (vma->vm_flags & VM_HUGETLB)) { vm_flags 328 arch/powerpc/mm/book3s64/pkeys.c if ((vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)) != VM_EXEC) vm_flags 165 arch/powerpc/mm/book3s64/subpage_prot.c vma->vm_flags |= VM_NOHUGEPAGE; vm_flags 43 arch/powerpc/mm/copro_fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 51 arch/powerpc/mm/copro_fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 54 arch/powerpc/mm/copro_fault.c if (!(vma->vm_flags & (VM_READ | VM_EXEC))) vm_flags 310 arch/powerpc/mm/fault.c return !(vma->vm_flags & VM_EXEC) && vm_flags 312 arch/powerpc/mm/fault.c !(vma->vm_flags & (VM_READ | VM_WRITE))); vm_flags 316 arch/powerpc/mm/fault.c if (unlikely(!(vma->vm_flags & VM_WRITE))) vm_flags 321 arch/powerpc/mm/fault.c if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) vm_flags 541 arch/powerpc/mm/fault.c if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) vm_flags 568 arch/powerpc/mm/mem.c if (!vma->vm_file && ((vma->vm_flags & VM_EXEC) == 0)) vm_flags 155 arch/powerpc/mm/pgtable.c if (WARN_ON(!(vma->vm_flags & VM_EXEC))) vm_flags 262 arch/powerpc/platforms/cell/spufs/file.c if (write && !(vma->vm_flags & VM_WRITE)) vm_flags 284 arch/powerpc/platforms/cell/spufs/file.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 287 arch/powerpc/platforms/cell/spufs/file.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 374 arch/powerpc/platforms/cell/spufs/file.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 377 arch/powerpc/platforms/cell/spufs/file.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 1054 arch/powerpc/platforms/cell/spufs/file.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 1057 arch/powerpc/platforms/cell/spufs/file.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 1192 arch/powerpc/platforms/cell/spufs/file.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 1195 arch/powerpc/platforms/cell/spufs/file.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 1315 arch/powerpc/platforms/cell/spufs/file.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 1318 arch/powerpc/platforms/cell/spufs/file.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 1377 arch/powerpc/platforms/cell/spufs/file.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 1380 arch/powerpc/platforms/cell/spufs/file.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 1437 arch/powerpc/platforms/cell/spufs/file.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 1440 arch/powerpc/platforms/cell/spufs/file.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 112 arch/powerpc/platforms/powernv/opal-prd.c vma->vm_flags); vm_flags 78 arch/riscv/mm/fault.c if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) vm_flags 92 arch/riscv/mm/fault.c if (!(vma->vm_flags & VM_EXEC)) vm_flags 96 arch/riscv/mm/fault.c if (!(vma->vm_flags & VM_READ)) vm_flags 100 arch/riscv/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 81 arch/s390/include/uapi/asm/ipl.h __u8 vm_flags; vm_flags 528 arch/s390/kernel/ipl.c ipb->ccw.vm_flags |= IPL_PB0_CCW_VM_FLAG_VP; vm_flags 532 arch/s390/kernel/ipl.c ipb->ccw.vm_flags &= ~IPL_PB0_CCW_VM_FLAG_VP; vm_flags 802 arch/s390/kernel/ipl.c reipl_block_nss->ccw.vm_flags |= IPL_PB0_CCW_VM_FLAG_NSS; vm_flags 807 arch/s390/kernel/ipl.c reipl_block_nss->ccw.vm_flags &= ~IPL_PB0_CCW_VM_FLAG_NSS; vm_flags 940 arch/s390/kernel/ipl.c (ipl_block.ccw.vm_flags & IPL_PB0_CCW_VM_FLAG_VP)) { vm_flags 942 arch/s390/kernel/ipl.c ipb->ccw.vm_flags |= IPL_PB0_CCW_VM_FLAG_VP; vm_flags 14 arch/s390/kernel/ipl_vmparm.c if ((ipb->ccw.vm_flags & IPL_PB0_CCW_VM_FLAG_VP) && vm_flags 461 arch/s390/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 472 arch/s390/mm/fault.c if (unlikely(!(vma->vm_flags & access))) vm_flags 2499 arch/s390/mm/gmap.c vma->vm_flags &= ~VM_HUGEPAGE; vm_flags 2500 arch/s390/mm/gmap.c vma->vm_flags |= VM_NOHUGEPAGE; vm_flags 2611 arch/s390/mm/gmap.c MADV_UNMERGEABLE, &vma->vm_flags)) { vm_flags 134 arch/s390/pci/pci_mmio.c if (!(vma->vm_flags & access)) vm_flags 256 arch/sh/mm/cache-sh4.c if (vma->vm_flags & VM_EXEC) vm_flags 298 arch/sh/mm/cache-sh4.c if (vma->vm_flags & VM_EXEC) vm_flags 186 arch/sh/mm/cache-sh5.c if (vma->vm_flags & VM_EXEC) { vm_flags 560 arch/sh/mm/cache-sh5.c if (vma->vm_flags & VM_EXEC) vm_flags 75 arch/sh/mm/cache.c if (vma->vm_flags & VM_EXEC) vm_flags 114 arch/sh/mm/cache.c (vma->vm_flags & VM_EXEC)) vm_flags 347 arch/sh/mm/fault.c if (unlikely(!(vma->vm_flags & VM_WRITE))) vm_flags 354 arch/sh/mm/fault.c !(vma->vm_flags & VM_EXEC))) vm_flags 358 arch/sh/mm/fault.c if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) vm_flags 436 arch/sh/mm/fault.c if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) { vm_flags 49 arch/sparc/include/asm/mman.h #define arch_vm_get_page_prot(vm_flags) sparc_vm_get_page_prot(vm_flags) vm_flags 50 arch/sparc/include/asm/mman.h static inline pgprot_t sparc_vm_get_page_prot(unsigned long vm_flags) vm_flags 52 arch/sparc/include/asm/mman.h return (vm_flags & VM_SPARC_ADI) ? __pgprot(_PAGE_MCD_4V) : __pgprot(0); vm_flags 72 arch/sparc/include/asm/mman.h if (vma->vm_flags & (VM_PFNMAP | VM_MIXEDMAP)) vm_flags 83 arch/sparc/include/asm/mman.h if (vma->vm_flags & VM_MERGEABLE) vm_flags 209 arch/sparc/mm/fault_32.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 220 arch/sparc/mm/fault_32.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 224 arch/sparc/mm/fault_32.c if (!(vma->vm_flags & (VM_READ | VM_EXEC))) vm_flags 394 arch/sparc/mm/fault_32.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 401 arch/sparc/mm/fault_32.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 405 arch/sparc/mm/fault_32.c if (!(vma->vm_flags & (VM_READ | VM_EXEC))) vm_flags 346 arch/sparc/mm/fault_64.c (vma->vm_flags & VM_WRITE) != 0) { vm_flags 367 arch/sparc/mm/fault_64.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 395 arch/sparc/mm/fault_64.c if ((fault_code & FAULT_CODE_ITLB) && !(vma->vm_flags & VM_EXEC)) { vm_flags 403 arch/sparc/mm/fault_64.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 410 arch/sparc/mm/fault_64.c (vma->vm_flags & VM_EXEC) != 0 && vm_flags 418 arch/sparc/mm/fault_64.c if (!(vma->vm_flags & (VM_READ | VM_EXEC))) vm_flags 192 arch/sparc/mm/hugetlbpage.c if (vma->vm_flags & VM_SPARC_ADI) vm_flags 3142 arch/sparc/mm/init_64.c if (vma->vm_flags & VM_SPARC_ADI) { vm_flags 196 arch/sparc/mm/leon_mm.c if (vma->vm_flags & VM_EXEC) vm_flags 1275 arch/sparc/mm/srmmu.c if (vma->vm_flags & VM_EXEC) vm_flags 55 arch/um/kernel/trap.c else if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 65 arch/um/kernel/trap.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 70 arch/um/kernel/trap.c if (!(vma->vm_flags & (VM_READ | VM_EXEC))) vm_flags 86 arch/unicore32/kernel/asm-offsets.c DEFINE(VMA_VM_FLAGS, offsetof(struct vm_area_struct, vm_flags)); vm_flags 159 arch/unicore32/mm/fault.c return vma->vm_flags & mask ? false : true; vm_flags 193 arch/unicore32/mm/fault.c if (vma->vm_flags & VM_GROWSDOWN && !expand_stack(vma, addr)) vm_flags 23 arch/unicore32/mm/flush.c if (vma->vm_flags & VM_EXEC) vm_flags 36 arch/unicore32/mm/flush.c if (vma->vm_flags & VM_EXEC) { vm_flags 511 arch/unicore32/mm/mmu.c if (vma->vm_flags & VM_EXEC) vm_flags 312 arch/x86/entry/vsyscall/vsyscall_64.c .vm_flags = VM_READ | VM_EXEC, vm_flags 393 arch/x86/entry/vsyscall/vsyscall_64.c gate_vma.vm_flags = VM_EXEC; vm_flags 129 arch/x86/include/asm/pkeys.h return (vma->vm_flags & vma_pkey_mask) >> VM_PKEY_SHIFT; vm_flags 573 arch/x86/include/asm/tlbflush.h ((vma)->vm_flags & VM_HUGETLB) \ vm_flags 16 arch/x86/include/uapi/asm/mman.h #define arch_vm_get_page_prot(vm_flags) __pgprot( \ vm_flags 17 arch/x86/include/uapi/asm/mman.h ((vm_flags) & VM_PKEY_BIT0 ? _PAGE_PKEY_BIT0 : 0) | \ vm_flags 18 arch/x86/include/uapi/asm/mman.h ((vm_flags) & VM_PKEY_BIT1 ? _PAGE_PKEY_BIT1 : 0) | \ vm_flags 19 arch/x86/include/uapi/asm/mman.h ((vm_flags) & VM_PKEY_BIT2 ? _PAGE_PKEY_BIT2 : 0) | \ vm_flags 20 arch/x86/include/uapi/asm/mman.h ((vm_flags) & VM_PKEY_BIT3 ? _PAGE_PKEY_BIT3 : 0)) vm_flags 1519 arch/x86/kernel/cpu/resctrl/pseudo_lock.c if (!(vma->vm_flags & VM_SHARED)) { vm_flags 155 arch/x86/kvm/paging_tmpl.h if (!vma || !(vma->vm_flags & VM_PFNMAP)) { vm_flags 1214 arch/x86/mm/fault.c if (unlikely(!(vma->vm_flags & VM_WRITE))) vm_flags 1224 arch/x86/mm/fault.c if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) vm_flags 1431 arch/x86/mm/fault.c if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) { vm_flags 166 arch/x86/mm/mmap.c if (vma->vm_flags & VM_MPX) vm_flags 670 arch/x86/mm/mpx.c if (!(vma->vm_flags & VM_MPX)) vm_flags 803 arch/x86/mm/mpx.c while (next && (next->vm_flags & VM_MPX)) vm_flags 805 arch/x86/mm/mpx.c while (prev && (prev->vm_flags & VM_MPX)) vm_flags 908 arch/x86/mm/mpx.c if (vma->vm_flags & VM_MPX) vm_flags 972 arch/x86/mm/pat.c if (vma->vm_flags & VM_PAT) { vm_flags 1007 arch/x86/mm/pat.c vma->vm_flags |= VM_PAT; vm_flags 1058 arch/x86/mm/pat.c if (vma && !(vma->vm_flags & VM_PAT)) vm_flags 1073 arch/x86/mm/pat.c vma->vm_flags &= ~VM_PAT; vm_flags 1083 arch/x86/mm/pat.c vma->vm_flags &= ~VM_PAT; vm_flags 66 arch/x86/mm/pkeys.c if ((vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)) != VM_EXEC) vm_flags 19 arch/x86/um/mem_32.c gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; vm_flags 2725 arch/x86/xen/mmu_pv.c BUG_ON(!((vma->vm_flags & (VM_PFNMAP | VM_IO)) == (VM_PFNMAP | VM_IO))); vm_flags 241 arch/xtensa/mm/cache.c && (vma->vm_flags & VM_EXEC) != 0) { vm_flags 285 arch/xtensa/mm/cache.c if ((vma->vm_flags & VM_EXEC) != 0) vm_flags 288 arch/xtensa/mm/cache.c } else if ((vma->vm_flags & VM_EXEC) != 0) { vm_flags 84 arch/xtensa/mm/fault.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 97 arch/xtensa/mm/fault.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 101 arch/xtensa/mm/fault.c if (!(vma->vm_flags & VM_EXEC)) vm_flags 104 arch/xtensa/mm/fault.c if (!(vma->vm_flags & (VM_READ | VM_WRITE))) vm_flags 107 arch/xtensa/mm/tlb.c if (vma->vm_flags & VM_EXEC) vm_flags 141 arch/xtensa/mm/tlb.c if (vma->vm_flags & VM_EXEC) vm_flags 5140 drivers/android/binder.c (vma->vm_end - vma->vm_start) / SZ_1K, vma->vm_flags, vm_flags 5151 drivers/android/binder.c (vma->vm_end - vma->vm_start) / SZ_1K, vma->vm_flags, vm_flags 5179 drivers/android/binder.c (vma->vm_end - vma->vm_start) / SZ_1K, vma->vm_flags, vm_flags 5182 drivers/android/binder.c if (vma->vm_flags & FORBIDDEN_MMAP_FLAGS) { vm_flags 5187 drivers/android/binder.c vma->vm_flags |= VM_DONTCOPY | VM_MIXEDMAP; vm_flags 5188 drivers/android/binder.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 353 drivers/char/mem.c return vma->vm_flags & VM_MAYSHARE; vm_flags 730 drivers/char/mem.c if (vma->vm_flags & VM_SHARED) vm_flags 191 drivers/char/mspec.c if ((vma->vm_flags & VM_SHARED) == 0) vm_flags 194 drivers/char/mspec.c if ((vma->vm_flags & VM_WRITE) == 0) vm_flags 213 drivers/char/mspec.c vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 154 drivers/char/uv_mmtimer.c if (vma->vm_flags & VM_WRITE) vm_flags 28 drivers/dax/device.c if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { vm_flags 45 drivers/dax/device.c && (vma->vm_flags & VM_DONTCOPY) == 0) { vm_flags 324 drivers/dax/device.c vma->vm_flags |= VM_HUGEPAGE; vm_flags 41 drivers/dma-buf/udmabuf.c if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) vm_flags 1670 drivers/firewire/core-cdev.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 758 drivers/fpga/dfl-afu-main.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 771 drivers/fpga/dfl-afu-main.c if ((vma->vm_flags & VM_READ) && !(region.flags & DFL_PORT_REGION_READ)) vm_flags 774 drivers/fpga/dfl-afu-main.c if ((vma->vm_flags & VM_WRITE) && vm_flags 1875 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c vma->vm_flags |= VM_IO | VM_DONTCOPY | VM_DONTEXPAND | VM_NORESERVE | vm_flags 1886 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c address, vma->vm_flags, PAGE_SIZE); vm_flags 144 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c vma->vm_flags |= VM_IO | VM_DONTCOPY | VM_DONTEXPAND | VM_NORESERVE | vm_flags 154 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c (unsigned long long) vma->vm_start, address, vma->vm_flags, vm_flags 805 drivers/gpu/drm/amd/amdkfd/kfd_events.c vma->vm_flags |= VM_IO | VM_DONTCOPY | VM_DONTEXPAND | VM_NORESERVE vm_flags 812 drivers/gpu/drm/amd/amdkfd/kfd_events.c pr_debug(" vm_flags == 0x%08lX\n", vma->vm_flags); vm_flags 917 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (is_write_requested && !(vma->vm_flags & VM_WRITE)) vm_flags 922 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (is_execute_requested && !(vma->vm_flags & VM_EXEC)) vm_flags 1139 drivers/gpu/drm/amd/amdkfd/kfd_process.c vma->vm_flags |= VM_IO | VM_DONTCOPY | VM_DONTEXPAND vm_flags 1114 drivers/gpu/drm/drm_gem.c vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 1116 drivers/gpu/drm/drm_gem.c vma->vm_page_prot = pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); vm_flags 1187 drivers/gpu/drm/drm_gem.c if (vma->vm_flags & VM_WRITE) { vm_flags 1192 drivers/gpu/drm/drm_gem.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 279 drivers/gpu/drm/drm_gem_cma_helper.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 549 drivers/gpu/drm/drm_gem_shmem_helper.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 550 drivers/gpu/drm/drm_gem_shmem_helper.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 72 drivers/gpu/drm/drm_vm.c pgprot_t tmp = vm_get_page_prot(vma->vm_flags); vm_flags 97 drivers/gpu/drm/drm_vm.c pgprot_t tmp = vm_get_page_prot(vma->vm_flags); vm_flags 487 drivers/gpu/drm/drm_vm.c vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE); vm_flags 503 drivers/gpu/drm/drm_vm.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 571 drivers/gpu/drm/drm_vm.c vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE); vm_flags 639 drivers/gpu/drm/drm_vm.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 132 drivers/gpu/drm/etnaviv/etnaviv_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 133 drivers/gpu/drm/etnaviv/etnaviv_gem.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 135 drivers/gpu/drm/etnaviv/etnaviv_gem.c vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 45 drivers/gpu/drm/exynos/exynos_drm_fbdev.c vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 298 drivers/gpu/drm/exynos/exynos_drm_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 415 drivers/gpu/drm/exynos/exynos_drm_gem.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 418 drivers/gpu/drm/exynos/exynos_drm_gem.c pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); vm_flags 421 drivers/gpu/drm/exynos/exynos_drm_gem.c pgprot_noncached(vm_get_page_prot(vma->vm_flags)); vm_flags 165 drivers/gpu/drm/gma500/framebuffer.c vma->vm_flags |= VM_IO | VM_MIXEDMAP | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 107 drivers/gpu/drm/i810/i810_dma.c vma->vm_flags |= VM_DONTCOPY; vm_flags 98 drivers/gpu/drm/i915/gem/i915_gem_mman.c pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); vm_flags 226 drivers/gpu/drm/i915/gem/i915_gem_mman.c bool write = area->vm_flags & VM_WRITE; vm_flags 1160 drivers/gpu/drm/i915/gvt/kvmgt.c if ((vma->vm_flags & VM_SHARED) == 0) vm_flags 67 drivers/gpu/drm/i915/i915_mm.c GEM_BUG_ON((vma->vm_flags & EXPECTED_FLAGS) != EXPECTED_FLAGS); vm_flags 114 drivers/gpu/drm/lima/lima_gem.c pgprot_t prot = vm_get_page_prot(vma->vm_flags); vm_flags 116 drivers/gpu/drm/lima/lima_gem.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 117 drivers/gpu/drm/lima/lima_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 141 drivers/gpu/drm/mediatek/mtk_drm_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 213 drivers/gpu/drm/msm/msm_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 214 drivers/gpu/drm/msm/msm_gem.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 217 drivers/gpu/drm/msm/msm_gem.c vma->vm_page_prot = pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); vm_flags 219 drivers/gpu/drm/msm/msm_gem.c vma->vm_page_prot = pgprot_noncached(vm_get_page_prot(vma->vm_flags)); vm_flags 231 drivers/gpu/drm/msm/msm_gem.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 546 drivers/gpu/drm/omapdrm/omap_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 547 drivers/gpu/drm/omapdrm/omap_gem.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 550 drivers/gpu/drm/omapdrm/omap_gem.c vma->vm_page_prot = pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); vm_flags 552 drivers/gpu/drm/omapdrm/omap_gem.c vma->vm_page_prot = pgprot_noncached(vm_get_page_prot(vma->vm_flags)); vm_flags 571 drivers/gpu/drm/omapdrm/omap_gem.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 245 drivers/gpu/drm/rockchip/rockchip_drm_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 461 drivers/gpu/drm/tegra/gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 473 drivers/gpu/drm/tegra/gem.c pgprot_t prot = vm_get_page_prot(vma->vm_flags); vm_flags 475 drivers/gpu/drm/tegra/gem.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 476 drivers/gpu/drm/tegra/gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 229 drivers/gpu/drm/ttm/ttm_bo_vm.c cvma.vm_page_prot = vm_get_page_prot(cvma.vm_flags); vm_flags 275 drivers/gpu/drm/ttm/ttm_bo_vm.c if (vma->vm_flags & VM_MIXEDMAP) vm_flags 466 drivers/gpu/drm/ttm/ttm_bo_vm.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 467 drivers/gpu/drm/ttm/ttm_bo_vm.c vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 484 drivers/gpu/drm/ttm/ttm_bo_vm.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 485 drivers/gpu/drm/ttm/ttm_bo_vm.c vma->vm_flags |= VM_IO | VM_DONTEXPAND; vm_flags 67 drivers/gpu/drm/udl/udl_gem.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 70 drivers/gpu/drm/udl/udl_gem.c pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); vm_flags 73 drivers/gpu/drm/udl/udl_gem.c pgprot_noncached(vm_get_page_prot(vma->vm_flags)); vm_flags 95 drivers/gpu/drm/udl/udl_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 96 drivers/gpu/drm/udl/udl_gem.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 717 drivers/gpu/drm/vc4/vc4_bo.c if (bo->validated_shader && (vma->vm_flags & VM_WRITE)) { vm_flags 734 drivers/gpu/drm/vc4/vc4_bo.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 762 drivers/gpu/drm/vc4/vc4_bo.c if (bo->validated_shader && (vma->vm_flags & VM_WRITE)) { vm_flags 265 drivers/gpu/drm/vgem/vgem_drv.c unsigned long flags = vma->vm_flags; vm_flags 275 drivers/gpu/drm/vgem/vgem_drv.c vma->vm_flags = flags | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 423 drivers/gpu/drm/vgem/vgem_drv.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 424 drivers/gpu/drm/vgem/vgem_drv.c vma->vm_page_prot = pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); vm_flags 233 drivers/gpu/drm/xen/xen_drm_front_gem.c vma->vm_flags &= ~VM_PFNMAP; vm_flags 234 drivers/gpu/drm/xen/xen_drm_front_gem.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 243 drivers/gpu/drm/xen/xen_drm_front_gem.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 1268 drivers/hsi/clients/cmt_speech.c vma->vm_flags |= VM_IO | VM_DONTDUMP | VM_DONTEXPAND; vm_flags 1634 drivers/hwtracing/intel_th/msu.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTCOPY; vm_flags 718 drivers/hwtracing/stm/core.c vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 900 drivers/infiniband/core/uverbs_main.c if (!(vmf->vma->vm_flags & (VM_WRITE | VM_MAYWRITE))) { vm_flags 943 drivers/infiniband/core/uverbs_main.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 270 drivers/infiniband/hw/cxgb3/iwch_provider.c if (vma->vm_flags & VM_READ) { vm_flags 275 drivers/infiniband/hw/cxgb3/iwch_provider.c vma->vm_flags |= VM_DONTCOPY | VM_DONTEXPAND; vm_flags 276 drivers/infiniband/hw/cxgb3/iwch_provider.c vma->vm_flags &= ~VM_MAYREAD; vm_flags 1656 drivers/infiniband/hw/efa/efa_verbs.c if (length % PAGE_SIZE != 0 || !(vma->vm_flags & VM_SHARED)) { vm_flags 1659 drivers/infiniband/hw/efa/efa_verbs.c length, PAGE_SIZE, vma->vm_flags); vm_flags 1663 drivers/infiniband/hw/efa/efa_verbs.c if (vma->vm_flags & VM_EXEC) { vm_flags 365 drivers/infiniband/hw/hfi1/file_ops.c !(vma->vm_flags & VM_SHARED)) { vm_flags 378 drivers/infiniband/hw/hfi1/file_ops.c flags = vma->vm_flags; vm_flags 443 drivers/infiniband/hw/hfi1/file_ops.c if (vma->vm_flags & VM_WRITE) { vm_flags 447 drivers/infiniband/hw/hfi1/file_ops.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 572 drivers/infiniband/hw/hfi1/file_ops.c vma->vm_flags = flags; vm_flags 576 drivers/infiniband/hw/hfi1/file_ops.c vma->vm_end - vma->vm_start, vma->vm_flags); vm_flags 392 drivers/infiniband/hw/mlx4/mr.c if (vma->vm_flags & VM_WRITE) vm_flags 2063 drivers/infiniband/hw/mlx5/main.c !(vma->vm_flags & VM_SHARED)) vm_flags 2069 drivers/infiniband/hw/mlx5/main.c if (vma->vm_flags & (VM_WRITE | VM_EXEC)) vm_flags 2071 drivers/infiniband/hw/mlx5/main.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 2235 drivers/infiniband/hw/mlx5/main.c if (vma->vm_flags & VM_WRITE) vm_flags 2237 drivers/infiniband/hw/mlx5/main.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 564 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (vma->vm_flags & VM_READ) vm_flags 575 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (vma->vm_flags & VM_READ) vm_flags 424 drivers/infiniband/hw/qedr/verbs.c if (vma->vm_flags & VM_READ) { vm_flags 728 drivers/infiniband/hw/qib/qib_file_ops.c if (vma->vm_flags & VM_WRITE) { vm_flags 736 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 772 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags |= VM_DONTCOPY | VM_DONTEXPAND; vm_flags 813 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags &= ~VM_MAYREAD; vm_flags 814 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags |= VM_DONTCOPY | VM_DONTEXPAND; vm_flags 847 drivers/infiniband/hw/qib/qib_file_ops.c if (vma->vm_flags & VM_WRITE) { vm_flags 850 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags); vm_flags 855 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 936 drivers/infiniband/hw/qib/qib_file_ops.c if (vma->vm_flags & VM_WRITE) { vm_flags 939 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags); vm_flags 947 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 958 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 984 drivers/infiniband/hw/qib/qib_file_ops.c if (!rcd || !(vma->vm_flags & VM_SHARED)) { vm_flags 687 drivers/infiniband/hw/usnic/usnic_ib_verbs.c vma->vm_flags |= VM_IO; vm_flags 411 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c vma->vm_flags |= VM_DONTCOPY | VM_DONTEXPAND; vm_flags 469 drivers/iommu/amd_iommu_v2.c return (requested & ~vma->vm_flags) != 0; vm_flags 520 drivers/iommu/intel-svm.c return (requested & ~vma->vm_flags) != 0; vm_flags 2163 drivers/media/common/videobuf2/videobuf2-core.c if (!(vma->vm_flags & VM_SHARED)) { vm_flags 2168 drivers/media/common/videobuf2/videobuf2-core.c if (!(vma->vm_flags & VM_WRITE)) { vm_flags 2173 drivers/media/common/videobuf2/videobuf2-core.c if (!(vma->vm_flags & VM_READ)) { vm_flags 197 drivers/media/common/videobuf2/videobuf2-dma-contig.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 188 drivers/media/common/videobuf2/videobuf2-vmalloc.c vma->vm_flags |= VM_DONTEXPAND; vm_flags 1480 drivers/media/pci/meye/meye.c vma->vm_flags &= ~VM_IO; /* not I/O memory */ vm_flags 1481 drivers/media/pci/meye/meye.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 768 drivers/media/usb/stkwebcam/stk-webcam.c if (!(vma->vm_flags & VM_WRITE) || !(vma->vm_flags & VM_SHARED)) vm_flags 782 drivers/media/usb/stkwebcam/stk-webcam.c vma->vm_flags |= VM_DONTEXPAND; vm_flags 1015 drivers/media/usb/usbvision/usbvision-video.c if (!(vma->vm_flags & VM_WRITE) || vm_flags 1032 drivers/media/usb/usbvision/usbvision-video.c vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 1178 drivers/media/v4l2-core/videobuf-core.c if (!(vma->vm_flags & VM_WRITE) || !(vma->vm_flags & VM_SHARED)) { vm_flags 323 drivers/media/v4l2-core/videobuf-dma-contig.c vma->vm_flags |= VM_DONTEXPAND; vm_flags 639 drivers/media/v4l2-core/videobuf-dma-sg.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 640 drivers/media/v4l2-core/videobuf-dma-sg.c vma->vm_flags &= ~VM_IO; /* using shared anonymous pages */ vm_flags 250 drivers/media/v4l2-core/videobuf-vmalloc.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 223 drivers/misc/cxl/context.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 2702 drivers/misc/habanalabs/goya/goya.c vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP | vm_flags 565 drivers/misc/mic/scif/scif_mmap.c req.prot = vma->vm_flags & (VM_READ | VM_WRITE); vm_flags 637 drivers/misc/mic/scif/scif_mmap.c req.prot = vma->vm_flags & (VM_READ | VM_WRITE); vm_flags 666 drivers/misc/mic/scif/scif_mmap.c vma->vm_flags |= VM_DONTCOPY | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 669 drivers/misc/mic/scif/scif_mmap.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 1085 drivers/misc/mic/vop/vop_vringh.c if (vma->vm_flags & VM_WRITE) { vm_flags 178 drivers/misc/ocxl/context.c if ((vma->vm_flags & VM_READ) || (vma->vm_flags & VM_EXEC) || vm_flags 179 drivers/misc/ocxl/context.c !(vma->vm_flags & VM_WRITE)) vm_flags 181 drivers/misc/ocxl/context.c vma->vm_flags &= ~(VM_MAYREAD | VM_MAYEXEC); vm_flags 205 drivers/misc/ocxl/context.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 102 drivers/misc/ocxl/sysfs.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 96 drivers/misc/sgi-gru/grufile.c if ((vma->vm_flags & (VM_SHARED | VM_WRITE)) != (VM_SHARED | VM_WRITE)) vm_flags 103 drivers/misc/sgi-gru/grufile.c vma->vm_flags |= VM_IO | VM_PFNMAP | VM_LOCKED | vm_flags 1151 drivers/mtd/mtdchar.c return vma->vm_flags & VM_SHARED ? 0 : -EACCES; vm_flags 97 drivers/oprofile/buffer_sync.c if (mpnt && mpnt->vm_file && (mpnt->vm_flags & VM_EXEC)) { vm_flags 47 drivers/sbus/char/flash.c if ((vma->vm_flags & VM_READ) && vm_flags 48 drivers/sbus/char/flash.c (vma->vm_flags & VM_WRITE)) { vm_flags 52 drivers/sbus/char/flash.c if (vma->vm_flags & VM_READ) { vm_flags 55 drivers/sbus/char/flash.c } else if (vma->vm_flags & VM_WRITE) { vm_flags 377 drivers/sbus/char/oradax.c dax_dbg("len=0x%lx, flags=0x%lx", len, vma->vm_flags); vm_flags 390 drivers/sbus/char/oradax.c if (vma->vm_flags & VM_WRITE) vm_flags 392 drivers/sbus/char/oradax.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 1170 drivers/scsi/cxlflash/ocxl_hw.c vma->vm_flags |= VM_IO | VM_PFNMAP; vm_flags 1296 drivers/scsi/sg.c vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 389 drivers/staging/android/ashmem.c if ((vma->vm_flags & ~calc_vm_prot_bits(asma->prot_mask, 0)) & vm_flags 394 drivers/staging/android/ashmem.c vma->vm_flags &= ~calc_vm_may_flags(~asma->prot_mask); vm_flags 404 drivers/staging/android/ashmem.c vmfile = shmem_file_setup(name, asma->size, vma->vm_flags); vm_flags 431 drivers/staging/android/ashmem.c if (vma->vm_flags & VM_SHARED) { vm_flags 2326 drivers/staging/comedi/comedi_fops.c if (vma->vm_flags & VM_WRITE) vm_flags 692 drivers/staging/gasket/gasket_core.c (vma->vm_flags & (VM_WRITE | VM_READ | VM_EXEC)); vm_flags 702 drivers/staging/gasket/gasket_core.c if ((vma->vm_flags & VM_WRITE) && vm_flags 1571 drivers/target/target_core_user.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 714 drivers/uio/uio.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 269 drivers/usb/core/devio.c vma->vm_flags |= VM_IO; vm_flags 270 drivers/usb/core/devio.c vma->vm_flags |= (VM_DONTEXPAND | VM_DONTDUMP); vm_flags 1271 drivers/usb/mon/mon_bin.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 1207 drivers/vfio/pci/vfio_pci.c if ((vma->vm_flags & VM_SHARED) == 0) vm_flags 152 drivers/vfio/pci/vfio_pci_nvlink2.c vma->vm_flags |= VM_PFNMAP; vm_flags 341 drivers/vfio/pci/vfio_pci_nvlink2.c vma->vm_flags |= VM_PFNMAP; vm_flags 586 drivers/vfio/platform/vfio_platform_common.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 599 drivers/vfio/platform/vfio_platform_common.c && (vma->vm_flags & VM_READ)) vm_flags 603 drivers/vfio/platform/vfio_platform_common.c && (vma->vm_flags & VM_WRITE)) vm_flags 382 drivers/vfio/vfio_iommu_type1.c if (vma && vma->vm_flags & VM_PFNMAP) { vm_flags 397 drivers/video/fbdev/68328fb.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 168 drivers/video/fbdev/core/fb_defio.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 170 drivers/video/fbdev/core/fb_defio.c vma->vm_flags |= VM_IO; vm_flags 1376 drivers/video/fbdev/core/fbmem.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 52 drivers/video/fbdev/sbuslib.c if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) vm_flags 513 drivers/xen/gntalloc.c if (!(vma->vm_flags & VM_SHARED)) { vm_flags 542 drivers/xen/gntalloc.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 1078 drivers/xen/gntdev.c if ((vma->vm_flags & VM_WRITE) && !(vma->vm_flags & VM_SHARED)) vm_flags 1099 drivers/xen/gntdev.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP | VM_MIXEDMAP; vm_flags 1102 drivers/xen/gntdev.c vma->vm_flags |= VM_DONTCOPY; vm_flags 1110 drivers/xen/gntdev.c if ((vma->vm_flags & VM_WRITE) && vm_flags 1115 drivers/xen/gntdev.c if (!(vma->vm_flags & VM_WRITE)) vm_flags 140 drivers/xen/privcmd-buf.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 159 drivers/xen/privcmd-buf.c vma->vm_flags |= VM_IO | VM_DONTEXPAND; vm_flags 930 drivers/xen/privcmd.c vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTCOPY | vm_flags 156 drivers/xen/xlate_mmu.c BUG_ON(!((vma->vm_flags & (VM_PFNMAP | VM_IO)) == (VM_PFNMAP | VM_IO))); vm_flags 516 fs/9p/vfs_file.c (vma->vm_flags & VM_SHARED) && vm_flags 517 fs/9p/vfs_file.c (vma->vm_flags & VM_WRITE)) { vm_flags 618 fs/9p/vfs_file.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 367 fs/aio.c vma->vm_flags |= VM_DONTEXPAND; vm_flags 1310 fs/binfmt_elf.c if (vma->vm_flags & VM_DONTDUMP) vm_flags 1315 fs/binfmt_elf.c if ((vma->vm_flags & VM_SHARED) && FILTER(DAX_SHARED)) vm_flags 1317 fs/binfmt_elf.c if (!(vma->vm_flags & VM_SHARED) && FILTER(DAX_PRIVATE)) vm_flags 1323 fs/binfmt_elf.c if (vma->vm_flags & VM_HUGETLB) { vm_flags 1324 fs/binfmt_elf.c if ((vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_SHARED)) vm_flags 1326 fs/binfmt_elf.c if (!(vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_PRIVATE)) vm_flags 1332 fs/binfmt_elf.c if (vma->vm_flags & VM_IO) vm_flags 1336 fs/binfmt_elf.c if (vma->vm_flags & VM_SHARED) { vm_flags 1358 fs/binfmt_elf.c vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { vm_flags 2313 fs/binfmt_elf.c phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; vm_flags 2314 fs/binfmt_elf.c if (vma->vm_flags & VM_WRITE) vm_flags 2316 fs/binfmt_elf.c if (vma->vm_flags & VM_EXEC) vm_flags 1198 fs/binfmt_elf_fdpic.c if (vma->vm_flags & VM_IO) { vm_flags 1199 fs/binfmt_elf_fdpic.c kdcore("%08lx: %08lx: no (IO)", vma->vm_start, vma->vm_flags); vm_flags 1206 fs/binfmt_elf_fdpic.c if (!(vma->vm_flags & VM_READ)) { vm_flags 1207 fs/binfmt_elf_fdpic.c kdcore("%08lx: %08lx: no (!read)", vma->vm_start, vma->vm_flags); vm_flags 1213 fs/binfmt_elf_fdpic.c if (vma->vm_flags & VM_SHARED) { vm_flags 1216 fs/binfmt_elf_fdpic.c vma->vm_flags, dump_ok ? "yes" : "no"); vm_flags 1220 fs/binfmt_elf_fdpic.c vma->vm_flags, dump_ok ? "yes" : "no"); vm_flags 1226 fs/binfmt_elf_fdpic.c if (vma->vm_flags & VM_SHARED) { vm_flags 1230 fs/binfmt_elf_fdpic.c vma->vm_flags, dump_ok ? "yes" : "no"); vm_flags 1236 fs/binfmt_elf_fdpic.c vma->vm_flags, dump_ok ? "yes" : "no"); vm_flags 1245 fs/binfmt_elf_fdpic.c vma->vm_flags, dump_ok ? "yes" : "no"); vm_flags 1251 fs/binfmt_elf_fdpic.c kdcore("%08lx: %08lx: %s", vma->vm_start, vma->vm_flags, vm_flags 1740 fs/binfmt_elf_fdpic.c phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; vm_flags 1741 fs/binfmt_elf_fdpic.c if (vma->vm_flags & VM_WRITE) vm_flags 1743 fs/binfmt_elf_fdpic.c if (vma->vm_flags & VM_EXEC) vm_flags 375 fs/cramfs/inode.c if (vma->vm_flags & VM_WRITE) vm_flags 421 fs/cramfs/inode.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 451 fs/cramfs/inode.c return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; vm_flags 791 fs/dax.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 1241 fs/dax.c return (flags & IOMAP_WRITE) && (vma->vm_flags & VM_SYNC) vm_flags 1505 fs/dax.c if (write && !(vma->vm_flags & VM_SHARED)) vm_flags 268 fs/exec.c vma->vm_flags = VM_SOFTDIRTY | VM_STACK_FLAGS | VM_STACK_INCOMPLETE_SETUP; vm_flags 269 fs/exec.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 700 fs/exec.c unsigned long vm_flags; vm_flags 745 fs/exec.c vm_flags = VM_STACK_FLAGS; vm_flags 753 fs/exec.c vm_flags |= VM_EXEC; vm_flags 755 fs/exec.c vm_flags &= ~VM_EXEC; vm_flags 756 fs/exec.c vm_flags |= mm->def_flags; vm_flags 757 fs/exec.c vm_flags |= VM_STACK_INCOMPLETE_SETUP; vm_flags 760 fs/exec.c vm_flags); vm_flags 773 fs/exec.c vma->vm_flags &= ~VM_STACK_INCOMPLETE_SETUP; vm_flags 313 fs/ext4/file.c (vmf->vma->vm_flags & VM_SHARED); vm_flags 390 fs/ext4/file.c vma->vm_flags |= VM_HUGEPAGE; vm_flags 2305 fs/fuse/file.c if (vma->vm_flags & VM_MAYSHARE) vm_flags 2313 fs/fuse/file.c if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) vm_flags 150 fs/hugetlbfs/inode.c vma->vm_flags |= VM_HUGETLB | VM_DONTEXPAND; vm_flags 181 fs/hugetlbfs/inode.c vma->vm_flags)) vm_flags 185 fs/hugetlbfs/inode.c if (vma->vm_flags & VM_WRITE && inode->i_size < len) vm_flags 428 fs/hugetlbfs/inode.c pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); vm_flags 617 fs/hugetlbfs/inode.c pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); vm_flags 476 fs/orangefs/file.c vma->vm_flags |= VM_SEQ_READ; vm_flags 477 fs/orangefs/file.c vma->vm_flags &= ~VM_RAND_READ; vm_flags 40 fs/proc/nommu.c flags = region->vm_flags; vm_flags 304 fs/proc/task_mmu.c vm_flags_t flags = vma->vm_flags; vm_flags 526 fs/proc/task_mmu.c bool locked = !!(vma->vm_flags & VM_LOCKED); vm_flags 578 fs/proc/task_mmu.c bool locked = !!(vma->vm_flags & VM_LOCKED); vm_flags 697 fs/proc/task_mmu.c if (vma->vm_flags & (1UL << i)) { vm_flags 769 fs/proc/task_mmu.c if (!shmem_swapped || (vma->vm_flags & VM_SHARED) || vm_flags 770 fs/proc/task_mmu.c !(vma->vm_flags & VM_WRITE)) { vm_flags 1113 fs/proc/task_mmu.c if (vma->vm_flags & VM_PFNMAP) vm_flags 1190 fs/proc/task_mmu.c if (!(vma->vm_flags & VM_SOFTDIRTY)) vm_flags 1216 fs/proc/task_mmu.c vma->vm_flags &= ~VM_SOFTDIRTY; vm_flags 1312 fs/proc/task_mmu.c if (vma->vm_flags & VM_SOFTDIRTY) vm_flags 1357 fs/proc/task_mmu.c if (vma->vm_flags & VM_SOFTDIRTY) vm_flags 1379 fs/proc/task_mmu.c if (vma->vm_flags & VM_SOFTDIRTY) vm_flags 1467 fs/proc/task_mmu.c if (vma->vm_flags & VM_SOFTDIRTY) vm_flags 43 fs/proc/task_nommu.c vma->vm_flags & VM_MAYSHARE) { vm_flags 154 fs/proc/task_nommu.c flags = vma->vm_flags; vm_flags 563 fs/proc/vmcore.c if (vma->vm_flags & (VM_WRITE | VM_EXEC)) vm_flags 566 fs/proc/vmcore.c vma->vm_flags &= ~(VM_MAYWRITE | VM_MAYEXEC); vm_flags 567 fs/proc/vmcore.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 258 fs/ramfs/file-nommu.c if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) vm_flags 66 fs/romfs/mmap-nommu.c return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; vm_flags 647 fs/userfaultfd.c vma->vm_flags &= ~(VM_UFFD_WP | VM_UFFD_MISSING); vm_flags 679 fs/userfaultfd.c vma->vm_flags &= ~(VM_UFFD_WP | VM_UFFD_MISSING); vm_flags 761 fs/userfaultfd.c vma->vm_flags &= ~(VM_UFFD_WP | VM_UFFD_MISSING); vm_flags 904 fs/userfaultfd.c !!(vma->vm_flags & (VM_UFFD_MISSING | VM_UFFD_WP))); vm_flags 909 fs/userfaultfd.c new_flags = vma->vm_flags & ~(VM_UFFD_MISSING | VM_UFFD_WP); vm_flags 921 fs/userfaultfd.c vma->vm_flags = new_flags; vm_flags 1310 fs/userfaultfd.c unsigned long vm_flags, new_flags; vm_flags 1328 fs/userfaultfd.c vm_flags = 0; vm_flags 1330 fs/userfaultfd.c vm_flags |= VM_UFFD_MISSING; vm_flags 1332 fs/userfaultfd.c vm_flags |= VM_UFFD_WP; vm_flags 1385 fs/userfaultfd.c !!(cur->vm_flags & (VM_UFFD_MISSING | VM_UFFD_WP))); vm_flags 1401 fs/userfaultfd.c if (unlikely(!(cur->vm_flags & VM_MAYWRITE))) vm_flags 1449 fs/userfaultfd.c WARN_ON(!(vma->vm_flags & VM_MAYWRITE)); vm_flags 1456 fs/userfaultfd.c (vma->vm_flags & vm_flags) == vm_flags) vm_flags 1463 fs/userfaultfd.c new_flags = (vma->vm_flags & ~vm_flags) | vm_flags; vm_flags 1488 fs/userfaultfd.c vma->vm_flags = new_flags; vm_flags 1574 fs/userfaultfd.c !!(cur->vm_flags & (VM_UFFD_MISSING | VM_UFFD_WP))); vm_flags 1606 fs/userfaultfd.c WARN_ON(!(vma->vm_flags & VM_MAYWRITE)); vm_flags 1625 fs/userfaultfd.c new_flags = vma->vm_flags & ~(VM_UFFD_MISSING | VM_UFFD_WP); vm_flags 1650 fs/userfaultfd.c vma->vm_flags = new_flags; vm_flags 1244 fs/xfs/xfs_file.c vma->vm_flags |= VM_HUGEPAGE; vm_flags 368 include/asm-generic/tlb.h .vm_flags = (tlb->vma_exec ? VM_EXEC : 0) | vm_flags 390 include/asm-generic/tlb.h tlb->vma_huge = !!(vma->vm_flags & VM_HUGETLB); vm_flags 391 include/asm-generic/tlb.h tlb->vma_exec = !!(vma->vm_flags & VM_EXEC); vm_flags 65 include/linux/dax.h if (!(vma->vm_flags & VM_SYNC)) vm_flags 108 include/linux/dax.h return !(vma->vm_flags & VM_SYNC); vm_flags 100 include/linux/huge_mm.h if (vma->vm_flags & VM_NOHUGEPAGE) vm_flags 122 include/linux/huge_mm.h return !!(vma->vm_flags & VM_HUGEPAGE); vm_flags 200 include/linux/huge_mm.h unsigned long *vm_flags, int advice); vm_flags 345 include/linux/huge_mm.h unsigned long *vm_flags, int advice) vm_flags 99 include/linux/hugetlb.h vm_flags_t vm_flags); vm_flags 11 include/linux/hugetlb_inline.h return !!(vma->vm_flags & VM_HUGETLB); vm_flags 17 include/linux/khugepaged.h unsigned long vm_flags); vm_flags 55 include/linux/khugepaged.h unsigned long vm_flags) vm_flags 59 include/linux/khugepaged.h (khugepaged_req_madv() && (vm_flags & VM_HUGEPAGE))) && vm_flags 60 include/linux/khugepaged.h !(vm_flags & VM_NOHUGEPAGE) && vm_flags 75 include/linux/khugepaged.h unsigned long vm_flags) vm_flags 80 include/linux/khugepaged.h unsigned long vm_flags) vm_flags 23 include/linux/ksm.h unsigned long end, int advice, unsigned long *vm_flags); vm_flags 72 include/linux/ksm.h unsigned long end, int advice, unsigned long *vm_flags) vm_flags 178 include/linux/mempolicy.h if (vma->vm_flags & (VM_IO | VM_PFNMAP)) vm_flags 189 include/linux/mempolicy.h if (vma->vm_flags & VM_HUGETLB) vm_flags 562 include/linux/mm.h #define TLB_FLUSH_VMA(mm,flags) { .vm_mm = (mm), .vm_flags = (flags) } vm_flags 844 include/linux/mm.h if (likely(vma->vm_flags & VM_WRITE)) vm_flags 2287 include/linux/mm.h unsigned long vm_flags, struct anon_vma *, struct file *, pgoff_t, vm_flags 2343 include/linux/mm.h unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, vm_flags 2347 include/linux/mm.h vm_flags_t vm_flags, unsigned long pgoff, unsigned long *populate, vm_flags 2482 include/linux/mm.h if (vma->vm_flags & VM_GROWSDOWN) { vm_flags 2494 include/linux/mm.h if (vma->vm_flags & VM_GROWSUP) { vm_flags 2526 include/linux/mm.h pgprot_t vm_get_page_prot(unsigned long vm_flags); vm_flags 2529 include/linux/mm.h static inline pgprot_t vm_get_page_prot(unsigned long vm_flags) vm_flags 2535 include/linux/mm.h vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 264 include/linux/mm_types.h vm_flags_t vm_flags; /* VMA vm_flags */ vm_flags 316 include/linux/mm_types.h unsigned long vm_flags; /* Flags, see mm.h. */ vm_flags 85 include/linux/mman.h #define arch_vm_get_page_prot(vm_flags) __pgprot(0) vm_flags 196 include/linux/rmap.h struct mem_cgroup *memcg, unsigned long *vm_flags); vm_flags 286 include/linux/rmap.h unsigned long *vm_flags) vm_flags 288 include/linux/rmap.h *vm_flags = 0; vm_flags 52 include/linux/userfaultfd_k.h return vma->vm_flags & VM_UFFD_MISSING; vm_flags 57 include/linux/userfaultfd_k.h return vma->vm_flags & (VM_UFFD_MISSING | VM_UFFD_WP); vm_flags 102 include/linux/vmalloc.h pgprot_t prot, unsigned long vm_flags, int node, vm_flags 18 include/trace/events/fs_dax.h __field(unsigned long, vm_flags) vm_flags 31 include/trace/events/fs_dax.h __entry->vm_flags = vmf->vma->vm_flags; vm_flags 43 include/trace/events/fs_dax.h __entry->vm_flags & VM_SHARED ? "shared" : "private", vm_flags 70 include/trace/events/fs_dax.h __field(unsigned long, vm_flags) vm_flags 79 include/trace/events/fs_dax.h __entry->vm_flags = vmf->vma->vm_flags; vm_flags 89 include/trace/events/fs_dax.h __entry->vm_flags & VM_SHARED ? "shared" : "private", vm_flags 111 include/trace/events/fs_dax.h __field(unsigned long, vm_flags) vm_flags 122 include/trace/events/fs_dax.h __entry->vm_flags = vmf->vma->vm_flags; vm_flags 134 include/trace/events/fs_dax.h __entry->vm_flags & VM_SHARED ? "shared" : "private", vm_flags 158 include/trace/events/fs_dax.h __field(unsigned long, vm_flags) vm_flags 168 include/trace/events/fs_dax.h __entry->vm_flags = vmf->vma->vm_flags; vm_flags 178 include/trace/events/fs_dax.h __entry->vm_flags & VM_SHARED ? "shared" : "private", vm_flags 202 include/trace/events/fs_dax.h __field(unsigned long, vm_flags) vm_flags 211 include/trace/events/fs_dax.h __entry->vm_flags = vmf->vma->vm_flags; vm_flags 220 include/trace/events/fs_dax.h __entry->vm_flags & VM_SHARED ? "shared" : "private", vm_flags 5724 kernel/events/core.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 5868 kernel/events/core.c if (vma->vm_flags & VM_WRITE) vm_flags 5912 kernel/events/core.c vma->vm_flags |= VM_DONTCOPY | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 7381 kernel/events/core.c int executable = vma->vm_flags & VM_EXEC; vm_flags 7453 kernel/events/core.c if (vma->vm_flags & VM_READ) vm_flags 7455 kernel/events/core.c if (vma->vm_flags & VM_WRITE) vm_flags 7457 kernel/events/core.c if (vma->vm_flags & VM_EXEC) vm_flags 7460 kernel/events/core.c if (vma->vm_flags & VM_MAYSHARE) vm_flags 7465 kernel/events/core.c if (vma->vm_flags & VM_DENYWRITE) vm_flags 7467 kernel/events/core.c if (vma->vm_flags & VM_MAYEXEC) vm_flags 7469 kernel/events/core.c if (vma->vm_flags & VM_LOCKED) vm_flags 7471 kernel/events/core.c if (vma->vm_flags & VM_HUGETLB) vm_flags 7549 kernel/events/core.c if (!(vma->vm_flags & VM_EXEC)) vm_flags 7649 kernel/events/core.c if (!(vma->vm_flags & VM_EXEC)) vm_flags 128 kernel/events/uprobes.c return vma->vm_file && (vma->vm_flags & flags) == VM_MAYEXEC; vm_flags 214 kernel/events/uprobes.c if (vma->vm_flags & VM_LOCKED) vm_flags 356 kernel/events/uprobes.c (vma->vm_flags & (VM_WRITE|VM_SHARED)) == VM_WRITE && vm_flags 1378 kernel/events/uprobes.c (vma->vm_flags & (VM_WRITE|VM_SHARED)) == VM_WRITE && vm_flags 521 kernel/fork.c if (mpnt->vm_flags & VM_DONTCOPY) { vm_flags 522 kernel/fork.c vm_stat_account(mm, mpnt->vm_flags, -vma_pages(mpnt)); vm_flags 534 kernel/fork.c if (mpnt->vm_flags & VM_ACCOUNT) { vm_flags 551 kernel/fork.c if (tmp->vm_flags & VM_WIPEONFORK) { vm_flags 558 kernel/fork.c tmp->vm_flags &= ~(VM_LOCKED | VM_LOCKONFAULT); vm_flags 566 kernel/fork.c if (tmp->vm_flags & VM_DENYWRITE) vm_flags 569 kernel/fork.c if (tmp->vm_flags & VM_SHARED) vm_flags 600 kernel/fork.c if (!(tmp->vm_flags & VM_WIPEONFORK)) vm_flags 293 kernel/kcov.c vma->vm_flags |= VM_DONTEXPAND; vm_flags 108 kernel/relay.c vma->vm_flags |= VM_DONTEXPAND; vm_flags 2554 kernel/sched/fair.c is_vm_hugetlb_page(vma) || (vma->vm_flags & VM_MIXEDMAP)) { vm_flags 2565 kernel/sched/fair.c (vma->vm_file && (vma->vm_flags & (VM_READ|VM_WRITE)) == (VM_READ))) vm_flags 2572 kernel/sched/fair.c if (!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE))) vm_flags 132 mm/debug.c vma->vm_flags, &vma->vm_flags); vm_flags 2392 mm/filemap.c if (vmf->vma->vm_flags & VM_RAND_READ) vm_flags 2397 mm/filemap.c if (vmf->vma->vm_flags & VM_SEQ_READ) { vm_flags 2441 mm/filemap.c if (vmf->vma->vm_flags & VM_RAND_READ) vm_flags 2721 mm/filemap.c if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) vm_flags 72 mm/frame_vector.c if (!(vma->vm_flags & (VM_IO | VM_PFNMAP))) { vm_flags 102 mm/frame_vector.c } while (vma && vma->vm_flags & (VM_IO | VM_PFNMAP)); vm_flags 179 mm/gup.c return is_cow_mapping(vma->vm_flags) && (flags & FOLL_GET); vm_flags 281 mm/gup.c if ((flags & FOLL_MLOCK) && (vma->vm_flags & VM_LOCKED)) { vm_flags 335 mm/gup.c if (pmd_huge(pmdval) && vma->vm_flags & VM_HUGETLB) { vm_flags 445 mm/gup.c if (pud_huge(*pud) && vma->vm_flags & VM_HUGETLB) { vm_flags 680 mm/gup.c if ((ret & VM_FAULT_WRITE) && !(vma->vm_flags & VM_WRITE)) vm_flags 687 mm/gup.c vm_flags_t vm_flags = vma->vm_flags; vm_flags 691 mm/gup.c if (vm_flags & (VM_IO | VM_PFNMAP)) vm_flags 698 mm/gup.c if (!(vm_flags & VM_WRITE)) { vm_flags 710 mm/gup.c if (!is_cow_mapping(vm_flags)) vm_flags 713 mm/gup.c } else if (!(vm_flags & VM_READ)) { vm_flags 720 mm/gup.c if (!(vm_flags & VM_MAYREAD)) vm_flags 915 mm/gup.c vm_flags_t vm_flags = write ? VM_WRITE : VM_READ; vm_flags 917 mm/gup.c if (!(vm_flags & vma->vm_flags)) vm_flags 1217 mm/gup.c if (vma->vm_flags & VM_LOCKONFAULT) vm_flags 1224 mm/gup.c if ((vma->vm_flags & (VM_WRITE | VM_SHARED)) == VM_WRITE) vm_flags 1231 mm/gup.c if (vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)) vm_flags 1277 mm/gup.c if (vma->vm_flags & (VM_IO | VM_PFNMAP)) vm_flags 1338 mm/gup.c unsigned long vm_flags; vm_flags 1344 mm/gup.c vm_flags = (foll_flags & FOLL_WRITE) ? vm_flags 1346 mm/gup.c vm_flags &= (foll_flags & FOLL_FORCE) ? vm_flags 1355 mm/gup.c if ((vma->vm_flags & (VM_IO | VM_PFNMAP)) || vm_flags 1356 mm/gup.c !(vm_flags & vma->vm_flags)) vm_flags 295 mm/hmm.c if (write_fault && walk->vma && !(walk->vma->vm_flags & VM_WRITE)) vm_flags 907 mm/hmm.c if (vma == NULL || (vma->vm_flags & device_vma)) vm_flags 910 mm/hmm.c if (!(vma->vm_flags & VM_READ)) { vm_flags 486 mm/huge_memory.c if (likely(vma->vm_flags & VM_WRITE)) vm_flags 666 mm/huge_memory.c const bool vma_madvised = !!(vma->vm_flags & VM_HUGEPAGE); vm_flags 718 mm/huge_memory.c if (unlikely(khugepaged_enter(vma, vma->vm_flags))) vm_flags 828 mm/huge_memory.c BUG_ON(!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) && vm_flags 830 mm/huge_memory.c BUG_ON((vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) == vm_flags 832 mm/huge_memory.c BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); vm_flags 853 mm/huge_memory.c if (likely(vma->vm_flags & VM_WRITE)) vm_flags 905 mm/huge_memory.c BUG_ON(!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) && vm_flags 907 mm/huge_memory.c BUG_ON((vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) == vm_flags 909 mm/huge_memory.c BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); vm_flags 1490 mm/huge_memory.c if ((flags & FOLL_MLOCK) && (vma->vm_flags & VM_LOCKED)) { vm_flags 3072 mm/huge_memory.c if ((vma->vm_flags & VM_LOCKED) && !PageDoubleMap(new)) vm_flags 759 mm/hugetlb.c if (vma->vm_flags & VM_MAYSHARE) { vm_flags 774 mm/hugetlb.c VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); vm_flags 783 mm/hugetlb.c VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); vm_flags 799 mm/hugetlb.c if (!(vma->vm_flags & VM_MAYSHARE)) vm_flags 806 mm/hugetlb.c if (vma->vm_flags & VM_NORESERVE) { vm_flags 816 mm/hugetlb.c if (vma->vm_flags & VM_MAYSHARE && chg == 0) vm_flags 823 mm/hugetlb.c if (vma->vm_flags & VM_MAYSHARE) { vm_flags 2010 mm/hugetlb.c if (vma->vm_flags & VM_MAYSHARE) vm_flags 2021 mm/hugetlb.c if (vma->vm_flags & VM_MAYSHARE) vm_flags 3431 mm/hugetlb.c cow = (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; vm_flags 3638 mm/hugetlb.c vma->vm_flags &= ~VM_MAYSHARE; vm_flags 3704 mm/hugetlb.c if (iter_vma->vm_flags & VM_MAYSHARE) vm_flags 4002 mm/hugetlb.c if (vma->vm_flags & VM_MAYSHARE) { vm_flags 4037 mm/hugetlb.c if ((flags & FAULT_FLAG_WRITE) && !(vma->vm_flags & VM_SHARED)) { vm_flags 4060 mm/hugetlb.c new_pte = make_huge_pte(vma, page, ((vma->vm_flags & VM_WRITE) vm_flags 4061 mm/hugetlb.c && (vma->vm_flags & VM_SHARED))); vm_flags 4065 mm/hugetlb.c if ((flags & FAULT_FLAG_WRITE) && !(vma->vm_flags & VM_SHARED)) { vm_flags 4194 mm/hugetlb.c if (!(vma->vm_flags & VM_MAYSHARE)) vm_flags 4270 mm/hugetlb.c int vm_shared = dst_vma->vm_flags & VM_SHARED; vm_flags 4357 mm/hugetlb.c _dst_pte = make_huge_pte(dst_vma, page, dst_vma->vm_flags & VM_WRITE); vm_flags 4358 mm/hugetlb.c if (dst_vma->vm_flags & VM_WRITE) vm_flags 4365 mm/hugetlb.c dst_vma->vm_flags & VM_WRITE); vm_flags 4648 mm/hugetlb.c vm_flags_t vm_flags) vm_flags 4667 mm/hugetlb.c if (vm_flags & VM_NORESERVE) vm_flags 4676 mm/hugetlb.c if (!vma || vma->vm_flags & VM_MAYSHARE) { vm_flags 4735 mm/hugetlb.c if (!vma || vma->vm_flags & VM_MAYSHARE) { vm_flags 4755 mm/hugetlb.c if (!vma || vma->vm_flags & VM_MAYSHARE) vm_flags 4813 mm/hugetlb.c unsigned long vm_flags = vma->vm_flags & VM_LOCKED_CLEAR_MASK; vm_flags 4814 mm/hugetlb.c unsigned long svm_flags = svma->vm_flags & VM_LOCKED_CLEAR_MASK; vm_flags 4821 mm/hugetlb.c vm_flags != svm_flags || vm_flags 4836 mm/hugetlb.c if (vma->vm_flags & VM_MAYSHARE && range_in_vma(vma, base, end)) vm_flags 4851 mm/hugetlb.c if (!(vma->vm_flags & VM_MAYSHARE)) vm_flags 44 mm/internal.h return !(vma->vm_flags & (VM_LOCKED|VM_HUGETLB|VM_PFNMAP)); vm_flags 314 mm/khugepaged.c unsigned long *vm_flags, int advice) vm_flags 327 mm/khugepaged.c *vm_flags &= ~VM_NOHUGEPAGE; vm_flags 328 mm/khugepaged.c *vm_flags |= VM_HUGEPAGE; vm_flags 334 mm/khugepaged.c if (!(*vm_flags & VM_NO_KHUGEPAGED) && vm_flags 335 mm/khugepaged.c khugepaged_enter_vma_merge(vma, *vm_flags)) vm_flags 339 mm/khugepaged.c *vm_flags &= ~VM_HUGEPAGE; vm_flags 340 mm/khugepaged.c *vm_flags |= VM_NOHUGEPAGE; vm_flags 408 mm/khugepaged.c unsigned long vm_flags) vm_flags 410 mm/khugepaged.c if ((!(vm_flags & VM_HUGEPAGE) && !khugepaged_always()) || vm_flags 411 mm/khugepaged.c (vm_flags & VM_NOHUGEPAGE) || vm_flags 418 mm/khugepaged.c (vm_flags & VM_DENYWRITE))) { vm_flags 428 mm/khugepaged.c return !(vm_flags & VM_NO_KHUGEPAGED); vm_flags 465 mm/khugepaged.c unsigned long vm_flags) vm_flags 474 mm/khugepaged.c if (!hugepage_vma_check(vma, vm_flags)) vm_flags 480 mm/khugepaged.c return khugepaged_enter(vma, vm_flags); vm_flags 877 mm/khugepaged.c if (!hugepage_vma_check(vma, vma->vm_flags)) vm_flags 1311 mm/khugepaged.c if (!hugepage_vma_check(vma, vma->vm_flags | VM_HUGEPAGE)) vm_flags 1947 mm/khugepaged.c if (!hugepage_vma_check(vma, vma->vm_flags)) { vm_flags 528 mm/ksm.c if (!(vma->vm_flags & VM_MERGEABLE) || !vma->anon_vma) vm_flags 983 mm/ksm.c if (!(vma->vm_flags & VM_MERGEABLE) || !vma->anon_vma) vm_flags 1254 mm/ksm.c if ((vma->vm_flags & VM_LOCKED) && kpage && !err) { vm_flags 2295 mm/ksm.c if (!(vma->vm_flags & VM_MERGEABLE)) vm_flags 2437 mm/ksm.c unsigned long end, int advice, unsigned long *vm_flags) vm_flags 2447 mm/ksm.c if (*vm_flags & (VM_MERGEABLE | VM_SHARED | VM_MAYSHARE | vm_flags 2456 mm/ksm.c if (*vm_flags & VM_SAO) vm_flags 2460 mm/ksm.c if (*vm_flags & VM_SPARC_ADI) vm_flags 2470 mm/ksm.c *vm_flags |= VM_MERGEABLE; vm_flags 2474 mm/ksm.c if (!(*vm_flags & VM_MERGEABLE)) vm_flags 2483 mm/ksm.c *vm_flags &= ~VM_MERGEABLE; vm_flags 72 mm/madvise.c unsigned long new_flags = vma->vm_flags; vm_flags 88 mm/madvise.c if (vma->vm_flags & VM_IO) { vm_flags 96 mm/madvise.c if (vma->vm_file || vma->vm_flags & VM_SHARED) { vm_flags 129 mm/madvise.c if (new_flags == vma->vm_flags) { vm_flags 169 mm/madvise.c vma->vm_flags = new_flags; vm_flags 830 mm/madvise.c if (vma->vm_flags & VM_LOCKED) vm_flags 839 mm/madvise.c if ((vma->vm_flags & (VM_SHARED|VM_WRITE)) != (VM_SHARED|VM_WRITE)) vm_flags 522 mm/memory.c (void *)addr, vma->vm_flags, vma->anon_vma, mapping, index); vm_flags 584 mm/memory.c if (vma->vm_flags & (VM_PFNMAP | VM_MIXEDMAP)) vm_flags 597 mm/memory.c if (unlikely(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))) { vm_flags 598 mm/memory.c if (vma->vm_flags & VM_MIXEDMAP) { vm_flags 607 mm/memory.c if (!is_cow_mapping(vma->vm_flags)) vm_flags 640 mm/memory.c if (unlikely(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))) { vm_flags 641 mm/memory.c if (vma->vm_flags & VM_MIXEDMAP) { vm_flags 650 mm/memory.c if (!is_cow_mapping(vma->vm_flags)) vm_flags 682 mm/memory.c unsigned long vm_flags = vma->vm_flags; vm_flags 709 mm/memory.c is_cow_mapping(vm_flags)) { vm_flags 744 mm/memory.c is_cow_mapping(vm_flags)) { vm_flags 757 mm/memory.c if (is_cow_mapping(vm_flags) && pte_write(pte)) { vm_flags 766 mm/memory.c if (vm_flags & VM_SHARED) vm_flags 954 mm/memory.c if (!(vma->vm_flags & (VM_HUGETLB | VM_PFNMAP | VM_MIXEDMAP)) && vm_flags 961 mm/memory.c if (unlikely(vma->vm_flags & VM_PFNMAP)) { vm_flags 977 mm/memory.c is_cow = is_cow_mapping(vma->vm_flags); vm_flags 1058 mm/memory.c likely(!(vma->vm_flags & VM_SEQ_READ))) vm_flags 1260 mm/memory.c if (unlikely(vma->vm_flags & VM_PFNMAP)) vm_flags 1385 mm/memory.c !(vma->vm_flags & VM_PFNMAP)) vm_flags 1491 mm/memory.c if (!(vma->vm_flags & VM_MIXEDMAP)) { vm_flags 1493 mm/memory.c BUG_ON(vma->vm_flags & VM_PFNMAP); vm_flags 1494 mm/memory.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 1661 mm/memory.c BUG_ON(!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))); vm_flags 1662 mm/memory.c BUG_ON((vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) == vm_flags 1664 mm/memory.c BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); vm_flags 1665 mm/memory.c BUG_ON((vma->vm_flags & VM_MIXEDMAP) && pfn_valid(pfn)); vm_flags 1710 mm/memory.c if (vma->vm_flags & VM_MIXEDMAP) vm_flags 1924 mm/memory.c if (is_cow_mapping(vma->vm_flags)) { vm_flags 1934 mm/memory.c vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 2439 mm/memory.c if (page_copied && (vma->vm_flags & VM_LOCKED)) { vm_flags 2474 mm/memory.c WARN_ON_ONCE(!(vmf->vma->vm_flags & VM_SHARED)); vm_flags 2577 mm/memory.c if ((vma->vm_flags & (VM_WRITE|VM_SHARED)) == vm_flags 2633 mm/memory.c } else if (unlikely((vma->vm_flags & (VM_WRITE|VM_SHARED)) == vm_flags 2918 mm/memory.c (vma->vm_flags & VM_LOCKED) || PageMlocked(page)) vm_flags 2975 mm/memory.c if (vma->vm_flags & VM_SHARED) vm_flags 3034 mm/memory.c if (vma->vm_flags & VM_WRITE) vm_flags 3316 mm/memory.c if (write && !(vma->vm_flags & VM_SHARED)) { vm_flags 3356 mm/memory.c !(vmf->vma->vm_flags & VM_SHARED)) vm_flags 3365 mm/memory.c if (!(vmf->vma->vm_flags & VM_SHARED)) vm_flags 3635 mm/memory.c else if (!(vma->vm_flags & VM_SHARED)) vm_flags 3726 mm/memory.c if (page_mapcount(page) > 1 && (vma->vm_flags & VM_SHARED)) vm_flags 3771 mm/memory.c VM_BUG_ON_VMA(vmf->vma->vm_flags & VM_SHARED, vmf->vma); vm_flags 3779 mm/memory.c return vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE); vm_flags 4242 mm/memory.c if (!(vma->vm_flags & (VM_IO | VM_PFNMAP))) vm_flags 4263 mm/memory.c if (!(vma->vm_flags & (VM_IO | VM_PFNMAP))) vm_flags 646 mm/mempolicy.c (vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)) && vm_flags 647 mm/mempolicy.c !(vma->vm_flags & VM_MIXEDMAP)) vm_flags 760 mm/mempolicy.c prev = vma_merge(mm, prev, vmstart, vmend, vma->vm_flags, vm_flags 272 mm/migrate.c if (vma->vm_flags & VM_LOCKED && !PageTransCompound(new)) vm_flags 1982 mm/migrate.c (vma->vm_flags & VM_EXEC)) vm_flags 2670 mm/migrate.c (args->vma->vm_flags & VM_SPECIAL) || vma_is_dax(args->vma)) vm_flags 2772 mm/migrate.c swp_entry = make_device_private_entry(page, vma->vm_flags & VM_WRITE); vm_flags 2777 mm/migrate.c if (vma->vm_flags & VM_WRITE) vm_flags 448 mm/mlock.c vma->vm_flags &= VM_LOCKED_CLEAR_MASK; vm_flags 527 mm/mlock.c vm_flags_t old_flags = vma->vm_flags; vm_flags 529 mm/mlock.c if (newflags == vma->vm_flags || (vma->vm_flags & VM_SPECIAL) || vm_flags 574 mm/mlock.c vma->vm_flags = newflags; vm_flags 606 mm/mlock.c vm_flags_t newflags = vma->vm_flags & VM_LOCKED_CLEAR_MASK; vm_flags 657 mm/mlock.c if (vma->vm_flags & VM_LOCKED) { vm_flags 725 mm/mlock.c vm_flags_t vm_flags = VM_LOCKED; vm_flags 731 mm/mlock.c vm_flags |= VM_LOCKONFAULT; vm_flags 733 mm/mlock.c return do_mlock(start, len, vm_flags); vm_flags 788 mm/mlock.c newflags = vma->vm_flags & VM_LOCKED_CLEAR_MASK; vm_flags 106 mm/mmap.c pgprot_t vm_get_page_prot(unsigned long vm_flags) vm_flags 108 mm/mmap.c pgprot_t ret = __pgprot(pgprot_val(protection_map[vm_flags & vm_flags 110 mm/mmap.c pgprot_val(arch_vm_get_page_prot(vm_flags))); vm_flags 116 mm/mmap.c static pgprot_t vm_pgprot_modify(pgprot_t oldprot, unsigned long vm_flags) vm_flags 118 mm/mmap.c return pgprot_modify(oldprot, vm_get_page_prot(vm_flags)); vm_flags 124 mm/mmap.c unsigned long vm_flags = vma->vm_flags; vm_flags 127 mm/mmap.c vm_page_prot = vm_pgprot_modify(vma->vm_page_prot, vm_flags); vm_flags 129 mm/mmap.c vm_flags &= ~VM_SHARED; vm_flags 130 mm/mmap.c vm_page_prot = vm_pgprot_modify(vm_page_prot, vm_flags); vm_flags 142 mm/mmap.c if (vma->vm_flags & VM_DENYWRITE) vm_flags 144 mm/mmap.c if (vma->vm_flags & VM_SHARED) vm_flags 620 mm/mmap.c if (vma->vm_flags & VM_DENYWRITE) vm_flags 622 mm/mmap.c if (vma->vm_flags & VM_SHARED) vm_flags 1011 mm/mmap.c struct file *file, unsigned long vm_flags, vm_flags 1022 mm/mmap.c if ((vma->vm_flags ^ vm_flags) & ~VM_SOFTDIRTY) vm_flags 1059 mm/mmap.c can_vma_merge_before(struct vm_area_struct *vma, unsigned long vm_flags, vm_flags 1064 mm/mmap.c if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx) && vm_flags 1080 mm/mmap.c can_vma_merge_after(struct vm_area_struct *vma, unsigned long vm_flags, vm_flags 1085 mm/mmap.c if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx) && vm_flags 1137 mm/mmap.c unsigned long end, unsigned long vm_flags, vm_flags 1150 mm/mmap.c if (vm_flags & VM_SPECIAL) vm_flags 1171 mm/mmap.c can_vma_merge_after(prev, vm_flags, vm_flags 1179 mm/mmap.c can_vma_merge_before(next, vm_flags, vm_flags 1194 mm/mmap.c khugepaged_enter_vma_merge(prev, vm_flags); vm_flags 1203 mm/mmap.c can_vma_merge_before(next, vm_flags, vm_flags 1221 mm/mmap.c khugepaged_enter_vma_merge(area, vm_flags); vm_flags 1246 mm/mmap.c !((a->vm_flags ^ b->vm_flags) & ~(VM_READ|VM_WRITE|VM_EXEC|VM_SOFTDIRTY)) && vm_flags 1391 mm/mmap.c unsigned long flags, vm_flags_t vm_flags, vm_flags 1457 mm/mmap.c vm_flags |= calc_vm_prot_bits(prot, pkey) | calc_vm_flag_bits(flags) | vm_flags 1464 mm/mmap.c if (mlock_future_check(mm, vm_flags, len)) vm_flags 1510 mm/mmap.c vm_flags |= VM_SHARED | VM_MAYSHARE; vm_flags 1512 mm/mmap.c vm_flags &= ~(VM_MAYWRITE | VM_SHARED); vm_flags 1519 mm/mmap.c if (vm_flags & VM_EXEC) vm_flags 1521 mm/mmap.c vm_flags &= ~VM_MAYEXEC; vm_flags 1526 mm/mmap.c if (vm_flags & (VM_GROWSDOWN|VM_GROWSUP)) vm_flags 1536 mm/mmap.c if (vm_flags & (VM_GROWSDOWN|VM_GROWSUP)) vm_flags 1542 mm/mmap.c vm_flags |= VM_SHARED | VM_MAYSHARE; vm_flags 1562 mm/mmap.c vm_flags |= VM_NORESERVE; vm_flags 1566 mm/mmap.c vm_flags |= VM_NORESERVE; vm_flags 1569 mm/mmap.c addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); vm_flags 1571 mm/mmap.c ((vm_flags & VM_LOCKED) || vm_flags 1665 mm/mmap.c vm_flags_t vm_flags = vma->vm_flags; vm_flags 1669 mm/mmap.c if ((vm_flags & (VM_WRITE|VM_SHARED)) != ((VM_WRITE|VM_SHARED))) vm_flags 1679 mm/mmap.c pgprot_val(vm_pgprot_modify(vm_page_prot, vm_flags))) vm_flags 1683 mm/mmap.c if (IS_ENABLED(CONFIG_MEM_SOFT_DIRTY) && !(vm_flags & VM_SOFTDIRTY)) vm_flags 1687 mm/mmap.c if (vm_flags & VM_PFNMAP) vm_flags 1699 mm/mmap.c static inline int accountable_mapping(struct file *file, vm_flags_t vm_flags) vm_flags 1708 mm/mmap.c return (vm_flags & (VM_NORESERVE | VM_SHARED | VM_WRITE)) == VM_WRITE; vm_flags 1712 mm/mmap.c unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, vm_flags 1722 mm/mmap.c if (!may_expand_vm(mm, vm_flags, len >> PAGE_SHIFT)) { vm_flags 1731 mm/mmap.c if (!may_expand_vm(mm, vm_flags, vm_flags 1746 mm/mmap.c if (accountable_mapping(file, vm_flags)) { vm_flags 1750 mm/mmap.c vm_flags |= VM_ACCOUNT; vm_flags 1756 mm/mmap.c vma = vma_merge(mm, prev, addr, addr + len, vm_flags, vm_flags 1774 mm/mmap.c vma->vm_flags = vm_flags; vm_flags 1775 mm/mmap.c vma->vm_page_prot = vm_get_page_prot(vm_flags); vm_flags 1779 mm/mmap.c if (vm_flags & VM_DENYWRITE) { vm_flags 1784 mm/mmap.c if (vm_flags & VM_SHARED) { vm_flags 1810 mm/mmap.c vm_flags = vma->vm_flags; vm_flags 1811 mm/mmap.c } else if (vm_flags & VM_SHARED) { vm_flags 1822 mm/mmap.c if (vm_flags & VM_SHARED) vm_flags 1824 mm/mmap.c if (vm_flags & VM_DENYWRITE) vm_flags 1831 mm/mmap.c vm_stat_account(mm, vm_flags, len >> PAGE_SHIFT); vm_flags 1832 mm/mmap.c if (vm_flags & VM_LOCKED) { vm_flags 1833 mm/mmap.c if ((vm_flags & VM_SPECIAL) || vma_is_dax(vma) || vm_flags 1836 mm/mmap.c vma->vm_flags &= VM_LOCKED_CLEAR_MASK; vm_flags 1851 mm/mmap.c vma->vm_flags |= VM_SOFTDIRTY; vm_flags 1864 mm/mmap.c if (vm_flags & VM_SHARED) vm_flags 1867 mm/mmap.c if (vm_flags & VM_DENYWRITE) vm_flags 2300 mm/mmap.c if (!may_expand_vm(mm, vma->vm_flags, grow)) vm_flags 2308 mm/mmap.c if (vma->vm_flags & VM_LOCKED) { vm_flags 2319 mm/mmap.c new_start = (vma->vm_flags & VM_GROWSUP) ? vma->vm_start : vm_flags 2346 mm/mmap.c if (!(vma->vm_flags & VM_GROWSUP)) vm_flags 2364 mm/mmap.c (next->vm_flags & (VM_WRITE|VM_READ|VM_EXEC))) { vm_flags 2365 mm/mmap.c if (!(next->vm_flags & VM_GROWSUP)) vm_flags 2404 mm/mmap.c if (vma->vm_flags & VM_LOCKED) vm_flags 2406 mm/mmap.c vm_stat_account(mm, vma->vm_flags, grow); vm_flags 2421 mm/mmap.c khugepaged_enter_vma_merge(vma, vma->vm_flags); vm_flags 2444 mm/mmap.c if (prev && !(prev->vm_flags & VM_GROWSDOWN) && vm_flags 2445 mm/mmap.c (prev->vm_flags & (VM_WRITE|VM_READ|VM_EXEC))) { vm_flags 2484 mm/mmap.c if (vma->vm_flags & VM_LOCKED) vm_flags 2486 mm/mmap.c vm_stat_account(mm, vma->vm_flags, grow); vm_flags 2499 mm/mmap.c khugepaged_enter_vma_merge(vma, vma->vm_flags); vm_flags 2538 mm/mmap.c if (prev->vm_flags & VM_LOCKED) vm_flags 2560 mm/mmap.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 2568 mm/mmap.c if (vma->vm_flags & VM_LOCKED) vm_flags 2591 mm/mmap.c if (vma->vm_flags & VM_ACCOUNT) vm_flags 2593 mm/mmap.c vm_stat_account(mm, vma->vm_flags, -nrpages); vm_flags 2820 mm/mmap.c if (tmp->vm_flags & VM_LOCKED) { vm_flags 2921 mm/mmap.c if (!vma || !(vma->vm_flags & VM_SHARED)) vm_flags 2938 mm/mmap.c if (next->vm_flags != vma->vm_flags) vm_flags 2949 mm/mmap.c prot |= vma->vm_flags & VM_READ ? PROT_READ : 0; vm_flags 2950 mm/mmap.c prot |= vma->vm_flags & VM_WRITE ? PROT_WRITE : 0; vm_flags 2951 mm/mmap.c prot |= vma->vm_flags & VM_EXEC ? PROT_EXEC : 0; vm_flags 2955 mm/mmap.c if (vma->vm_flags & VM_LOCKED) { vm_flags 3051 mm/mmap.c vma->vm_flags = flags; vm_flags 3060 mm/mmap.c vma->vm_flags |= VM_SOFTDIRTY; vm_flags 3134 mm/mmap.c if (vma->vm_flags & VM_LOCKED) vm_flags 3160 mm/mmap.c if (vma->vm_flags & VM_ACCOUNT) vm_flags 3179 mm/mmap.c if ((vma->vm_flags & VM_ACCOUNT) && vm_flags 3230 mm/mmap.c new_vma = vma_merge(mm, prev, addr, addr + len, vma->vm_flags, vm_flags 3396 mm/mmap.c unsigned long vm_flags, void *priv, vm_flags 3409 mm/mmap.c vma->vm_flags = vm_flags | mm->def_flags | VM_DONTEXPAND | VM_SOFTDIRTY; vm_flags 3410 mm/mmap.c vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); vm_flags 3419 mm/mmap.c vm_stat_account(mm, vma->vm_flags, len >> PAGE_SHIFT); vm_flags 3450 mm/mmap.c unsigned long vm_flags, const struct vm_special_mapping *spec) vm_flags 3452 mm/mmap.c return __install_special_mapping(mm, addr, len, vm_flags, (void *)spec, vm_flags 3458 mm/mmap.c unsigned long vm_flags, struct page **pages) vm_flags 3461 mm/mmap.c mm, addr, len, vm_flags, (void *)pages, vm_flags 544 mm/mmu_notifier.c return range->vma->vm_flags & VM_READ; vm_flags 64 mm/mprotect.c if (prot_numa && !(vma->vm_flags & VM_SHARED) && vm_flags 88 mm/mprotect.c if (is_cow_mapping(vma->vm_flags) && vm_flags 120 mm/mprotect.c !(vma->vm_flags & VM_SOFTDIRTY))) { vm_flags 377 mm/mprotect.c unsigned long oldflags = vma->vm_flags; vm_flags 395 mm/mprotect.c (vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) && vm_flags 434 mm/mprotect.c VM_WARN_ON((vma->vm_flags ^ newflags) & ~VM_SOFTDIRTY); vm_flags 457 mm/mprotect.c vma->vm_flags = newflags; vm_flags 536 mm/mprotect.c if (!(vma->vm_flags & VM_GROWSDOWN)) vm_flags 544 mm/mprotect.c if (!(vma->vm_flags & VM_GROWSUP)) vm_flags 559 mm/mprotect.c if (rier && (vma->vm_flags & VM_MAYEXEC)) vm_flags 572 mm/mprotect.c newflags |= (vma->vm_flags & ~mask_off_old_flags); vm_flags 326 mm/mremap.c unsigned long vm_flags = vma->vm_flags; vm_flags 350 mm/mremap.c MADV_UNMERGEABLE, &vm_flags); vm_flags 387 mm/mremap.c if (vm_flags & VM_ACCOUNT) { vm_flags 388 mm/mremap.c vma->vm_flags &= ~VM_ACCOUNT; vm_flags 405 mm/mremap.c vm_stat_account(mm, vma->vm_flags, new_len >> PAGE_SHIFT); vm_flags 408 mm/mremap.c if (unlikely(vma->vm_flags & VM_PFNMAP)) vm_flags 420 mm/mremap.c vma->vm_flags |= VM_ACCOUNT; vm_flags 422 mm/mremap.c vma->vm_next->vm_flags |= VM_ACCOUNT; vm_flags 425 mm/mremap.c if (vm_flags & VM_LOCKED) { vm_flags 451 mm/mremap.c if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { vm_flags 472 mm/mremap.c if (vma->vm_flags & (VM_DONTEXPAND | VM_PFNMAP)) vm_flags 475 mm/mremap.c if (vma->vm_flags & VM_LOCKED) { vm_flags 484 mm/mremap.c if (!may_expand_vm(mm, vma->vm_flags, vm_flags 488 mm/mremap.c if (vma->vm_flags & VM_ACCOUNT) { vm_flags 555 mm/mremap.c if (vma->vm_flags & VM_MAYSHARE) vm_flags 693 mm/mremap.c vm_stat_account(mm, vma->vm_flags, pages); vm_flags 694 mm/mremap.c if (vma->vm_flags & VM_LOCKED) { vm_flags 711 mm/mremap.c if (vma->vm_flags & VM_MAYSHARE) vm_flags 79 mm/msync.c (vma->vm_flags & VM_LOCKED)) { vm_flags 89 mm/msync.c (vma->vm_flags & VM_SHARED)) { vm_flags 127 mm/nommu.c if (!(vma->vm_flags & (VM_IO | VM_PFNMAP))) vm_flags 169 mm/nommu.c vma->vm_flags |= VM_USERMAP; vm_flags 563 mm/nommu.c if (region->vm_flags & VM_MAPPED_COPY) vm_flags 950 mm/nommu.c unsigned long vm_flags; vm_flags 952 mm/nommu.c vm_flags = calc_vm_prot_bits(prot, 0) | calc_vm_flag_bits(flags); vm_flags 957 mm/nommu.c vm_flags |= VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC; vm_flags 959 mm/nommu.c vm_flags |= VM_MAYSHARE; vm_flags 964 mm/nommu.c vm_flags |= VM_MAYSHARE | (capabilities & NOMMU_VMFLAGS); vm_flags 966 mm/nommu.c vm_flags |= VM_SHARED; vm_flags 974 mm/nommu.c vm_flags &= ~VM_MAYSHARE; vm_flags 976 mm/nommu.c return vm_flags; vm_flags 1021 mm/nommu.c BUG_ON(!(vma->vm_flags & VM_MAYSHARE)); vm_flags 1052 mm/nommu.c region->vm_flags = vma->vm_flags |= VM_MAPPED_COPY; vm_flags 1103 mm/nommu.c vm_flags_t vm_flags, vm_flags 1129 mm/nommu.c vm_flags |= determine_vm_flags(file, prot, flags, capabilities); vm_flags 1141 mm/nommu.c region->vm_flags = vm_flags; vm_flags 1144 mm/nommu.c vma->vm_flags = vm_flags; vm_flags 1162 mm/nommu.c if (vm_flags & VM_MAYSHARE) { vm_flags 1172 mm/nommu.c if (!(pregion->vm_flags & VM_MAYSHARE)) vm_flags 1207 mm/nommu.c if (pregion->vm_flags & VM_MAPPED_COPY) vm_flags 1208 mm/nommu.c vma->vm_flags |= VM_MAPPED_COPY; vm_flags 1259 mm/nommu.c if (file && vma->vm_flags & VM_SHARED) vm_flags 1284 mm/nommu.c if (vma->vm_flags & VM_EXEC && !region->vm_icache_flushed) { vm_flags 1622 mm/nommu.c if (vma->vm_flags & VM_MAYSHARE) vm_flags 1657 mm/nommu.c vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; vm_flags 1677 mm/nommu.c if (!(vma->vm_flags & VM_USERMAP)) vm_flags 1724 mm/nommu.c if (write && vma->vm_flags & VM_MAYWRITE) vm_flags 1727 mm/nommu.c else if (!write && vma->vm_flags & VM_MAYREAD) vm_flags 1809 mm/nommu.c if (vma->vm_flags & VM_SHARED) { vm_flags 1823 mm/nommu.c if (!(vma->vm_flags & VM_SHARED)) vm_flags 539 mm/oom_kill.c if (vma_is_anonymous(vma) || !(vma->vm_flags & VM_SHARED)) { vm_flags 242 mm/pagewalk.c if (vma->vm_flags & VM_PFNMAP) { vm_flags 748 mm/rmap.c unsigned long vm_flags; vm_flags 768 mm/rmap.c if (vma->vm_flags & VM_LOCKED) { vm_flags 770 mm/rmap.c pra->vm_flags |= VM_LOCKED; vm_flags 785 mm/rmap.c if (likely(!(vma->vm_flags & VM_SEQ_READ))) vm_flags 807 mm/rmap.c pra->vm_flags |= vma->vm_flags; vm_flags 840 mm/rmap.c unsigned long *vm_flags) vm_flags 853 mm/rmap.c *vm_flags = 0; vm_flags 876 mm/rmap.c *vm_flags = pra.vm_flags; vm_flags 960 mm/rmap.c if (vma->vm_flags & VM_SHARED) vm_flags 1357 mm/rmap.c if ((flags & TTU_MUNLOCK) && !(vma->vm_flags & VM_LOCKED)) vm_flags 1407 mm/rmap.c if (vma->vm_flags & VM_LOCKED) { vm_flags 1676 mm/rmap.c int maybe_stack = vma->vm_flags & (VM_GROWSDOWN | VM_GROWSUP); vm_flags 1681 mm/rmap.c if ((vma->vm_flags & VM_STACK_INCOMPLETE_SETUP) == vm_flags 2060 mm/shmem.c if ((vma->vm_flags & VM_NOHUGEPAGE) || vm_flags 2063 mm/shmem.c else if (vma->vm_flags & VM_HUGEPAGE) vm_flags 2217 mm/shmem.c if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_WRITE)) vm_flags 2227 mm/shmem.c if (vma->vm_flags & VM_SHARED) vm_flags 2228 mm/shmem.c vma->vm_flags &= ~(VM_MAYWRITE); vm_flags 2236 mm/shmem.c khugepaged_enter(vma, vma->vm_flags); vm_flags 2383 mm/shmem.c if (dst_vma->vm_flags & VM_WRITE) vm_flags 3997 mm/shmem.c if ((vma->vm_flags & VM_NOHUGEPAGE) || vm_flags 4018 mm/shmem.c return (vma->vm_flags & VM_HUGEPAGE); vm_flags 4184 mm/shmem.c file = shmem_kernel_file_setup("dev/zero", size, vma->vm_flags); vm_flags 4196 mm/shmem.c khugepaged_enter(vma, vma->vm_flags); vm_flags 460 mm/swap.c if (likely((vma->vm_flags & (VM_LOCKED | VM_SPECIAL)) != VM_LOCKED)) vm_flags 73 mm/userfaultfd.c if (dst_vma->vm_flags & VM_WRITE) vm_flags 180 mm/userfaultfd.c int vm_alloc_shared = dst_vma->vm_flags & VM_SHARED; vm_flags 181 mm/userfaultfd.c int vm_shared = dst_vma->vm_flags & VM_SHARED; vm_flags 243 mm/userfaultfd.c vm_shared = dst_vma->vm_flags & VM_SHARED; vm_flags 413 mm/userfaultfd.c if (!(dst_vma->vm_flags & VM_SHARED)) { vm_flags 499 mm/userfaultfd.c dst_vma->vm_flags & VM_SHARED)) vm_flags 518 mm/userfaultfd.c if (!(dst_vma->vm_flags & VM_SHARED) && vm_flags 2481 mm/vmalloc.c pgprot_t prot, unsigned long vm_flags, int node, vm_flags 2493 mm/vmalloc.c vm_flags, start, end, node, gfp_mask, caller); vm_flags 3033 mm/vmalloc.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 1035 mm/vmscan.c unsigned long vm_flags; vm_flags 1038 mm/vmscan.c &vm_flags); vm_flags 1045 mm/vmscan.c if (vm_flags & VM_LOCKED) vm_flags 1073 mm/vmscan.c if (vm_flags & VM_EXEC) vm_flags 2050 mm/vmscan.c unsigned long vm_flags; vm_flags 2095 mm/vmscan.c &vm_flags)) { vm_flags 2106 mm/vmscan.c if ((vm_flags & VM_EXEC) && page_is_file_cache(page)) { vm_flags 1734 net/ipv4/tcp.c if (vma->vm_flags & (VM_WRITE | VM_EXEC)) vm_flags 1736 net/ipv4/tcp.c vma->vm_flags &= ~(VM_MAYWRITE | VM_MAYEXEC); vm_flags 1739 net/ipv4/tcp.c vma->vm_flags |= VM_MIXEDMAP; vm_flags 778 samples/vfio-mdev/mbochs.c if ((vma->vm_flags & VM_SHARED) == 0) vm_flags 810 samples/vfio-mdev/mbochs.c if ((vma->vm_flags & VM_SHARED) == 0) vm_flags 417 samples/vfio-mdev/mdpy.c if ((vma->vm_flags & VM_SHARED) == 0) vm_flags 513 security/apparmor/lsm.c !(vma->vm_flags & VM_SHARED) ? MAP_PRIVATE : 0); vm_flags 3738 security/selinux/hooks.c (prot & PROT_EXEC) && !(vma->vm_flags & VM_EXEC)) { vm_flags 3766 security/selinux/hooks.c return file_map_prot_check(vma->vm_file, prot, vma->vm_flags&VM_SHARED); vm_flags 257 security/selinux/selinuxfs.c if (vma->vm_flags & VM_WRITE) vm_flags 260 security/selinux/selinuxfs.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 483 security/selinux/selinuxfs.c if (vma->vm_flags & VM_SHARED) { vm_flags 485 security/selinux/selinuxfs.c vma->vm_flags &= ~VM_MAYWRITE; vm_flags 487 security/selinux/selinuxfs.c if (vma->vm_flags & VM_WRITE) vm_flags 491 security/selinux/selinuxfs.c vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 2844 sound/core/oss/pcm_oss.c switch ((area->vm_flags & (VM_READ | VM_WRITE))) { vm_flags 2861 sound/core/oss/pcm_oss.c area->vm_flags |= VM_READ; vm_flags 3261 sound/core/pcm_native.c if (!(area->vm_flags & VM_READ)) vm_flags 3268 sound/core/pcm_native.c area->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 3297 sound/core/pcm_native.c if (!(area->vm_flags & VM_READ)) vm_flags 3304 sound/core/pcm_native.c area->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 3416 sound/core/pcm_native.c area->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 3478 sound/core/pcm_native.c if (!(area->vm_flags & (VM_WRITE|VM_READ))) vm_flags 3481 sound/core/pcm_native.c if (!(area->vm_flags & VM_READ)) vm_flags 236 sound/usb/usx2y/us122l.c if (read && area->vm_flags & VM_WRITE) { vm_flags 251 sound/usb/usx2y/us122l.c area->vm_flags |= VM_DONTDUMP; vm_flags 253 sound/usb/usx2y/us122l.c area->vm_flags |= VM_DONTEXPAND; vm_flags 72 sound/usb/usx2y/usX2Yhwdep.c area->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 683 sound/usb/usx2y/usx2yhwdeppcm.c area->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vm_flags 956 virt/kvm/arm/mmu.c if (!(vma->vm_flags & VM_PFNMAP)) { vm_flags 1706 virt/kvm/arm/mmu.c (vma->vm_flags & VM_PFNMAP) || vm_flags 2322 virt/kvm/arm/mmu.c if (writable && !(vma->vm_flags & VM_WRITE)) { vm_flags 2333 virt/kvm/arm/mmu.c if (vma->vm_flags & VM_PFNMAP) { vm_flags 1585 virt/kvm/kvm_main.c if (unlikely(!(vma->vm_flags & VM_READ))) vm_flags 1588 virt/kvm/kvm_main.c if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE)))) vm_flags 1689 virt/kvm/kvm_main.c else if (vma->vm_flags & (VM_IO | VM_PFNMAP)) {