/Linux-v5.15/arch/arc/include/asm/ |
D | page.h | 94 #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) macro 111 #define ARCH_PFN_OFFSET virt_to_pfn(CONFIG_LINUX_RAM_BASE) 126 #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) 127 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
|
/Linux-v5.15/arch/riscv/include/asm/ |
D | pgalloc.h | 19 unsigned long pfn = virt_to_pfn(pte); in pmd_populate_kernel() 27 unsigned long pfn = virt_to_pfn(page_address(pte)); in pmd_populate() 35 unsigned long pfn = virt_to_pfn(pmd); in pud_populate()
|
D | page.h | 150 #define virt_to_pfn(vaddr) (phys_to_pfn(__pa(vaddr))) macro 153 #define virt_to_page(vaddr) (pfn_to_page(virt_to_pfn(vaddr))) 169 (unsigned long)(_addr) >= PAGE_OFFSET && pfn_valid(virt_to_pfn(_addr)); \
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | page.h | 131 #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) macro 132 #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) 135 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
|
/Linux-v5.15/arch/arm/kernel/ |
D | hibernate.c | 28 unsigned long nosave_begin_pfn = virt_to_pfn(&__nosave_begin); in pfn_is_nosave() 29 unsigned long nosave_end_pfn = virt_to_pfn(&__nosave_end - 1); in pfn_is_nosave()
|
/Linux-v5.15/arch/m68k/include/asm/ |
D | page_no.h | 23 #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) macro 30 #define page_to_pfn(page) virt_to_pfn(page_to_virt(page))
|
D | page_mm.h | 124 #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) macro 130 pfn_to_page(virt_to_pfn(addr)); \
|
/Linux-v5.15/arch/s390/include/asm/ |
D | page.h | 176 #define virt_to_pfn(kaddr) (phys_to_pfn(__pa(kaddr))) macro 179 #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) 182 #define virt_addr_valid(kaddr) pfn_valid(virt_to_pfn(kaddr))
|
/Linux-v5.15/arch/openrisc/include/asm/ |
D | page.h | 75 #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) macro 85 #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))
|
/Linux-v5.15/arch/arm/include/asm/ |
D | memory.h | 291 #define virt_to_pfn(kaddr) \ macro 396 #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) 398 && pfn_valid(virt_to_pfn(kaddr)))
|
D | dma-direct.h | 31 return pfn_to_dma(dev, virt_to_pfn(addr)); in virt_to_dma()
|
/Linux-v5.15/include/asm-generic/ |
D | page.h | 77 #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) macro 80 #define virt_to_page(addr) pfn_to_page(virt_to_pfn(addr))
|
/Linux-v5.15/arch/arm/mm/ |
D | kasan_init.c | 61 entry = pfn_pte(virt_to_pfn(p), in kasan_pte_populate() 71 entry = pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_pte_populate() 281 pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_init()
|
/Linux-v5.15/arch/microblaze/include/asm/ |
D | page.h | 107 # define virt_to_pfn(vaddr) (phys_to_pfn((__pa(vaddr)))) macro 118 #define virt_addr_valid(vaddr) (pfn_valid(virt_to_pfn(vaddr)))
|
/Linux-v5.15/arch/x86/include/asm/xen/ |
D | page.h | 306 #define virt_to_pfn(v) (PFN_DOWN(__pa(v))) macro 307 #define virt_to_mfn(v) (pfn_to_mfn(virt_to_pfn(v))) 311 #define virt_to_gfn(v) (pfn_to_gfn(virt_to_pfn(v)))
|
/Linux-v5.15/arch/arm64/include/asm/ |
D | memory.h | 319 #define virt_to_pfn(x) __phys_to_pfn(__virt_to_phys((unsigned long)(x))) macro 334 #define virt_to_page(x) pfn_to_page(virt_to_pfn(x)) 352 __is_lm_address(__addr) && pfn_is_map_memory(virt_to_pfn(__addr)); \
|
/Linux-v5.15/arch/mips/include/asm/ |
D | page.h | 255 #define virt_to_pfn(kaddr) PFN_DOWN(virt_to_phys((void *)(kaddr))) macro 256 #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr))
|
/Linux-v5.15/arch/riscv/mm/ |
D | context.c | 193 csr_write(CSR_SATP, virt_to_pfn(mm->pgd) | in set_mm_asid() 204 csr_write(CSR_SATP, virt_to_pfn(mm->pgd) | SATP_MODE); in set_mm_noasid()
|
/Linux-v5.15/arch/s390/kernel/ |
D | vdso.c | 101 pfn = virt_to_pfn(vdso_data); in vvar_fault() 125 pfn = virt_to_pfn(vdso_data); in vvar_fault()
|
/Linux-v5.15/arch/m68k/sun3/ |
D | dvma.c | 32 ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); in dvma_page()
|
/Linux-v5.15/drivers/xen/xenfs/ |
D | xenstored.c | 42 virt_to_pfn(xen_store_interface), in xsd_kva_mmap()
|
/Linux-v5.15/arch/m68k/mm/ |
D | sun3mmu.c | 78 pte_t pte = pfn_pte(virt_to_pfn(address), PAGE_INIT); in paging_init()
|
/Linux-v5.15/drivers/xen/xenbus/ |
D | xenbus_dev_backend.c | 103 virt_to_pfn(xen_store_interface), in xenbus_backend_mmap()
|
/Linux-v5.15/arch/arm64/mm/ |
D | trans_pgd.c | 272 set_pte(ptep, pfn_pte(virt_to_pfn(page), pgprot)); in trans_pgd_map_page() 312 pfn = virt_to_pfn(levels[this_level]); in trans_pgd_idmap_page()
|
D | kasan_init.c | 243 early_pfn_to_nid(virt_to_pfn(lm_alias(KERNEL_START)))); in kasan_init_shadow() 269 early_pfn_to_nid(virt_to_pfn(start))); in kasan_init_shadow()
|