Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/mm/
H A Dcache.c184 protection_map[0] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
185 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
186 protection_map[2] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
187 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
193 protection_map[8] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
194 protection_map[9] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
195 protection_map[10] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE | in setup_protection_map()
197 protection_map[11] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE); in setup_protection_map()
H A Dtlbex.c610 if (cpu_has_rixi && _PAGE_NO_EXEC != 0) { in build_convert_pte_to_entrylo()
614 UASM_i_SRL(p, reg, reg, ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo()
616 ilog2(_PAGE_GLOBAL) - ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo()
2517 if (!cpu_has_rixi || _PAGE_NO_EXEC == 0) { in check_pabits()
2541 if (fillbits >= ilog2(_PAGE_NO_EXEC)) in check_pabits()
/openbmc/linux/arch/loongarch/mm/
H A Dcache.c163 _PAGE_PROTNONE | _PAGE_NO_EXEC |
167 _PAGE_NO_EXEC),
170 _PAGE_NO_EXEC),
173 _PAGE_NO_EXEC),
183 _PAGE_PROTNONE | _PAGE_NO_EXEC |
187 _PAGE_NO_EXEC),
190 _PAGE_NO_EXEC | _PAGE_WRITE),
193 _PAGE_NO_EXEC | _PAGE_WRITE),
/openbmc/linux/arch/mips/include/asm/
H A 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()
H A Dpgtable.h117 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC)
164 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)
/openbmc/u-boot/arch/mips/include/asm/
H A Dpgtable-bits.h38 #define _PAGE_NO_EXEC (1 << _PAGE_NO_EXEC_SHIFT) macro
142 #define _PAGE_NO_EXEC (cpu_has_rixi ? (1 << _PAGE_NO_EXEC_SHIFT) : 0) macro
171 #ifndef _PAGE_NO_EXEC
172 #define _PAGE_NO_EXEC 0 macro
214 ((pte_val & (_PAGE_NO_EXEC | _PAGE_NO_READ)) << sa); in pte_to_entrylo()
/openbmc/linux/arch/loongarch/include/asm/
H A Dpgtable-bits.h50 #define _PAGE_NO_EXEC (_ULCAST_(1) << _PAGE_NO_EXEC_SHIFT) macro
H A Dpgtable.h313 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)