/linux-6.12.1/arch/powerpc/include/asm/ |
D | pgtable.h | 68 #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.12.1/arch/arm64/mm/ |
D | contpte.c | 59 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()
|
D | hugetlbpage.c | 247 hugeprot = pte_pgprot(pte); in set_huge_pte_at() 461 hugeprot = pte_pgprot(pte); in huge_ptep_set_access_flags() 488 hugeprot = pte_pgprot(pte); in huge_ptep_set_wrprotect()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | ioremap.c | 54 return iowa_ioremap(addr, size, pte_pgprot(pte), caller); in ioremap_prot() 55 return __ioremap_caller(addr, size, pte_pgprot(pte), caller); in ioremap_prot()
|
/linux-6.12.1/arch/x86/mm/pat/ |
D | cpa-test.c | 153 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()
|
D | set_memory.c | 1648 pgprot_t old_prot = pte_pgprot(old_pte); in __change_page_attr() 1649 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr()
|
/linux-6.12.1/arch/arc/include/asm/ |
D | page.h | 83 #define pte_pgprot(x) __pgprot(pte_val(x)) macro
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | page.h | 65 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK) macro
|
/linux-6.12.1/arch/mips/include/asm/ |
D | page.h | 143 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK) macro
|
/linux-6.12.1/arch/sh/include/asm/ |
D | page.h | 88 #define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK) macro
|
/linux-6.12.1/arch/x86/mm/ |
D | mem_encrypt_amd.c | 225 prot = pte_pgprot(*kpte); in pg_level_to_pfn()
|
D | init_64.c | 564 new_prot = pte_pgprot(pte_clrhuge(*(pte_t *)pmd)); in phys_pmd_init() 652 prot = pte_pgprot(pte_clrhuge(*(pte_t *)pud)); in phys_pud_init()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | pgtable.h | 410 #define pte_pgprot pte_pgprot macro 411 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot() function 421 return pfn_pte(pte_pfn(pte) + nr, pte_pgprot(pte)); in pte_advance_pfn()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | pgtable.h | 958 #define pte_pgprot pte_pgprot macro 959 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot() function
|
/linux-6.12.1/include/linux/ |
D | pgtable.h | 1959 #ifndef pte_pgprot 1960 #define pte_pgprot(x) ((pgprot_t) {0}) macro
|
/linux-6.12.1/arch/x86/include/asm/ |
D | pgtable.h | 913 #define pte_pgprot(x) __pgprot(pte_flags(x)) macro
|
/linux-6.12.1/mm/ |
D | memory.c | 6471 pfnmap_args_setup(args, lock, ptep, pte_pgprot(pte), in follow_pfnmap_start()
|