Home
last modified time | relevance | path

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

123

/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/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/arch/csky/abiv1/
H A Dcacheflush.c47 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache_range()
/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/mm/
H A Dhmm.c321 !is_zero_pfn(pte_pfn(pte))) { in hmm_vma_handle_pte()
330 new_pfn_flags = pte_pfn(pte) | cpu_flags; in hmm_vma_handle_pte()
578 pfn = pte_pfn(entry) + ((start & ~hmask) >> PAGE_SHIFT); in hmm_vma_walk_hugetlb_entry()
H A Dmigrate_device.c337 pfn = pte_pfn(pte); in migrate_vma_collect_pmd()
415 flush_cache_page(vma, addr, pte_pfn(pte)); in migrate_vma_collect_pmd()
1071 unsigned long pfn = pte_pfn(orig_pte); in migrate_vma_insert_page()
1093 flush_cache_page(vma, addr, pte_pfn(orig_pte)); in migrate_vma_insert_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
H A Dmcf_pgtable.h293 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/linux/arch/s390/mm/
H A Dgmap_helpers.c199 if (is_zero_pfn(pte_pfn(*pte))) { in find_zeropage_pte_entry()
/linux/arch/loongarch/include/asm/
H A Dpgtable.h286 #define pte_page(x) pfn_to_page(pte_pfn(x))
287 #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()
/linux/arch/xtensa/mm/
H A Dcache.c219 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache_range()
/linux/arch/powerpc/kernel/
H A Dmce_power.c55 pfn = pte_pfn(pte); in addr_to_pfn()
58 pfn = pte_pfn(__pte(pte_val(pte) | (addr & rpnmask))); in addr_to_pfn()
/linux/arch/x86/mm/pat/
H A Dset_memory.c899 phys_addr = (phys_addr_t)pte_pfn(*pte) << PAGE_SHIFT; in slow_virt_to_phys()
1281 pfn = pte_pfn(first); in collapse_pmd_page()
1299 if (pte_pfn(entry) != pte_pfn(first) + i) in collapse_pmd_page()
1882 unsigned long pfn = pte_pfn(old_pte); in __change_page_attr()

123