Searched refs:_PAGE_NX (Results 1 – 18 of 18) sorted by relevance
/Linux-v4.19/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 | pageattr.c | 306 pgprot_val(forbidden) |= _PAGE_NX; in static_protections() 315 pgprot_val(forbidden) |= _PAGE_NX; in static_protections() 1512 checkalias = (pgprot_val(mask_set) | pgprot_val(mask_clr)) != _PAGE_NX; in change_page_attr_set_clr() 1771 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_x() 1774 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_x() 1780 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_nx() 1783 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_nx() 2129 if (!(__supported_pte_mask & _PAGE_NX)) in kernel_map_pages_in_pgd() 2132 if (!(page_flags & _PAGE_NX)) in kernel_map_pages_in_pgd() 2133 cpa.mask_clr = __pgprot(_PAGE_NX); in kernel_map_pages_in_pgd()
|
D | dump_pagetables.c | 223 if (pr & _PAGE_NX) in printk_prot() 279 if (st->check_wx && (eff & _PAGE_RW) && !(eff & _PAGE_NX)) { in note_page() 341 ((prot1 | prot2) & _PAGE_NX); in effective_prot() 577 if (!(__supported_pte_mask & _PAGE_NX) || in ptdump_walk_user_pgd_level_checkwx()
|
D | pti.c | 165 (__supported_pte_mask & _PAGE_NX)) in __pti_set_user_pgtbl() 166 pgd.pgd |= _PAGE_NX; in __pti_set_user_pgtbl()
|
D | init_32.c | 561 #define DEFAULT_PTE_MASK ~(_PAGE_NX | _PAGE_GLOBAL) 918 if (__supported_pte_mask & _PAGE_NX) in mark_nxdata_nx() 957 if (__supported_pte_mask & _PAGE_NX) in mark_rodata_ro()
|
D | pageattr-test.c | 85 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
|
/Linux-v4.19/arch/x86/power/ |
D | hibernate_64.c | 167 set_p4d(p4d, __p4d(p4d_val(*p4d) & ~_PAGE_NX)); in relocate_restore_code() 172 set_pud(pud, __pud(pud_val(*pud) & ~_PAGE_NX)); in relocate_restore_code() 177 set_pmd(pmd, __pmd(pmd_val(*pmd) & ~_PAGE_NX)); in relocate_restore_code() 181 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_NX)); in relocate_restore_code()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | pgtable_types.h | 104 #define _PAGE_NX (_AT(pteval_t, 1) << _PAGE_BIT_NX) macro 108 #define _PAGE_NX (_AT(pteval_t, 0)) macro 156 _PAGE_ACCESSED | _PAGE_NX) 161 _PAGE_ACCESSED | _PAGE_NX) 166 _PAGE_ACCESSED | _PAGE_NX) 172 #define __PAGE_KERNEL (__PAGE_KERNEL_EXEC | _PAGE_NX)
|
D | pgtable.h | 183 return !(pte_flags(pte) & _PAGE_NX); in pte_exec() 314 return pte_clear_flags(pte, _PAGE_NX); in pte_mkexec() 916 ignore_flags |= _PAGE_NX; in p4d_bad() 962 ignore_flags |= _PAGE_NX; in pgd_bad()
|
/Linux-v4.19/arch/x86/platform/efi/ |
D | efi_64.c | 64 if (!(__supported_pte_mask & _PAGE_NX)) in early_code_mapping_set_exec() 138 pgd_offset_k(pgd * PGDIR_SIZE)->pgd &= ~_PAGE_NX; in efi_call_phys_prolog() 356 pf = _PAGE_NX | _PAGE_RW | _PAGE_ENC; in efi_setup_page_tables() 544 pf |= _PAGE_NX; in efi_update_mem_attr() 560 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_update_mappings() 597 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 | 894 if (efi_enabled(EFI_OLD_MEMMAP) && (__supported_pte_mask & _PAGE_NX)) in kexec_enter_virtual_mode()
|
/Linux-v4.19/arch/x86/kernel/ |
D | espfix_64.c | 101 #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 | 150 pgd->pgd &= ~_PAGE_NX; in map_tboot_page()
|
/Linux-v4.19/arch/x86/pci/ |
D | pcbios.c | 49 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()
|
/Linux-v4.19/arch/x86/xen/ |
D | mmu_pv.c | 1934 if (__supported_pte_mask & _PAGE_NX) { in xen_setup_kernel_pagetable() 1938 level2_ident_pgt[i] = pmd_set_flags(level2_ident_pgt[i], _PAGE_NX); in xen_setup_kernel_pagetable()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | uvesafb.c | 804 if (__supported_pte_mask & _PAGE_NX) { in uvesafb_vbe_init()
|