Searched refs:_PAGE_NX (Results 1 – 12 of 12) sorted by relevance
134 #define _PAGE_NX 0 /* no-execute bit */ macro158 #define PAGE_NONE __pgprot(__PAGE_NONE | _PAGE_NX)159 #define PAGE_SHARED_NOEXEC __pgprot(__PAGE_SHARED | _PAGE_NX)160 #define PAGE_COPY_NOEXEC __pgprot(__PAGE_COPY | _PAGE_NX)161 #define PAGE_READONLY_NOEXEC __pgprot(__PAGE_READONLY | _PAGE_NX)171 #define __PAGE_KERNEL (__PAGE_KERNEL_BASE | _PAGE_PROT_WKNU | _PAGE_CACHE | _PAGE_NX)172 #define __PAGE_KERNEL_NOCACHE (__PAGE_KERNEL_BASE | _PAGE_PROT_WKNU | _PAGE_NX)173 #define __PAGE_KERNEL_EXEC (__PAGE_KERNEL & ~_PAGE_NX)174 #define __PAGE_KERNEL_RO (__PAGE_KERNEL_BASE | _PAGE_PROT_RKNU | _PAGE_CACHE | _PAGE_NX)185 #define __PAGE_USERIO (__PAGE_KERNEL_BASE | _PAGE_PROT_WKWU | _PAGE_NX)[all …]
59 #define _PAGE_NX (_AT(pteval_t, 1) << _PAGE_BIT_NX) macro61 #define _PAGE_NX (_AT(pteval_t, 0)) macro85 _PAGE_ACCESSED | _PAGE_NX)90 _PAGE_ACCESSED | _PAGE_NX)95 _PAGE_ACCESSED | _PAGE_NX)101 #define __PAGE_KERNEL (__PAGE_KERNEL_EXEC | _PAGE_NX)
127 return !(pte_flags(pte) & _PAGE_NX); in pte_exec()201 return pte_clear_flags(pte, _PAGE_NX); in pte_mkexec()
35 __supported_pte_mask |= _PAGE_NX; in x86_configure_nx()37 __supported_pte_mask &= ~_PAGE_NX; in x86_configure_nx()
264 pgprot_val(forbidden) |= _PAGE_NX; in static_protections()273 pgprot_val(forbidden) |= _PAGE_NX; in static_protections()904 checkalias = (pgprot_val(mask_set) | pgprot_val(mask_clr)) != _PAGE_NX; in change_page_attr_set_clr()1128 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_x()1131 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_x()1137 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_nx()1140 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_nx()
83 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
532 pteval_t __supported_pte_mask __read_mostly = ~(_PAGE_NX | _PAGE_GLOBAL | _PAGE_IOMAP);928 if (__supported_pte_mask & _PAGE_NX) in mark_nxdata_nx()
137 if (pr & _PAGE_NX) in printk_prot()
51 if (!(pte_val(pte) & _PAGE_NX)) { in update_mmu_cache()
64 if (!(__supported_pte_mask & _PAGE_NX)) in early_runtime_code_mapping_set_exec()
576 if (__supported_pte_mask & _PAGE_NX) in efi_enter_virtual_mode()
46 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()