Home
last modified time | relevance | path

Searched refs:_PAGE_NO_EXEC (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/arch/loongarch/include/asm/
Dpgtable-bits.h44 #define _PAGE_NO_EXEC (_ULCAST_(1) << _PAGE_NO_EXEC_SHIFT) macro
87 #define __P000 __pgprot(_CACHE_CC | _PAGE_USER | _PAGE_PROTNONE | _PAGE_NO_EXEC | _PAGE_NO_READ)
88 #define __P001 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC)
89 #define __P010 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC)
90 #define __P011 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC)
96 #define __S000 __pgprot(_CACHE_CC | _PAGE_USER | _PAGE_PROTNONE | _PAGE_NO_EXEC | _PAGE_NO_READ)
97 #define __S001 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC)
98 #define __S010 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAG…
99 #define __S011 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAG…
Dpgtable.h271 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)
/linux-5.19.10/arch/mips/mm/
Dcache.c164 protection_map[0] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
165 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
166 protection_map[2] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
167 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
173 protection_map[8] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
174 protection_map[9] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
175 protection_map[10] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE | in setup_protection_map()
177 protection_map[11] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE); in setup_protection_map()
Dtlbex.c629 if (cpu_has_rixi && _PAGE_NO_EXEC != 0) { in build_convert_pte_to_entrylo()
633 UASM_i_SRL(p, reg, reg, ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo()
635 ilog2(_PAGE_GLOBAL) - ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo()
2568 if (!cpu_has_rixi || _PAGE_NO_EXEC == 0) { in check_pabits()
2592 if (fillbits >= ilog2(_PAGE_NO_EXEC)) in check_pabits()
/linux-5.19.10/arch/mips/include/asm/
Dpgtable-bits.h174 # define _PAGE_NO_EXEC (1 << _PAGE_NO_EXEC_SHIFT) macro
176 # define _PAGE_NO_EXEC (cpu_has_rixi ? (1 << _PAGE_NO_EXEC_SHIFT) : 0) macro
191 #ifndef _PAGE_NO_EXEC
192 #define _PAGE_NO_EXEC 0 macro
230 ((pte_val & (_PAGE_NO_EXEC | _PAGE_NO_READ)) << sa); in pte_to_entrylo()
Dpgtable.h142 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC)
189 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)