Home
last modified time | relevance | path

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

123

/linux/arch/arm64/mm/
H A Dcontpte.c79 pte = pfn_pte(ALIGN_DOWN(pte_pfn(pte), CONT_PTES), pte_pgprot(pte)); in contpte_convert()
279 pfn = ALIGN_DOWN(pte_pfn(pte), CONT_PTES); in __contpte_try_fold()
366 return pte_valid_cont(pte) && pte_pfn(pte) == pfn && in contpte_is_consistent()
404 pfn = pte_pfn(orig_pte) - (orig_ptep - ptep); in contpte_ptep_get_lockless()
472 pfn = pte_pfn(pte); in contpte_set_ptes()
/linux/arch/powerpc/mm/book3s64/
H A Dhash_64k.c152 pa = pte_pfn(__pte(old_pte)) << HW_PAGE_SHIFT; in __hash_page_4K()
154 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_4K()
291 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_64K()
H A Dhash_4k.c81 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_4K()
/linux/arch/arc/include/asm/
H A Dpgtable-levels.h175 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
177 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/linux/arch/powerpc/include/asm/
H A Dpgtable.h47 #define pte_page(x) pfn_to_page(pte_pfn(x))
49 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
H A Dpte-walk.h53 pa = PFN_PHYS(pte_pfn(*ptep)); in ppc_find_vmap_phys()
/linux/arch/x86/xen/
H A Dp2m.c445 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in get_phys_to_machine()
574 p2m_pfn = pte_pfn(READ_ONCE(*ptep)); in xen_alloc_p2m_entry()
591 if (pte_pfn(*ptep) == p2m_pfn) { in xen_alloc_p2m_entry()
658 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_missing))) in __set_phys_to_machine()
661 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in __set_phys_to_machine()
/linux/arch/x86/kernel/
H A Dcrash_dump_32.c25 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/linux/arch/um/include/asm/
H A Dpgtable-2level.h39 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
H A Dpgtable-4level.h100 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
/linux/mm/
H A Dpage_table_check.c155 page_table_check_clear(pte_pfn(pte), PAGE_SIZE >> PAGE_SHIFT); in __page_table_check_pte_clear()
212 page_table_check_set(pte_pfn(pte), nr, pte_write(pte)); in __page_table_check_ptes_set()
H A Dhmm.c314 !is_zero_pfn(pte_pfn(pte))) { in hmm_vma_handle_pte()
323 new_pfn_flags = pte_pfn(pte) | cpu_flags; in hmm_vma_handle_pte()
584 pfn = pte_pfn(entry) + ((start & ~hmask) >> PAGE_SHIFT); in hmm_vma_walk_hugetlb_entry()
H A Dmigrate_device.c330 pfn = pte_pfn(pte); in migrate_vma_collect_pmd()
404 flush_cache_page(vma, addr, pte_pfn(pte)); in migrate_vma_collect_pmd()
1061 unsigned long pfn = pte_pfn(orig_pte); in migrate_vma_insert_page()
1083 flush_cache_page(vma, addr, pte_pfn(orig_pte)); in migrate_vma_insert_page()
/linux/arch/csky/abiv1/
H A Dcacheflush.c47 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache_range()
/linux/arch/parisc/kernel/
H A Dcache.c111 unsigned long pfn = pte_pfn(pte); in __update_cache()
637 __flush_cache_page(vma, vmaddr, PFN_PHYS(pte_pfn(pte))); in flush_cache_page_if_present()
793 __flush_cache_page(vma, addr, PFN_PHYS(pte_pfn(pte))); in ptep_clear_flush_young()
809 unsigned long pfn = pte_pfn(pte); in ptep_clear_flush()
/linux/arch/csky/abiv2/
H A Dcacheflush.c13 unsigned long pfn = pte_pfn(*pte); in update_mmu_cache_range()
/linux/arch/powerpc/mm/nohash/
H A De500_hugetlbpage.c157 mas7_3 = (u64)pte_pfn(pte) << PAGE_SHIFT; in book3e_hugetlb_preload()
/linux/arch/loongarch/mm/
H A Dpgtable.c21 return phys_to_page(pfn_to_phys(pte_pfn(*virt_to_kpte(kaddr)))); in tlb_virt_to_page()
/linux/arch/parisc/include/asm/
H A Dpgtable.h351 #define pte_pfn(x) (pte_val(x) >> PFN_PTE_SHIFT) macro
353 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
/linux/arch/mips/mm/
H A Dcache.c153 pfn = pte_pfn(pte); in __update_cache()
/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h103 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) macro
H A Dmotorola_pgtable.h111 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/linux/arch/arm/mm/
H A Dfault-armv.c190 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache_range()
/linux/arch/loongarch/include/asm/
H A Dpgtable.h279 #define pte_page(x) pfn_to_page(pte_pfn(x))
280 #define pte_pfn(x) ((unsigned long)(((x).pte & _PFN_MASK) >> PFN_PTE_SHIFT)) macro
/linux/arch/sh/kernel/
H A Dio_trapped.c162 return pfn_to_kaddr(pte_pfn(entry)); in lookup_tiop()

123