/linux/arch/mips/include/asm/ |
A 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))
|
A 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
|
/linux/mm/ |
A D | debug_vm_pgtable.c | 85 unsigned long pte_pfn; member 138 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_advanced_tests() 637 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_clear_tests() 884 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in swap_migration_tests() 1025 args->pte_pfn = ULONG_MAX; in destroy_args() 1039 args->pte_pfn = ULONG_MAX; in destroy_args() 1042 if (args->pte_pfn != ULONG_MAX) { in destroy_args() 1043 page = pfn_to_page(args->pte_pfn); in destroy_args() 1046 args->pte_pfn = ULONG_MAX; in destroy_args() 1211 args->pte_pfn = args->pud_pfn; in init_args() [all …]
|
A D | hmm.c | 304 !is_zero_pfn(pte_pfn(pte))) { in hmm_vma_handle_pte() 313 *hmm_pfn = pte_pfn(pte) | cpu_flags; in hmm_vma_handle_pte() 503 pfn = pte_pfn(entry) + ((start & ~hmask) >> PAGE_SHIFT); in hmm_vma_walk_hugetlb_entry()
|
A D | rmap.c | 934 flush_cache_page(vma, address, pte_pfn(*pte)); in page_mkclean_one() 1465 subpage = page - page_to_pfn(page) + pte_pfn(*pvmw.pte); in try_to_unmap_one() 1503 flush_cache_page(vma, address, pte_pfn(*pvmw.pte)); in try_to_unmap_one() 1761 subpage = page - page_to_pfn(page) + pte_pfn(*pvmw.pte); in try_to_migrate_one() 1799 flush_cache_page(vma, address, pte_pfn(*pvmw.pte)); in try_to_migrate_one() 2080 subpage = page - page_to_pfn(page) + pte_pfn(*pvmw.pte); in page_make_device_exclusive_one() 2084 flush_cache_page(vma, address, pte_pfn(*pvmw.pte)); in page_make_device_exclusive_one()
|
/linux/arch/csky/abiv2/ |
A 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()
|
/linux/arch/powerpc/mm/book3s64/ |
A 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()
|
/linux/arch/arm64/mm/ |
A D | hugetlbpage.c | 99 unsigned long pfn = pte_pfn(pte); in pte_pgprot() 237 pfn = pte_pfn(pte); in set_huge_pte_at() 423 unsigned long pfn = pte_pfn(pte), dpfn; in huge_ptep_set_access_flags() 473 pfn = pte_pfn(pte); in huge_ptep_set_wrprotect()
|
/linux/arch/sparc/include/asm/ |
A 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() 839 pfn = pte_pfn(pte); in pmd_page_vaddr() 849 pfn = pte_pfn(pte); in pud_pgtable() 879 return pte_pfn(pte); in pud_pfn() 945 unsigned long this_pfn = pte_pfn(pte); \
|
A D | pgtable_32.h | 275 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function 288 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|
/linux/arch/x86/xen/ |
A 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()
|
/linux/arch/arc/include/asm/ |
A 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
|
/linux/arch/mips/kvm/ |
A 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()
|
/linux/arch/x86/kernel/ |
A D | crash_dump_32.c | 26 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/linux/arch/nios2/include/asm/ |
A D | pgtable.h | 188 #define pte_pfn(pte) (pte_val(pte) & 0xfffff) macro 190 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
|
/linux/arch/hexagon/include/asm/ |
A 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
|
/linux/arch/um/include/asm/ |
A D | pgtable-2level.h | 39 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
|
/linux/arch/csky/abiv1/ |
A D | cacheflush.c | 40 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache()
|
/linux/arch/ia64/include/asm/ |
A 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()
|
/linux/arch/csky/include/asm/ |
A 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))
|
/linux/arch/s390/pci/ |
A 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()
|
/linux/arch/powerpc/include/asm/ |
A D | pte-walk.h | 53 pa = PFN_PHYS(pte_pfn(*ptep)); in ppc_find_vmap_phys()
|
/linux/arch/xtensa/include/asm/ |
A 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))
|
/linux/arch/arm/include/asm/ |
A D | pgtable.h | 181 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT) macro 184 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|
/linux/arch/alpha/include/asm/ |
A D | pgtable.h | 206 #define pte_pfn(pte) (pte_val(pte) >> 32) macro 208 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|