Searched refs:_PAGE_NX (Results 1 – 10 of 10) sorted by relevance
49 #define _PAGE_NX (_AT(pteval_t, 1) << _PAGE_BIT_NX) macro51 #define _PAGE_NX (_AT(pteval_t, 0)) macro74 _PAGE_ACCESSED | _PAGE_NX)79 _PAGE_ACCESSED | _PAGE_NX)84 _PAGE_ACCESSED | _PAGE_NX)90 #define __PAGE_KERNEL (__PAGE_KERNEL_EXEC | _PAGE_NX)222 return !(pte_flags(pte) & _PAGE_NX); in pte_exec()260 return __pte(pte_val(pte) & ~_PAGE_NX); in pte_mkexec()
69 if (!(pte_val(pte) & _PAGE_NX)) { in update_mmu_cache()
63 if (!(__supported_pte_mask & _PAGE_NX)) in early_runtime_code_mapping_set_exec()
542 if (__supported_pte_mask & _PAGE_NX) in efi_enter_virtual_mode()
255 pgprot_val(forbidden) |= _PAGE_NX; in static_protections()263 pgprot_val(forbidden) |= _PAGE_NX; in static_protections()839 checkalias = (pgprot_val(mask_set) | pgprot_val(mask_clr)) != _PAGE_NX; in change_page_attr_set_clr()1009 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_x()1015 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_nx()
607 pteval_t __supported_pte_mask __read_mostly = ~(_PAGE_NX | _PAGE_GLOBAL | _PAGE_IOMAP);626 __supported_pte_mask |= _PAGE_NX; in noexec_setup()632 __supported_pte_mask &= ~_PAGE_NX; in noexec_setup()654 __supported_pte_mask |= _PAGE_NX; in set_nx()
83 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
109 __supported_pte_mask |= _PAGE_NX; in nonx_setup()113 __supported_pte_mask &= ~_PAGE_NX; in nonx_setup()125 __supported_pte_mask &= ~_PAGE_NX; in check_efer()
115 if (pr & _PAGE_NX) in printk_prot()
210 page &= ~_PAGE_NX; in dump_pagetable()