Home
last modified time | relevance | path

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

12345

/linux-6.12.1/mm/
Ddebug_vm_pgtable.c68 unsigned long pte_pfn; member
122 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_advanced_tests()
130 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests()
140 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests()
154 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests()
602 pte_t pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_clear_tests()
604 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_clear_tests()
848 WARN_ON(args->fixed_pte_pfn != pte_pfn(pte)); in pte_swap_tests()
885 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in swap_migration_tests()
1026 args->pte_pfn = ULONG_MAX; in destroy_args()
[all …]
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()
Dmigrate_device.c146 pfn = pte_pfn(pte); in migrate_vma_collect_pmd()
199 flush_cache_page(vma, addr, pte_pfn(pte)); in migrate_vma_collect_pmd()
645 unsigned long pfn = pte_pfn(orig_pte); in migrate_vma_insert_page()
667 flush_cache_page(vma, addr, pte_pfn(orig_pte)); in migrate_vma_insert_page()
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()
509 pfn = pte_pfn(entry) + ((start & ~hmask) >> PAGE_SHIFT); in hmm_vma_walk_hugetlb_entry()
/linux-6.12.1/arch/mips/include/asm/
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))
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
/linux-6.12.1/arch/arm64/mm/
Dcontpte.c59 pte = pfn_pte(ALIGN_DOWN(pte_pfn(pte), CONT_PTES), pte_pgprot(pte)); in contpte_convert()
121 pfn = ALIGN_DOWN(pte_pfn(pte), CONT_PTES); in __contpte_try_fold()
218 pfn = pte_pfn(orig_pte) - (orig_ptep - ptep); in contpte_ptep_get_lockless()
225 pte_pfn(pte) != pfn || in contpte_ptep_get_lockless()
260 pfn = pte_pfn(pte); in contpte_set_ptes()
Dhugetlbpage.c245 pfn = pte_pfn(pte); in set_huge_pte_at()
438 unsigned long pfn = pte_pfn(pte), dpfn; in huge_ptep_set_access_flags()
489 pfn = pte_pfn(pte); in huge_ptep_set_wrprotect()
/linux-6.12.1/arch/powerpc/mm/book3s64/
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()
/linux-6.12.1/arch/powerpc/include/asm/
Dpgtable.h57 #define pte_page(x) pfn_to_page(pte_pfn(x))
60 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
Dpte-walk.h53 pa = PFN_PHYS(pte_pfn(*ptep)); in ppc_find_vmap_phys()
/linux-6.12.1/arch/arc/include/asm/
Dpgtable-levels.h176 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
178 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/linux-6.12.1/arch/sparc/include/asm/
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()
843 pfn = pte_pfn(pte); in pmd_page_vaddr()
853 pfn = pte_pfn(pte); in pud_pgtable()
884 return pte_pfn(pte); in pud_pfn()
965 unsigned long this_pfn = pte_pfn(pte); \
/linux-6.12.1/arch/x86/kernel/
Dcrash_dump_32.c25 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/linux-6.12.1/arch/x86/include/asm/
Dtlbflush.h359 if (pte_pfn(oldpte) != pte_pfn(newpte)) in pte_needs_flush()
/linux-6.12.1/arch/x86/xen/
Dp2m.c451 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in get_phys_to_machine()
580 p2m_pfn = pte_pfn(READ_ONCE(*ptep)); in xen_alloc_p2m_entry()
597 if (pte_pfn(*ptep) == p2m_pfn) { in xen_alloc_p2m_entry()
664 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_missing))) in __set_phys_to_machine()
667 if (pte_pfn(*ptep) == PFN_DOWN(__pa(p2m_identity))) in __set_phys_to_machine()
/linux-6.12.1/arch/hexagon/include/asm/
Dpgtable.h245 #define pte_page(x) pfn_to_page(pte_pfn(x))
346 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) macro
/linux-6.12.1/arch/um/include/asm/
Dpgtable-2level.h39 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
Dpgtable-3level.h80 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
/linux-6.12.1/arch/nios2/include/asm/
Dpgtable.h172 #define pte_pfn(pte) (pte_val(pte) & 0xfffff) macro
174 #define pte_page(pte) (pfn_to_page(pte_pfn(pte)))
/linux-6.12.1/arch/csky/abiv1/
Dcacheflush.c47 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache_range()
/linux-6.12.1/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))
/linux-6.12.1/arch/parisc/kernel/
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-6.12.1/arch/csky/abiv2/
Dcacheflush.c13 unsigned long pfn = pte_pfn(*pte); in update_mmu_cache_range()
/linux-6.12.1/arch/alpha/include/asm/
Dpgtable.h192 #define pte_pfn(pte) (pte_val(pte) >> PFN_PTE_SHIFT) macro
194 #define pte_page(pte) pfn_to_page(pte_pfn(pte))

12345