/linux-6.12.1/arch/mips/include/asm/ |
D | pgtable-32.h | 156 #define pte_pfn(x) (((unsigned long)((x).pte_high >> PFN_PTE_SHIFT)) | (unsigned long)((x).pte_low… 164 pte.pte_high = (pfn << PFN_PTE_SHIFT) | in pfn_pte() 187 #define pte_pfn(x) ((unsigned long)((x).pte >> PFN_PTE_SHIFT)) 188 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) 189 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot))
|
D | pgtable-bits.h | 185 # define PFN_PTE_SHIFT PAGE_SHIFT macro 188 # define PFN_PTE_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3) macro 198 #define _PFN_MASK (~((1 << (PFN_PTE_SHIFT)) - 1))
|
D | pgtable-64.h | 301 #define pte_pfn(x) ((unsigned long)((x).pte >> PFN_PTE_SHIFT)) 302 #define pfn_pte(pfn, prot) __pte(((pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) 303 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PFN_PTE_SHIFT) | pgprot_val(prot))
|
D | pgtable.h | 69 return pmd_val(pmd) >> PFN_PTE_SHIFT; in pmd_pfn() 227 pte = __pte(pte_val(pte) + (1UL << PFN_PTE_SHIFT));
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | pgtable.h | 188 #define PFN_PTE_SHIFT 12 macro 227 #define PxD_VALUE_SHIFT (PFN_PTE_SHIFT-PxD_FLAG_SHIFT) 349 pte_val(__pte) = ((((addr)>>PAGE_SHIFT)<<PFN_PTE_SHIFT) + pgprot_val(pgprot)); \ 359 pte_val(pte) = (pfn << PFN_PTE_SHIFT) | pgprot_val(pgprot); in pfn_pte() 368 #define pte_pfn(x) (pte_val(x) >> PFN_PTE_SHIFT) 396 pte_val(pte) += 1 << PFN_PTE_SHIFT; in set_ptes()
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | kvm_mmu.h | 21 #define kvm_pfn_pte(pfn, prot) (((pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) 22 #define kvm_pte_pfn(x) ((phys_addr_t)((x & _PFN_MASK) >> PFN_PTE_SHIFT))
|
D | pgtable-bits.h | 55 #define PFN_PTE_SHIFT (PAGE_SHIFT - 12 + _PAGE_PFN_SHIFT) macro 60 #define _PFN_MASK (~((_ULCAST_(1) << (PFN_PTE_SHIFT)) - 1) & \
|
D | pgtable.h | 262 #define pte_pfn(x) ((unsigned long)(((x).pte & _PFN_MASK) >> PFN_PTE_SHIFT)) 263 #define pfn_pte(pfn, prot) __pte(((pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) 264 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) 467 return (pmd_val(pmd) & _PFN_MASK) >> PFN_PTE_SHIFT; in pmd_pfn()
|
/linux-6.12.1/arch/microblaze/include/asm/ |
D | pgtable.h | 233 #define PFN_PTE_SHIFT PAGE_SHIFT macro 235 #define pte_pfn(x) (pte_val(x) >> PFN_PTE_SHIFT) 238 __pte(((pte_basic_t)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot))
|
/linux-6.12.1/arch/mips/bcm47xx/ |
D | prom.c | 123 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> PFN_PTE_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
|
/linux-6.12.1/arch/mips/mm/ |
D | pgtable-32.c | 38 pmd_val(pmd) = (page_to_pfn(page) << PFN_PTE_SHIFT) | pgprot_val(prot); in mk_pmd()
|
D | pgtable-64.c | 97 pmd_val(pmd) = (page_to_pfn(page) << PFN_PTE_SHIFT) | pgprot_val(prot); in mk_pmd()
|
/linux-6.12.1/arch/alpha/include/asm/ |
D | pgtable.h | 191 #define PFN_PTE_SHIFT 32 macro 192 #define pte_pfn(pte) (pte_val(pte) >> PFN_PTE_SHIFT)
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | pgtable_32.h | 257 #define PFN_PTE_SHIFT (PAGE_SHIFT - 4) macro 270 return (pte_val(pte) & SRMMU_PTE_PMASK) >> PFN_PTE_SHIFT; in pte_pfn()
|
/linux-6.12.1/arch/um/include/asm/ |
D | pgtable.h | 245 #define PFN_PTE_SHIFT PAGE_SHIFT macro 273 pte = __pte(pte_val(pte) + (nr << PFN_PTE_SHIFT)); in set_ptes()
|
/linux-6.12.1/arch/loongarch/mm/ |
D | pgtable.c | 143 pmd_val(pmd) = (page_to_pfn(page) << PFN_PTE_SHIFT) | pgprot_val(prot); in mk_pmd()
|
D | tlb.c | 256 pr_define("PFN_PTE_SHIFT %d\n", PFN_PTE_SHIFT); in output_pgtable_bits_defines()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | pgtable.h | 44 #define PFN_PTE_SHIFT PTE_RPN_SHIFT macro
|
/linux-6.12.1/arch/arc/include/asm/ |
D | pgtable-levels.h | 172 #define PFN_PTE_SHIFT PAGE_SHIFT macro
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | sun3_pgtable.h | 108 #define PFN_PTE_SHIFT 0 macro
|
D | mcf_pgtable.h | 294 #define PFN_PTE_SHIFT PAGE_SHIFT macro
|
D | motorola_pgtable.h | 115 #define PFN_PTE_SHIFT PAGE_SHIFT macro
|
/linux-6.12.1/arch/hexagon/include/asm/ |
D | pgtable.h | 341 #define PFN_PTE_SHIFT PAGE_SHIFT macro
|
/linux-6.12.1/arch/nios2/include/asm/ |
D | pgtable.h | 184 #define PFN_PTE_SHIFT 0 macro
|
/linux-6.12.1/arch/csky/include/asm/ |
D | pgtable.h | 31 #define PFN_PTE_SHIFT PAGE_SHIFT macro
|