Home
last modified time | relevance | path

Searched refs:pte_pfn (Results 1 – 25 of 92) sorted by relevance

1234

/arch/mips/include/asm/
Dpgtable-32.h112 #define pte_page(x) pfn_to_page(pte_pfn(x))
113 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low <<… macro
128 #define pte_page(x) pfn_to_page(pte_pfn(x))
131 #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) macro
134 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT)) macro
Dpgtable-64.h230 #define pte_page(x) pfn_to_page(pte_pfn(x))
233 #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) macro
236 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT)) macro
/arch/m32r/include/asm/
Dpgtable-2level.h68 #define pte_page(x) pfn_to_page(pte_pfn(x))
70 #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT) macro
/arch/tile/gxio/
Dkiorpc.c56 pfn = pte_pfn(mmio_base) + PFN_DOWN(offset); in iorpc_ioremap()
/arch/avr32/include/asm/
Dpgtable-2level.h41 #define pte_pfn(x) ((unsigned long)(((x).pte >> PAGE_SHIFT))) macro
/arch/um/include/asm/
Dpgtable-2level.h40 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
Dpgtable-3level.h96 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
/arch/x86/kernel/
Dcrash_dump_32.c27 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/arch/microblaze/mm/
Dconsistent.c174 return pte_pfn(*ptep); in consistent_virt_to_pfn()
207 pfn = pte_pfn(*ptep); in consistent_free()
/arch/mips/mm/
Dgup.c50 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_pte_range()
82 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_huge_pmd()
148 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_huge_pud()
/arch/tile/include/asm/
Dpgtable.h262 #define pte_page(x) pfn_to_page(pte_pfn(x))
269 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
311 return pfn_pte(pte_pfn(pte), newprot); in pte_modify()
481 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
/arch/arm64/mm/
Dhugetlbpage.c89 pfn = pte_pfn(pte); in set_huge_pte_at()
243 unsigned long pfn = pte_pfn(pte); in huge_ptep_set_access_flags()
250 pfn = pte_pfn(*cpte); in huge_ptep_set_access_flags()
/arch/x86/xen/
Dp2m.c457 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in get_phys_to_machine()
590 p2m_pfn = pte_pfn(READ_ONCE(*ptep)); in xen_alloc_p2m_entry()
607 if (pte_pfn(*ptep) == p2m_pfn) { in xen_alloc_p2m_entry()
683 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_missing))) in __set_phys_to_machine()
686 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in __set_phys_to_machine()
/arch/powerpc/include/asm/
Dpgtable.h73 static inline unsigned long pte_pfn(pte_t pte) { in pte_pfn() function
77 #define pte_page(x) pfn_to_page(pte_pfn(x))
/arch/sh/include/asm/
Dpgtable.h127 #define pte_pfn(x) ((unsigned long)(((x).pte_low >> PAGE_SHIFT))) macro
/arch/sparc/include/asm/
Dpgtable_64.h257 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
276 #define pte_page(x) pfn_to_page(pte_pfn(x))
668 return pte_pfn(pte); in pmd_pfn()
820 pfn = pte_pfn(pte); in __pmd_page()
847 return pte_pfn(pte); in pud_pfn()
933 unsigned long this_pfn = pte_pfn(pte); \
/arch/nios2/include/asm/
Dpgtable.h197 #define pte_pfn(pte) (pte_val(pte) & 0xfffff) macro
199 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
/arch/powerpc/mm/
Dhugetlbpage-hash64.c91 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_huge()
Ddma-noncoherent.c287 pfn = pte_pfn(*ptep); in __dma_free_coherent()
419 return pte_pfn(*ptep); in __dma_get_coherent_pfn()
/arch/alpha/include/asm/
Dmmzone.h76 #define pte_pfn(pte) (pte_val(pte) >> 32) macro
/arch/unicore32/include/asm/
Dpgtable.h152 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
158 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
/arch/metag/include/asm/
Dpgtable.h104 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
118 #define pte_page(x) pfn_to_page(pte_pfn(x))
/arch/arc/include/asm/
Dhugepage.h38 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
/arch/score/include/asm/
Dpgtable.h65 #define pte_page(x) pfn_to_page(pte_pfn(x))
66 #define pte_pfn(x) ((unsigned long)((x).pte >> PAGE_SHIFT)) macro
/arch/hexagon/include/asm/
Dpgtable.h312 #define pte_page(x) pfn_to_page(pte_pfn(x))
412 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro

1234