Home
last modified time | relevance | path

Searched refs:PFN_PTE_SHIFT (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.12.1/arch/mips/include/asm/
Dpgtable-32.h156 #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))
Dpgtable-bits.h185 # 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))
Dpgtable-64.h301 #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))
Dpgtable.h69 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/
Dpgtable.h188 #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/
Dkvm_mmu.h21 #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))
Dpgtable-bits.h55 #define PFN_PTE_SHIFT (PAGE_SHIFT - 12 + _PAGE_PFN_SHIFT) macro
60 #define _PFN_MASK (~((_ULCAST_(1) << (PFN_PTE_SHIFT)) - 1) & \
Dpgtable.h262 #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/
Dpgtable.h233 #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/
Dprom.c123 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> PFN_PTE_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
/linux-6.12.1/arch/mips/mm/
Dpgtable-32.c38 pmd_val(pmd) = (page_to_pfn(page) << PFN_PTE_SHIFT) | pgprot_val(prot); in mk_pmd()
Dpgtable-64.c97 pmd_val(pmd) = (page_to_pfn(page) << PFN_PTE_SHIFT) | pgprot_val(prot); in mk_pmd()
/linux-6.12.1/arch/alpha/include/asm/
Dpgtable.h191 #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/
Dpgtable_32.h257 #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/
Dpgtable.h245 #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/
Dpgtable.c143 pmd_val(pmd) = (page_to_pfn(page) << PFN_PTE_SHIFT) | pgprot_val(prot); in mk_pmd()
Dtlb.c256 pr_define("PFN_PTE_SHIFT %d\n", PFN_PTE_SHIFT); in output_pgtable_bits_defines()
/linux-6.12.1/arch/powerpc/include/asm/
Dpgtable.h44 #define PFN_PTE_SHIFT PTE_RPN_SHIFT macro
/linux-6.12.1/arch/arc/include/asm/
Dpgtable-levels.h172 #define PFN_PTE_SHIFT PAGE_SHIFT macro
/linux-6.12.1/arch/m68k/include/asm/
Dsun3_pgtable.h108 #define PFN_PTE_SHIFT 0 macro
Dmcf_pgtable.h294 #define PFN_PTE_SHIFT PAGE_SHIFT macro
Dmotorola_pgtable.h115 #define PFN_PTE_SHIFT PAGE_SHIFT macro
/linux-6.12.1/arch/hexagon/include/asm/
Dpgtable.h341 #define PFN_PTE_SHIFT PAGE_SHIFT macro
/linux-6.12.1/arch/nios2/include/asm/
Dpgtable.h184 #define PFN_PTE_SHIFT 0 macro
/linux-6.12.1/arch/csky/include/asm/
Dpgtable.h31 #define PFN_PTE_SHIFT PAGE_SHIFT macro

12