Home
last modified time | relevance | path

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

12345

/openbmc/linux/mm/
H A Ddebug_vm_pgtable.c67 unsigned long pte_pfn; member
121 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_advanced_tests()
129 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests()
139 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests()
153 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests()
601 pte_t pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_clear_tests()
603 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_clear_tests()
847 WARN_ON(args->fixed_pte_pfn != pte_pfn(pte)); in pte_swap_tests()
884 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in swap_migration_tests()
1024 args->pte_pfn = ULONG_MAX; in destroy_args()
[all …]
H A Dpage_table_check.c169 page_table_check_clear(pte_pfn(pte), PAGE_SIZE >> PAGE_SHIFT); in __page_table_check_pte_clear()
225 page_table_check_set(pte_pfn(pte), nr, pte_write(pte)); in __page_table_check_ptes_set()
H A Dmigrate_device.c145 pfn = pte_pfn(pte); in migrate_vma_collect_pmd()
197 flush_cache_page(vma, addr, pte_pfn(pte)); in migrate_vma_collect_pmd()
639 unsigned long pfn = pte_pfn(orig_pte); in migrate_vma_insert_page()
661 flush_cache_page(vma, addr, pte_pfn(orig_pte)); in migrate_vma_insert_page()
H A Dhmm.c302 !is_zero_pfn(pte_pfn(pte))) { in hmm_vma_handle_pte()
311 *hmm_pfn = pte_pfn(pte) | cpu_flags; in hmm_vma_handle_pte()
514 pfn = pte_pfn(entry) + ((start & ~hmask) >> PAGE_SHIFT); in hmm_vma_walk_hugetlb_entry()
/openbmc/linux/arch/mips/include/asm/
H A Dpgtable-32.h156 #define pte_pfn(x) (((unsigned long)((x).pte_high >> PFN_PTE_SHIFT)) | (unsigned long)((x).pte_low… macro
172 #define pte_pfn(x) ((unsigned long)((x).pte_high >> 6)) macro
187 #define pte_pfn(x) ((unsigned long)((x).pte >> PFN_PTE_SHIFT)) macro
192 #define pte_page(x) pfn_to_page(pte_pfn(x))
H A Dpgtable-64.h299 #define pte_page(x) pfn_to_page(pte_pfn(x))
301 #define pte_pfn(x) ((unsigned long)((x).pte >> PFN_PTE_SHIFT)) macro
/openbmc/linux/arch/powerpc/include/asm/
H A Dpgtable.h55 #define pte_page(x) pfn_to_page(pte_pfn(x))
58 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()
/openbmc/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()
/openbmc/linux/arch/arc/include/asm/
H A Dpgtable-levels.h176 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
178 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/openbmc/linux/arch/sparc/include/asm/
H A Dpgtable_64.h241 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
260 #define pte_page(x) pfn_to_page(pte_pfn(x))
695 return pte_pfn(pte); in pmd_pfn()
841 pfn = pte_pfn(pte); in pmd_page_vaddr()
851 pfn = pte_pfn(pte); in pud_pgtable()
881 return pte_pfn(pte); in pud_pfn()
960 unsigned long this_pfn = pte_pfn(pte); \
/openbmc/linux/arch/x86/kernel/
H A Dcrash_dump_32.c25 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/openbmc/linux/arch/x86/include/asm/
H A Dtlbflush.h360 if (pte_pfn(oldpte) != pte_pfn(newpte)) in pte_needs_flush()
/openbmc/linux/arch/x86/xen/
H A Dp2m.c452 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in get_phys_to_machine()
582 p2m_pfn = pte_pfn(READ_ONCE(*ptep)); in xen_alloc_p2m_entry()
599 if (pte_pfn(*ptep) == p2m_pfn) { in xen_alloc_p2m_entry()
666 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_missing))) in __set_phys_to_machine()
669 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in __set_phys_to_machine()
/openbmc/linux/arch/mips/kvm/
H A Dmmu.c473 pte_pfn(old_pte) != pte_pfn(hva_pte) || in kvm_set_spte_gfn()
533 pfn = pte_pfn(*ptep); in _kvm_mips_map_page_fast()
545 pfn = pte_pfn(*ptep); in _kvm_mips_map_page_fast()
/openbmc/linux/arch/hexagon/include/asm/
H A Dpgtable.h245 #define pte_page(x) pfn_to_page(pte_pfn(x))
346 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/openbmc/linux/arch/um/include/asm/
H A Dpgtable-2level.h39 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
/openbmc/linux/arch/nios2/include/asm/
H A Dpgtable.h169 #define pte_pfn(pte) (pte_val(pte) & 0xfffff) macro
171 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
/openbmc/linux/arch/csky/abiv1/
H A Dcacheflush.c47 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache_range()
/openbmc/linux/arch/ia64/include/asm/
H A Dpgtable.h218 #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT) macro
301 pte_pfn(*ptep) != pte_pfn(pteval))) in set_pte()
/openbmc/linux/arch/csky/include/asm/
H A 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))
/openbmc/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()
/openbmc/linux/arch/s390/pci/
H A Dpci_mmio.c176 io_addr = (void __iomem *)((pte_pfn(*ptep) << PAGE_SHIFT) | in SYSCALL_DEFINE3()
315 io_addr = (void __iomem *)((pte_pfn(*ptep) << PAGE_SHIFT) | in SYSCALL_DEFINE3()
/openbmc/linux/arch/csky/abiv2/
H A Dcacheflush.c13 unsigned long pfn = pte_pfn(*pte); in update_mmu_cache_range()
/openbmc/linux/arch/arm64/mm/
H A Dhugetlbpage.c266 pfn = pte_pfn(pte); in set_huge_pte_at()
456 unsigned long pfn = pte_pfn(pte), dpfn; in huge_ptep_set_access_flags()
507 pfn = pte_pfn(pte); in huge_ptep_set_wrprotect()

12345