/arch/mips/include/asm/ |
D | pgtable-32.h | 157 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low <<… macro 173 #define pte_pfn(x) ((unsigned long)((x).pte_high >> 6)) macro 189 #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) macro 192 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT)) macro 198 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
D | pgtable-64.h | 304 #define pte_page(x) pfn_to_page(pte_pfn(x)) 307 #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) macro 310 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT)) macro
|
/arch/csky/abiv2/ |
D | cacheflush.c | 15 if (!pfn_valid(pte_pfn(*pte))) in update_mmu_cache() 18 page = pfn_to_page(pte_pfn(*pte)); in update_mmu_cache()
|
/arch/x86/kernel/ |
D | crash_dump_32.c | 26 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/arch/um/include/asm/ |
D | pgtable-2level.h | 39 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
|
D | pgtable-3level.h | 88 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
|
/arch/powerpc/mm/book3s64/ |
D | hash_64k.c | 150 pa = pte_pfn(__pte(old_pte)) << HW_PAGE_SHIFT; in __hash_page_4K() 152 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_4K() 286 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_64K()
|
D | hash_4k.c | 79 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_4K()
|
/arch/csky/abiv1/ |
D | cacheflush.c | 40 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache()
|
/arch/arc/include/asm/ |
D | pgtable-levels.h | 177 #define pte_page(pte) pfn_to_page(pte_pfn(pte)) 179 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
|
D | hugepage.h | 34 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
|
/arch/arm64/mm/ |
D | hugetlbpage.c | 98 unsigned long pfn = pte_pfn(pte); in pte_pgprot() 233 pfn = pte_pfn(pte); in set_huge_pte_at() 419 unsigned long pfn = pte_pfn(pte), dpfn; in huge_ptep_set_access_flags() 469 pfn = pte_pfn(pte); in huge_ptep_set_wrprotect()
|
/arch/powerpc/include/asm/ |
D | pte-walk.h | 53 pa = PFN_PHYS(pte_pfn(*ptep)); in ppc_find_vmap_phys()
|
D | pgtable.h | 49 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
/arch/x86/xen/ |
D | p2m.c | 455 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in get_phys_to_machine() 585 p2m_pfn = pte_pfn(READ_ONCE(*ptep)); in xen_alloc_p2m_entry() 602 if (pte_pfn(*ptep) == p2m_pfn) { in xen_alloc_p2m_entry() 669 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_missing))) in __set_phys_to_machine() 672 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in __set_phys_to_machine()
|
/arch/sparc/include/asm/ |
D | pgtable_64.h | 256 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function 275 #define pte_page(x) pfn_to_page(pte_pfn(x)) 694 return pte_pfn(pte); in pmd_pfn() 840 pfn = pte_pfn(pte); in pmd_page_vaddr() 850 pfn = pte_pfn(pte); in pud_pgtable() 880 return pte_pfn(pte); in pud_pfn() 946 unsigned long this_pfn = pte_pfn(pte); \
|
/arch/nios2/include/asm/ |
D | pgtable.h | 188 #define pte_pfn(pte) (pte_val(pte) & 0xfffff) macro 190 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
|
/arch/mips/kvm/ |
D | mmu.c | 474 pte_pfn(old_pte) != pte_pfn(hva_pte) || in kvm_set_spte_gfn() 534 pfn = pte_pfn(*ptep); in _kvm_mips_map_page_fast() 546 pfn = pte_pfn(*ptep); in _kvm_mips_map_page_fast()
|
/arch/hexagon/include/asm/ |
D | pgtable.h | 264 #define pte_page(x) pfn_to_page(pte_pfn(x)) 364 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
|
/arch/csky/include/asm/ |
D | pgtable.h | 38 #define pte_pfn(x) ((unsigned long)((x).pte_low >> PAGE_SHIFT)) macro 45 #define pte_page(x) pfn_to_page(pte_pfn(x))
|
/arch/s390/pci/ |
D | pci_mmio.c | 175 io_addr = (void __iomem *)((pte_pfn(*ptep) << PAGE_SHIFT) | in SYSCALL_DEFINE3() 314 io_addr = (void __iomem *)((pte_pfn(*ptep) << PAGE_SHIFT) | in SYSCALL_DEFINE3()
|
/arch/ia64/include/asm/ |
D | pgtable.h | 248 #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT) macro 330 pte_pfn(*ptep) != pte_pfn(pteval))) in set_pte()
|
/arch/sh/include/asm/ |
D | pgtable.h | 114 #define pte_pfn(x) ((unsigned long)(((x).pte_low >> PAGE_SHIFT))) macro
|
/arch/alpha/include/asm/ |
D | pgtable.h | 206 #define pte_pfn(pte) (pte_val(pte) >> 32) macro 208 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|
/arch/xtensa/include/asm/ |
D | pgtable.h | 291 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro 293 #define pte_page(x) pfn_to_page(pte_pfn(x))
|