Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/power/
Dhibernate.c169 set_p4d(p4d, __p4d(p4d_val(*p4d) & ~_PAGE_NX)); in relocate_restore_code()
174 set_pud(pud, __pud(pud_val(*pud) & ~_PAGE_NX)); in relocate_restore_code()
179 set_pmd(pmd, __pmd(pmd_val(*pmd) & ~_PAGE_NX)); in relocate_restore_code()
183 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_NX)); in relocate_restore_code()
/kernel/linux/linux-5.10/arch/x86/mm/
Dsetup_nx.c37 __supported_pte_mask |= _PAGE_NX; in x86_configure_nx()
39 __supported_pte_mask &= ~_PAGE_NX; in x86_configure_nx()
Ddump_pagetables.c219 if (pr & _PAGE_NX) in printk_prot()
246 WARN_ONCE(__supported_pte_mask & _PAGE_NX, in note_wx()
261 ((higher_prot | prot) & _PAGE_NX); in effective_prot()
312 if (st->check_wx && (eff & _PAGE_RW) && !(eff & _PAGE_NX)) in note_page()
424 if (!(__supported_pte_mask & _PAGE_NX) || in ptdump_walk_user_pgd_level_checkwx()
Dpti.c158 (__supported_pte_mask & _PAGE_NX)) in __pti_set_user_pgtbl()
159 pgd.pgd |= _PAGE_NX; in __pti_set_user_pgtbl()
Dinit_32.c547 #define DEFAULT_PTE_MASK ~(_PAGE_NX | _PAGE_GLOBAL)
845 if (__supported_pte_mask & _PAGE_NX) in mark_nxdata_nx()
869 if (__supported_pte_mask & _PAGE_NX) in mark_rodata_ro()
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_64.c194 pf = _PAGE_NX | _PAGE_RW | _PAGE_ENC; in efi_setup_page_tables()
256 pf = _PAGE_NX | _PAGE_ENC; in efi_setup_page_tables()
285 flags |= _PAGE_NX; in __map_region()
391 pf |= _PAGE_NX; in efi_update_mem_attr()
438 pf |= _PAGE_NX; in efi_runtime_update_mappings()
Defi_32.c131 if (__supported_pte_mask & _PAGE_NX) { in efi_runtime_update_mappings()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_types.h113 #define _PAGE_NX (_AT(pteval_t, 1) << _PAGE_BIT_NX) macro
116 #define _PAGE_NX (_AT(pteval_t, 0)) macro
169 #define __NX _PAGE_NX
290 return __pgprot(pgprot_val(prot) | _PAGE_NX); in pgprot_nx()
Dpgtable.h200 return !(pte_flags(pte) & _PAGE_NX); in pte_exec()
351 return pte_clear_flags(pte, _PAGE_NX); in pte_mkexec()
925 ignore_flags |= _PAGE_NX; in p4d_bad()
971 ignore_flags |= _PAGE_NX; in pgd_bad()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dset_memory.c406 return _PAGE_NX; in protect_pci_bios()
450 return _PAGE_NX; in protect_kernel_text()
1747 checkalias = (pgprot_val(mask_set) | pgprot_val(mask_clr)) != _PAGE_NX; in change_page_attr_set_clr()
1919 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_x()
1922 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_x()
1927 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_nx()
1930 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_nx()
2254 .mask_clr = __pgprot(~page_flags & (_PAGE_NX|_PAGE_RW)), in kernel_map_pages_in_pgd()
2260 if (!(__supported_pte_mask & _PAGE_NX)) in kernel_map_pages_in_pgd()
Dcpa-test.c85 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
/kernel/linux/linux-5.10/arch/x86/kernel/
Despfix_64.c93 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
Dtboot.c140 pgd->pgd &= ~_PAGE_NX; in map_tboot_page()
Dhead64.c50 pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
Dsev-es.c577 pflags = _PAGE_NX | _PAGE_RW; in sev_es_efi_map_ghcbs()
/kernel/linux/linux-5.10/arch/x86/pci/
Dpcbios.c49 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()
/kernel/linux/linux-5.10/arch/x86/xen/
Dmmu_pv.c1733 if (__supported_pte_mask & _PAGE_NX) { in xen_setup_kernel_pagetable()
1737 level2_ident_pgt[i] = pmd_set_flags(level2_ident_pgt[i], _PAGE_NX); in xen_setup_kernel_pagetable()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Duvesafb.c805 if (__supported_pte_mask & _PAGE_NX) { in uvesafb_vbe_init()