| /linux-6.15/arch/powerpc/include/asm/ |
| H A 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.15/arch/arm64/mm/ |
| H A 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()
|
| H A D | hugetlbpage.c | 239 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 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()
|
| H A D | set_memory.c | 1288 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 D | ioremap.c | 46 return __ioremap_caller(addr, size, pte_pgprot(pte), caller); in ioremap_prot()
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | pgtable.h | 348 #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 D | page.h | 83 #define pte_pgprot(x) __pgprot(pte_val(x)) macro
|
| /linux-6.15/arch/loongarch/include/asm/ |
| H A D | page.h | 60 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK) macro
|
| /linux-6.15/arch/sh/include/asm/ |
| H A D | page.h | 86 #define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK) macro
|
| /linux-6.15/arch/mips/include/asm/ |
| H A D | page.h | 138 #define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK) macro
|
| /linux-6.15/arch/x86/mm/ |
| H A D | mem_encrypt_amd.c | 223 prot = pte_pgprot(*kpte); in pg_level_to_pfn()
|
| H A D | init_64.c | 561 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 D | pgtable.h | 412 #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 D | pgtable.h | 1970 #ifndef pte_pgprot 1971 #define pte_pgprot(x) ((pgprot_t) {0}) macro
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | pgtable.h | 997 #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 D | pgtable.h | 913 #define pte_pgprot(x) __pgprot(pte_flags(x)) macro
|
| /linux-6.15/mm/ |
| H A D | memory.c | 6789 pfnmap_args_setup(args, lock, ptep, pte_pgprot(pte), in follow_pfnmap_start()
|