_PAGE_EXEC 231 arch/microblaze/include/asm/pgtable.h #ifndef _PAGE_EXEC _PAGE_EXEC 253 arch/microblaze/include/asm/pgtable.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 256 arch/microblaze/include/asm/pgtable.h __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 258 arch/microblaze/include/asm/pgtable.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 334 arch/microblaze/include/asm/pgtable.h static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } _PAGE_EXEC 346 arch/microblaze/include/asm/pgtable.h { pte_val(pte) &= ~_PAGE_EXEC; return pte; } _PAGE_EXEC 355 arch/microblaze/include/asm/pgtable.h { pte_val(pte) |= _PAGE_USER | _PAGE_EXEC; return pte; } _PAGE_EXEC 37 arch/nios2/include/asm/pgtable.h ((x) ? _PAGE_EXEC : 0) | \ _PAGE_EXEC 67 arch/nios2/include/asm/pgtable.h _PAGE_WRITE | _PAGE_EXEC | _PAGE_GLOBAL) _PAGE_EXEC 181 arch/nios2/include/asm/pgtable.h const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; _PAGE_EXEC 200 arch/nios2/mm/tlb.c (tlbacc & _PAGE_EXEC ? 'x' : '-'), _PAGE_EXEC 161 arch/openrisc/include/asm/pgtable.h #define PAGE_READONLY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) _PAGE_EXEC 167 arch/openrisc/include/asm/pgtable.h | _PAGE_SHARED | _PAGE_EXEC) _PAGE_EXEC 169 arch/openrisc/include/asm/pgtable.h #define PAGE_COPY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) _PAGE_EXEC 173 arch/openrisc/include/asm/pgtable.h | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC) _PAGE_EXEC 176 arch/openrisc/include/asm/pgtable.h | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC) _PAGE_EXEC 179 arch/openrisc/include/asm/pgtable.h | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC | _PAGE_CI) _PAGE_EXEC 236 arch/openrisc/include/asm/pgtable.h static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } _PAGE_EXEC 256 arch/openrisc/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_EXEC); _PAGE_EXEC 286 arch/openrisc/include/asm/pgtable.h pte_val(pte) |= _PAGE_EXEC; _PAGE_EXEC 153 arch/openrisc/mm/fault.c if ((vector == 0x400) && !(vma->vm_page_prot.pgprot & _PAGE_EXEC)) _PAGE_EXEC 229 arch/parisc/include/asm/pgtable.h #define _PAGE_KERNEL_EXEC (_PAGE_KERNEL_RO | _PAGE_EXEC) _PAGE_EXEC 258 arch/parisc/include/asm/pgtable.h #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) _PAGE_EXEC 260 arch/parisc/include/asm/pgtable.h #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) _PAGE_EXEC 13 arch/powerpc/include/asm/book3s/32/pgtable.h #define _PAGE_KERNEL_ROX (_PAGE_EXEC) _PAGE_EXEC 15 arch/powerpc/include/asm/book3s/32/pgtable.h #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 69 arch/powerpc/include/asm/book3s/32/pgtable.h #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 71 arch/powerpc/include/asm/book3s/32/pgtable.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 73 arch/powerpc/include/asm/book3s/32/pgtable.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 337 arch/powerpc/include/asm/book3s/32/pgtable.h (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); _PAGE_EXEC 388 arch/powerpc/include/asm/book3s/32/pgtable.h static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } _PAGE_EXEC 455 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) & ~_PAGE_EXEC); _PAGE_EXEC 470 arch/powerpc/include/asm/book3s/32/pgtable.h return __pte(pte_val(pte) | _PAGE_EXEC); _PAGE_EXEC 190 arch/powerpc/include/asm/book3s/64/hash.h _PAGE_EXEC | _PAGE_SOFT_DIRTY); _PAGE_EXEC 21 arch/powerpc/include/asm/book3s/64/pgtable.h #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) _PAGE_EXEC 119 arch/powerpc/include/asm/book3s/64/pgtable.h _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 149 arch/powerpc/include/asm/book3s/64/pgtable.h #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 151 arch/powerpc/include/asm/book3s/64/pgtable.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) _PAGE_EXEC 153 arch/powerpc/include/asm/book3s/64/pgtable.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) _PAGE_EXEC 497 arch/powerpc/include/asm/book3s/64/pgtable.h return !!(pte_raw(pte) & cpu_to_be64(_PAGE_EXEC)); _PAGE_EXEC 632 arch/powerpc/include/asm/book3s/64/pgtable.h return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_EXEC)); _PAGE_EXEC 647 arch/powerpc/include/asm/book3s/64/pgtable.h return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_EXEC)); _PAGE_EXEC 192 arch/powerpc/include/asm/nohash/32/pgtable.h return __pte(pte_val(pte) | _PAGE_EXEC); _PAGE_EXEC 250 arch/powerpc/include/asm/nohash/32/pgtable.h if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) _PAGE_EXEC 281 arch/powerpc/include/asm/nohash/32/pgtable.h if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) _PAGE_EXEC 60 arch/powerpc/include/asm/nohash/32/pte-40x.h #define _PAGE_KERNEL_ROX _PAGE_EXEC _PAGE_EXEC 62 arch/powerpc/include/asm/nohash/32/pte-40x.h #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE | _PAGE_EXEC) _PAGE_EXEC 82 arch/powerpc/include/asm/nohash/32/pte-40x.h #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 84 arch/powerpc/include/asm/nohash/32/pte-40x.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 86 arch/powerpc/include/asm/nohash/32/pte-40x.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 92 arch/powerpc/include/asm/nohash/32/pte-44x.h #define _PAGE_KERNEL_ROX _PAGE_EXEC _PAGE_EXEC 94 arch/powerpc/include/asm/nohash/32/pte-44x.h #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 121 arch/powerpc/include/asm/nohash/32/pte-44x.h #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 123 arch/powerpc/include/asm/nohash/32/pte-44x.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 125 arch/powerpc/include/asm/nohash/32/pte-44x.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 54 arch/powerpc/include/asm/nohash/32/pte-8xx.h #define _PAGE_KERNEL_ROX (_PAGE_SH | _PAGE_RO | _PAGE_EXEC) _PAGE_EXEC 56 arch/powerpc/include/asm/nohash/32/pte-8xx.h #define _PAGE_KERNEL_RWX (_PAGE_SH | _PAGE_DIRTY | _PAGE_EXEC) _PAGE_EXEC 80 arch/powerpc/include/asm/nohash/32/pte-8xx.h #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_EXEC) _PAGE_EXEC 82 arch/powerpc/include/asm/nohash/32/pte-8xx.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_RO | _PAGE_EXEC) _PAGE_EXEC 84 arch/powerpc/include/asm/nohash/32/pte-8xx.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_RO | _PAGE_EXEC) _PAGE_EXEC 35 arch/powerpc/include/asm/nohash/32/pte-fsl-booke.h #define _PAGE_KERNEL_ROX _PAGE_EXEC _PAGE_EXEC 37 arch/powerpc/include/asm/nohash/32/pte-fsl-booke.h #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 67 arch/powerpc/include/asm/nohash/32/pte-fsl-booke.h #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 69 arch/powerpc/include/asm/nohash/32/pte-fsl-booke.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 71 arch/powerpc/include/asm/nohash/32/pte-fsl-booke.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 122 arch/powerpc/include/asm/nohash/64/pgtable.h return __pte(pte_val(pte) | _PAGE_EXEC); _PAGE_EXEC 311 arch/powerpc/include/asm/nohash/64/pgtable.h (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); _PAGE_EXEC 54 arch/powerpc/include/asm/nohash/pgtable.h static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } _PAGE_EXEC 130 arch/powerpc/include/asm/nohash/pgtable.h return __pte(pte_val(pte) & ~_PAGE_EXEC); _PAGE_EXEC 96 arch/powerpc/include/asm/nohash/pte-book3e.h #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) _PAGE_EXEC 98 arch/powerpc/include/asm/nohash/pte-book3e.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 100 arch/powerpc/include/asm/nohash/pte-book3e.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) _PAGE_EXEC 202 arch/powerpc/kvm/book3s_64_mmu_radix.c gpte->may_execute = !!(pte & _PAGE_EXEC); _PAGE_EXEC 856 arch/powerpc/kvm/book3s_64_mmu_radix.c pte = __pte(pte_val(pte) | _PAGE_EXEC | _PAGE_ACCESSED); _PAGE_EXEC 1390 arch/powerpc/kvm/book3s_hv_nested.c perm |= gpte.may_execute ? 0UL : _PAGE_EXEC; _PAGE_EXEC 133 arch/powerpc/mm/book3s32/mmu.c wimgxpp = (flags & _PAGE_COHERENT) | (_PAGE_EXEC ? BPP_RX : BPP_XX); _PAGE_EXEC 274 arch/powerpc/mm/book3s32/mmu.c flags &= ~_PAGE_EXEC; _PAGE_EXEC 276 arch/powerpc/mm/book3s32/mmu.c if (flags & _PAGE_EXEC) _PAGE_EXEC 191 arch/powerpc/mm/book3s64/hash_utils.c if ((pteflags & _PAGE_EXEC) == 0) _PAGE_EXEC 1492 arch/powerpc/mm/book3s64/hash_utils.c access |= _PAGE_EXEC; _PAGE_EXEC 1530 arch/powerpc/mm/book3s64/hash_utils.c unsigned long access = _PAGE_PRESENT | _PAGE_READ | (is_exec ? _PAGE_EXEC : 0); _PAGE_EXEC 226 arch/powerpc/mm/book3s64/radix_pgtable.c radix__change_memory_range(start, end, _PAGE_EXEC); _PAGE_EXEC 1037 arch/powerpc/mm/book3s64/radix_pgtable.c _PAGE_RW | _PAGE_EXEC); _PAGE_EXEC 105 arch/powerpc/mm/nohash/40x.c unsigned long val = p | _PMD_SIZE_16M | _PAGE_EXEC | _PAGE_HWWRITE; _PAGE_EXEC 120 arch/powerpc/mm/nohash/40x.c unsigned long val = p | _PMD_SIZE_4M | _PAGE_EXEC | _PAGE_HWWRITE; _PAGE_EXEC 31 arch/powerpc/mm/ptdump/8xx.c .mask = _PAGE_EXEC, _PAGE_EXEC 32 arch/powerpc/mm/ptdump/8xx.c .val = _PAGE_EXEC, _PAGE_EXEC 29 arch/powerpc/mm/ptdump/book3s64.c .mask = _PAGE_EXEC, _PAGE_EXEC 30 arch/powerpc/mm/ptdump/book3s64.c .val = _PAGE_EXEC, _PAGE_EXEC 24 arch/powerpc/mm/ptdump/shared.c .mask = _PAGE_EXEC, _PAGE_EXEC 25 arch/powerpc/mm/ptdump/shared.c .val = _PAGE_EXEC, _PAGE_EXEC 40 arch/riscv/include/asm/pgtable-bits.h _PAGE_WRITE | _PAGE_EXEC | \ _PAGE_EXEC 43 arch/riscv/include/asm/pgtable.h #define PAGE_EXEC __pgprot(_PAGE_BASE | _PAGE_EXEC) _PAGE_EXEC 44 arch/riscv/include/asm/pgtable.h #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) _PAGE_EXEC 46 arch/riscv/include/asm/pgtable.h _PAGE_EXEC | _PAGE_WRITE) _PAGE_EXEC 61 arch/riscv/include/asm/pgtable.h #define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) _PAGE_EXEC 221 arch/riscv/include/asm/pgtable.h return pte_val(pte) & _PAGE_EXEC; _PAGE_EXEC 227 arch/riscv/include/asm/pgtable.h && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); _PAGE_EXEC 8 arch/riscv/mm/hugetlbpage.c (pud_val(pud) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); _PAGE_EXEC 14 arch/riscv/mm/hugetlbpage.c (pmd_val(pmd) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC));