Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dident_map_64.c288 if ((set | clr) & _PAGE_ENC) in set_clr_page_flags()
305 return set_clr_page_flags(&mapping_info, address, 0, _PAGE_ENC); in set_page_decrypted()
310 return set_clr_page_flags(&mapping_info, address, _PAGE_ENC, 0); in set_page_encrypted()
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_64.c194 pf = _PAGE_NX | _PAGE_RW | _PAGE_ENC; in efi_setup_page_tables()
246 pf = _PAGE_ENC; in efi_setup_page_tables()
256 pf = _PAGE_NX | _PAGE_ENC; in efi_setup_page_tables()
291 flags |= _PAGE_ENC; in __map_region()
397 pf |= _PAGE_ENC; in efi_update_mem_attr()
445 pf |= _PAGE_ENC; in efi_runtime_update_mappings()
/kernel/linux/linux-5.10/arch/x86/mm/
Dmem_encrypt.c227 pgprot_val(new_prot) |= _PAGE_ENC; in __set_clr_pte_enc()
229 pgprot_val(new_prot) &= ~_PAGE_ENC; in __set_clr_pte_enc()
Dkasan_init_64.c294 __PAGE_KERNEL | _PAGE_ENC; in kasan_early_init()
447 prot = __pgprot(__PAGE_KERNEL_RO | _PAGE_ENC); in kasan_init()
Dmem_encrypt_identity.c60 #define PMD_FLAGS_ENC (PMD_FLAGS_LARGE | _PAGE_ENC)
68 #define PTE_FLAGS_ENC (PTE_FLAGS | _PAGE_ENC)
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_types.h130 _PAGE_SOFT_DIRTY | _PAGE_DEVMAP | _PAGE_ENC | \
155 #define _PAGE_ENC (_AT(pteval_t, sme_me_mask)) macro
171 #define _ENC _PAGE_ENC
/kernel/linux/linux-5.10/arch/x86/kernel/
Despfix_64.c194 pte = __pte(__pa(stack_page) | ((__PAGE_KERNEL_RO | _PAGE_ENC) & ptemask)); in init_espfix_ap()
Dmachine_kexec_64.c210 info.page_flag |= _PAGE_ENC; in init_pgtable()
211 info.kernpg_flag |= _PAGE_ENC; in init_pgtable()
Dsev-es.c439 if (WARN_ON_ONCE(pte_val(*pte) & _PAGE_ENC)) in vc_slow_virt_to_phys()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dset_memory.c1991 cpa.mask_set = enc ? __pgprot(_PAGE_ENC) : __pgprot(0); in __set_memory_enc_dec()
1992 cpa.mask_clr = enc ? __pgprot(0) : __pgprot(_PAGE_ENC); in __set_memory_enc_dec()
2263 if (!(page_flags & _PAGE_ENC)) in kernel_map_pages_in_pgd()