| /linux/arch/powerpc/include/asm/nohash/32/ |
| H A D | pte-8xx.h | 43 #define _PAGE_EXEC 0x0040 /* Copied to PP (bit 21) in ITLB */ macro 51 #define _PAGE_NAX (_PAGE_NA | _PAGE_EXEC) 52 #define _PAGE_ROX (_PAGE_RO | _PAGE_EXEC) 54 #define _PAGE_RWX _PAGE_EXEC 61 #define _PAGE_KERNEL_ROX (_PAGE_SH | _PAGE_RO | _PAGE_EXEC) 63 #define _PAGE_KERNEL_RWX (_PAGE_SH | _PAGE_DIRTY | _PAGE_EXEC) 134 unsigned long set = pte_val(entry) & (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_EXEC); in __ptep_set_access_flags()
|
| H A D | pte-44x.h | 67 #define _PAGE_EXEC 0x00000004 /* H: Execute permission */ macro
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable-bits.h | 14 #define _PAGE_EXEC (1 << 3) /* Executable */ macro 35 _PAGE_EXEC : 0) 76 #define _PAGE_LEAF (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
|
| H A D | pgtable-32.h | 33 _PAGE_WRITE | _PAGE_EXEC | \
|
| H A D | pgtable.h | 162 #define PAGE_EXEC __pgprot(_PAGE_BASE | _PAGE_EXEC) 163 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 165 _PAGE_EXEC | _PAGE_WRITE) 182 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) 184 | _PAGE_EXEC) 367 return pte_val(pte) & _PAGE_EXEC; in pte_exec() 707 return __pgprot(pgprot_val(_prot) & ~_PAGE_EXEC); in pgprot_nx()
|
| H A D | pgtable-64.h | 173 _PAGE_WRITE | _PAGE_EXEC | \
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pgtable-masks.h | 7 #define _PAGE_NAX _PAGE_EXEC 9 #define _PAGE_ROX (_PAGE_READ | _PAGE_EXEC) 11 #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 93 if (IS_ENABLED(CONFIG_44x) && !is_kernel_addr(addr) && (old & _PAGE_EXEC)) in pte_update() 148 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags() 188 return __pte(pte_val(pte) | _PAGE_EXEC); in pte_mkexec() 203 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 270 return __pte(pte_val(pte) & ~_PAGE_EXEC); in pte_exprotect()
|
| H A D | pte-e500.h | 40 #define _PAGE_EXEC (_PAGE_BAP_SX | _PAGE_BAP_UX) /* .. and was cache cleaned */ macro
|
| /linux/arch/powerpc/mm/ptdump/ |
| H A D | 8xx.c | 36 .mask = _PAGE_EXEC, 37 .val = _PAGE_EXEC,
|
| H A D | shared.c | 24 .mask = _PAGE_EXEC, 25 .val = _PAGE_EXEC,
|
| H A D | book3s64.c | 29 .mask = _PAGE_EXEC, 30 .val = _PAGE_EXEC,
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 30 #define _PAGE_EXEC 0x200 /* software: exec allowed */ macro 335 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags() 399 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 466 return __pte(pte_val(pte) & ~_PAGE_EXEC); in pte_exprotect() 481 return __pte(pte_val(pte) | _PAGE_EXEC); in pte_mkexec()
|
| /linux/arch/parisc/include/asm/ |
| H A D | pgtable.h | 193 #define _PAGE_EXEC (1 << xlate_pabit(_PAGE_EXEC_BIT)) macro 208 #define _PAGE_KERNEL_EXEC (_PAGE_KERNEL_RO | _PAGE_EXEC) 238 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) 240 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
|
| /linux/arch/nios2/include/asm/ |
| H A D | pgtable-bits.h | 21 #define _PAGE_EXEC (1<<21) macro
|
| /linux/arch/riscv/mm/ |
| H A D | ptdump.c | 167 .mask = _PAGE_EXEC, 268 if ((st->current_prot & (_PAGE_WRITE | _PAGE_EXEC)) != in note_prot_wx() 269 (_PAGE_WRITE | _PAGE_EXEC)) in note_prot_wx()
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgtable.h | 17 #define _PAGE_EXEC 0x00001 /* execute permission */ macro 117 #define _PAGE_KERNEL_ROX (_PAGE_PRIVILEGED | _PAGE_READ | _PAGE_EXEC) 118 #define _PAGE_KERNEL_RWX (_PAGE_PRIVILEGED | _PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) 472 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_EXEC)); in pte_exec() 580 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_EXEC)); in pte_exprotect() 595 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_EXEC)); in pte_mkexec()
|
| H A D | hash.h | 230 _PAGE_EXEC | _PAGE_SOFT_DIRTY); in hash__ptep_set_access_flags()
|
| /linux/arch/powerpc/mm/nohash/ |
| H A D | e500.c | 127 TLBCAM[index].MAS3 |= (flags & _PAGE_EXEC) ? MAS3_UX : 0; in settlbcam() 130 TLBCAM[index].MAS3 |= (flags & _PAGE_EXEC) ? MAS3_SX : 0; in settlbcam()
|
| /linux/arch/riscv/kernel/ |
| H A D | efi.c | 72 val = pte_val(pte) & ~_PAGE_EXEC; in set_permissions()
|
| H A D | hibernate.c | 372 ret = temp_pgtable_mapping(resume_pg_dir, start, end, __pgprot(_PAGE_WRITE | _PAGE_EXEC)); in swsusp_arch_resume()
|
| /linux/arch/openrisc/mm/ |
| H A D | fault.c | 157 if ((vector == 0x400) && !(vma->vm_page_prot.pgprot & _PAGE_EXEC)) in do_page_fault()
|
| /linux/arch/powerpc/kernel/ |
| H A D | head_44x.S | 459 li r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC 690 li r13,_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_EXEC
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | hash_utils.c | 561 if ((pteflags & _PAGE_EXEC) == 0) in htab_convert_pte_flags() 1995 access |= _PAGE_EXEC; in DEFINE_INTERRUPT_HANDLER() 2038 unsigned long access = _PAGE_PRESENT | _PAGE_READ | (is_exec ? _PAGE_EXEC : 0); in hash_preload()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 220 gpte->may_execute = !!(pte & _PAGE_EXEC); in kvmppc_mmu_walk_radix_tree() 893 pte = __pte(pte_val(pte) | _PAGE_EXEC | _PAGE_ACCESSED); in kvmppc_book3s_instantiate_page()
|