Home
last modified time | relevance | path

Searched refs:_PAGE_NX (Results 1 – 10 of 10) sorted by relevance

/arch/x86/include/asm/
Dpgtable.h49 #define _PAGE_NX (_AT(pteval_t, 1) << _PAGE_BIT_NX) macro
51 #define _PAGE_NX (_AT(pteval_t, 0)) macro
74 _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()
/arch/mn10300/mm/
Dmmu-context.c69 if (!(pte_val(pte) & _PAGE_NX)) { in update_mmu_cache()
/arch/x86/kernel/
Defi_64.c63 if (!(__supported_pte_mask & _PAGE_NX)) in early_runtime_code_mapping_set_exec()
Defi.c542 if (__supported_pte_mask & _PAGE_NX) in efi_enter_virtual_mode()
/arch/x86/mm/
Dpageattr.c255 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()
Dinit_32.c607 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()
Dpageattr-test.c83 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
Dinit_64.c109 __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()
Ddump_pagetables.c115 if (pr & _PAGE_NX) in printk_prot()
Dfault.c210 page &= ~_PAGE_NX; in dump_pagetable()