/linux-6.12.1/mm/ |
D | debug_vm_pgtable.c | 68 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 …]
|
D | page_table_check.c | 169 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()
|
D | migrate_device.c | 146 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()
|
D | hmm.c | 302 !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/ |
D | pgtable-32.h | 156 #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))
|
D | pgtable-64.h | 299 #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/ |
D | contpte.c | 59 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()
|
D | hugetlbpage.c | 245 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/ |
D | hash_64k.c | 152 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/ |
D | pgtable.h | 57 #define pte_page(x) pfn_to_page(pte_pfn(x)) 60 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
|
D | pte-walk.h | 53 pa = PFN_PHYS(pte_pfn(*ptep)); in ppc_find_vmap_phys()
|
/linux-6.12.1/arch/arc/include/asm/ |
D | pgtable-levels.h | 176 #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/ |
D | pgtable_64.h | 241 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/ |
D | crash_dump_32.c | 25 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | tlbflush.h | 359 if (pte_pfn(oldpte) != pte_pfn(newpte)) in pte_needs_flush()
|
/linux-6.12.1/arch/x86/xen/ |
D | p2m.c | 451 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/ |
D | pgtable.h | 245 #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/ |
D | pgtable-2level.h | 39 #define pte_pfn(x) phys_to_pfn(pte_val(x)) macro
|
D | pgtable-3level.h | 80 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() function
|
/linux-6.12.1/arch/nios2/include/asm/ |
D | pgtable.h | 172 #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/ |
D | cacheflush.c | 47 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache_range()
|
/linux-6.12.1/arch/csky/include/asm/ |
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-6.12.1/arch/parisc/kernel/ |
D | cache.c | 111 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/ |
D | cacheflush.c | 13 unsigned long pfn = pte_pfn(*pte); in update_mmu_cache_range()
|
/linux-6.12.1/arch/alpha/include/asm/ |
D | pgtable.h | 192 #define pte_pfn(pte) (pte_val(pte) >> PFN_PTE_SHIFT) macro 194 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
|