Home
last modified time | relevance | path

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

1234

/arch/mips/include/asm/
Dpgtable-32.h157 #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))
Dpgtable-64.h304 #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/
Dcacheflush.c15 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/
Dcrash_dump_32.c26 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/arch/um/include/asm/
Dpgtable-2level.h39 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
Dpgtable-3level.h88 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
/arch/powerpc/mm/book3s64/
Dhash_64k.c150 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()
Dhash_4k.c79 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_4K()
/arch/csky/abiv1/
Dcacheflush.c40 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache()
/arch/arc/include/asm/
Dpgtable-levels.h177 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
179 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
Dhugepage.h34 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd))
/arch/arm64/mm/
Dhugetlbpage.c98 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/
Dpte-walk.h53 pa = PFN_PHYS(pte_pfn(*ptep)); in ppc_find_vmap_phys()
Dpgtable.h49 #define pte_page(x) pfn_to_page(pte_pfn(x))
/arch/x86/xen/
Dp2m.c455 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/
Dpgtable_64.h256 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/
Dpgtable.h188 #define pte_pfn(pte) (pte_val(pte) & 0xfffff) macro
190 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
/arch/mips/kvm/
Dmmu.c474 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/
Dpgtable.h264 #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/
Dpgtable.h38 #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/
Dpci_mmio.c175 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/
Dpgtable.h248 #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/
Dpgtable.h114 #define pte_pfn(x) ((unsigned long)(((x).pte_low >> PAGE_SHIFT))) macro
/arch/alpha/include/asm/
Dpgtable.h206 #define pte_pfn(pte) (pte_val(pte) >> 32) macro
208 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
/arch/xtensa/include/asm/
Dpgtable.h291 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
293 #define pte_page(x) pfn_to_page(pte_pfn(x))

1234