Searched refs:_PAGE_NX (Results 1 – 18 of 18) sorted by relevance
| /Linux-v5.4/arch/x86/power/ |
| D | hibernate.c | 230 set_p4d(p4d, __p4d(p4d_val(*p4d) & ~_PAGE_NX)); in relocate_restore_code() 235 set_pud(pud, __pud(pud_val(*pud) & ~_PAGE_NX)); in relocate_restore_code() 240 set_pmd(pmd, __pmd(pmd_val(*pmd) & ~_PAGE_NX)); in relocate_restore_code() 244 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_NX)); in relocate_restore_code()
|
| /Linux-v5.4/arch/x86/mm/ |
| D | setup_nx.c | 37 __supported_pte_mask |= _PAGE_NX; in x86_configure_nx() 39 __supported_pte_mask &= ~_PAGE_NX; in x86_configure_nx()
|
| D | dump_pagetables.c | 218 if (pr & _PAGE_NX) in printk_prot() 258 WARN_ONCE(__supported_pte_mask & _PAGE_NX, in note_wx() 298 if (st->check_wx && (eff & _PAGE_RW) && !(eff & _PAGE_NX)) in note_page() 354 ((prot1 | prot2) & _PAGE_NX); in effective_prot() 589 if (!(__supported_pte_mask & _PAGE_NX) || in ptdump_walk_user_pgd_level_checkwx()
|
| D | pageattr.c | 397 return _PAGE_NX; in protect_pci_bios() 441 return _PAGE_NX; in protect_kernel_text() 1724 checkalias = (pgprot_val(mask_set) | pgprot_val(mask_clr)) != _PAGE_NX; in change_page_attr_set_clr() 1883 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_x() 1886 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_x() 1891 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_nx() 1894 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_nx() 2224 if (!(__supported_pte_mask & _PAGE_NX)) in kernel_map_pages_in_pgd() 2227 if (!(page_flags & _PAGE_NX)) in kernel_map_pages_in_pgd() 2228 cpa.mask_clr = __pgprot(_PAGE_NX); in kernel_map_pages_in_pgd()
|
| D | pti.c | 159 (__supported_pte_mask & _PAGE_NX)) in __pti_set_user_pgtbl() 160 pgd.pgd |= _PAGE_NX; in __pti_set_user_pgtbl()
|
| D | init_32.c | 561 #define DEFAULT_PTE_MASK ~(_PAGE_NX | _PAGE_GLOBAL) 917 if (__supported_pte_mask & _PAGE_NX) in mark_nxdata_nx() 941 if (__supported_pte_mask & _PAGE_NX) in mark_rodata_ro()
|
| D | pageattr-test.c | 86 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | pgtable_types.h | 104 #define _PAGE_NX (_AT(pteval_t, 1) << _PAGE_BIT_NX) macro 107 #define _PAGE_NX (_AT(pteval_t, 0)) macro 155 _PAGE_ACCESSED | _PAGE_NX) 160 _PAGE_ACCESSED | _PAGE_NX) 165 _PAGE_ACCESSED | _PAGE_NX) 171 #define __PAGE_KERNEL (__PAGE_KERNEL_EXEC | _PAGE_NX)
|
| D | pgtable.h | 199 return !(pte_flags(pte) & _PAGE_NX); in pte_exec() 330 return pte_clear_flags(pte, _PAGE_NX); in pte_mkexec() 932 ignore_flags |= _PAGE_NX; in p4d_bad() 978 ignore_flags |= _PAGE_NX; in pgd_bad()
|
| /Linux-v5.4/arch/x86/platform/efi/ |
| D | efi_64.c | 64 if (!(__supported_pte_mask & _PAGE_NX)) in early_code_mapping_set_exec() 140 pgd_offset_k(pgd * PGDIR_SIZE)->pgd &= ~_PAGE_NX; in efi_call_phys_prolog() 359 pf = _PAGE_NX | _PAGE_RW | _PAGE_ENC; in efi_setup_page_tables() 547 pf |= _PAGE_NX; in efi_update_mem_attr() 563 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_update_mappings() 600 pf |= _PAGE_NX; in efi_runtime_update_mappings()
|
| D | efi_32.c | 95 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_update_mappings()
|
| D | efi.c | 918 if (efi_enabled(EFI_OLD_MEMMAP) && (__supported_pte_mask & _PAGE_NX)) in kexec_enter_virtual_mode()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | espfix_64.c | 93 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
|
| D | head64.c | 45 pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
|
| D | tboot.c | 137 pgd->pgd &= ~_PAGE_NX; in map_tboot_page()
|
| /Linux-v5.4/arch/x86/pci/ |
| D | pcbios.c | 49 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()
|
| /Linux-v5.4/arch/x86/xen/ |
| D | mmu_pv.c | 1933 if (__supported_pte_mask & _PAGE_NX) { in xen_setup_kernel_pagetable() 1937 level2_ident_pgt[i] = pmd_set_flags(level2_ident_pgt[i], _PAGE_NX); in xen_setup_kernel_pagetable()
|
| /Linux-v5.4/drivers/video/fbdev/ |
| D | uvesafb.c | 805 if (__supported_pte_mask & _PAGE_NX) { in uvesafb_vbe_init()
|