Home
last modified time | relevance | path

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

/linux-6.15/arch/powerpc/include/asm/
H A Dpgtable.h68 #define pte_pgprot pte_pgprot macro
69 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot() function
79 return pte_pgprot(pte_exprotect(__pte(pgprot_val(prot)))); in pgprot_nx()
/linux-6.15/arch/arm64/mm/
H A Dcontpte.c59 pte = pfn_pte(ALIGN_DOWN(pte_pfn(pte), CONT_PTES), pte_pgprot(pte)); in contpte_convert()
122 prot = pte_pgprot(pte_mkold(pte_mkclean(pte))); in __contpte_try_fold()
216 orig_prot = pte_pgprot(pte_mkold(pte_mkclean(orig_pte))); in contpte_ptep_get_lockless()
222 prot = pte_pgprot(pte_mkold(pte_mkclean(pte))); in contpte_ptep_get_lockless()
261 prot = pte_pgprot(pte); in contpte_set_ptes()
H A Dhugetlbpage.c239 hugeprot = pte_pgprot(pte); in set_huge_pte_at()
459 hugeprot = pte_pgprot(pte); in huge_ptep_set_access_flags()
486 hugeprot = pte_pgprot(pte); in huge_ptep_set_wrprotect()
/linux-6.15/arch/x86/mm/pat/
H A Dcpa-test.c153 if (!pte || pgprot_val(pte_pgprot(*pte)) == 0 || in pageattr_test()
161 if (pgprot_val(pte_pgprot(*pte)) != in pageattr_test()
162 pgprot_val(pte_pgprot(pte0))) { in pageattr_test()
H A Dset_memory.c1288 pgprot = pgprot_4k_2_large(pte_pgprot(first)); in collapse_pmd_page()
1852 pgprot_t old_prot = pte_pgprot(old_pte); in __change_page_attr()
1853 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr()
/linux-6.15/arch/powerpc/mm/
H A Dioremap.c46 return __ioremap_caller(addr, size, pte_pgprot(pte), caller); in ioremap_prot()
/linux-6.15/arch/riscv/include/asm/
H A Dpgtable.h348 #define pte_pgprot pte_pgprot macro
349 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot() function
722 return pte_pgprot(pmd_pte(pmd)); in pmd_pgprot()
728 return pte_pgprot(pud_pte(pud)); in pud_pgprot()
/linux-6.15/arch/arc/include/asm/
H A Dpage.h83 #define pte_pgprot(x) __pgprot(pte_val(x)) macro
/linux-6.15/arch/loongarch/include/asm/
H A Dpage.h60 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK) macro
/linux-6.15/arch/sh/include/asm/
H A Dpage.h86 #define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK) macro
/linux-6.15/arch/mips/include/asm/
H A Dpage.h138 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK) macro
/linux-6.15/arch/x86/mm/
H A Dmem_encrypt_amd.c223 prot = pte_pgprot(*kpte); in pg_level_to_pfn()
H A Dinit_64.c561 new_prot = pte_pgprot(pte_clrhuge(*(pte_t *)pmd)); in phys_pmd_init()
647 prot = pte_pgprot(pte_clrhuge(*(pte_t *)pud)); in phys_pud_init()
/linux-6.15/arch/arm64/include/asm/
H A Dpgtable.h412 #define pte_pgprot pte_pgprot macro
413 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot() function
423 return pfn_pte(pte_pfn(pte) + nr, pte_pgprot(pte)); in pte_advance_pfn()
/linux-6.15/include/linux/
H A Dpgtable.h1970 #ifndef pte_pgprot
1971 #define pte_pgprot(x) ((pgprot_t) {0}) macro
/linux-6.15/arch/s390/include/asm/
H A Dpgtable.h997 #define pte_pgprot pte_pgprot macro
998 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot() function
/linux-6.15/arch/x86/include/asm/
H A Dpgtable.h913 #define pte_pgprot(x) __pgprot(pte_flags(x)) macro
/linux-6.15/mm/
H A Dmemory.c6789 pfnmap_args_setup(args, lock, ptep, pte_pgprot(pte), in follow_pfnmap_start()