Home
last modified time | relevance | path

Searched refs:page_to_virt (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dpage_no.h27 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)) macro
30 #define page_to_pfn(page) virt_to_pfn(page_to_virt(page))
Dpage_mm.h152 #define page_to_virt(page) ({ \ macro
/kernel/linux/linux-5.10/kernel/dma/
Dpool.c113 addr = page_to_virt(page); in atomic_pool_expand()
119 ret = set_memory_decrypted((unsigned long)page_to_virt(page), in atomic_pool_expand()
132 ret = set_memory_encrypted((unsigned long)page_to_virt(page), in atomic_pool_expand()
/kernel/linux/linux-5.10/mm/kasan/
Dinit.c297 pte_free_kernel(&init_mm, (pte_t *)page_to_virt(pmd_page(*pmd))); in kasan_free_pte()
312 pmd_free(&init_mm, (pmd_t *)page_to_virt(pud_page(*pud))); in kasan_free_pmd()
327 pud_free(&init_mm, (pud_t *)page_to_virt(p4d_page(*p4d))); in kasan_free_pud()
342 p4d_free(&init_mm, (p4d_t *)page_to_virt(pgd_page(*pgd))); in kasan_free_p4d()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dpage.h148 # define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) macro
153 # define page_to_virt(page) (pfn_to_virt(page_to_pfn(page))) macro
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dio.h32 #define page_to_phys(page) virt_to_phys(page_to_virt(page))
Dpage.h84 #define page_to_virt(page) \ macro
Dpgtable.h205 unsigned long paddr = (unsigned long)page_to_virt(pte_page(pteval)); in set_pte_at()
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dcache.c66 kvaddr = (unsigned long)page_to_virt(page); in kmap_invalidate_coherent()
89 return page_to_virt(page); in coherent_kvaddr()
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dpgalloc.h27 (pmd_val(*(pmdp)) = ((unsigned long)page_to_virt(page)))
Dpage.h200 #define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dmemory.h325 #define page_to_virt(x) ({ \ macro
332 #define page_to_virt(x) ({ \ macro
/kernel/linux/linux-5.10/arch/powerpc/lib/
Dpmem.c91 memcpy_flushcache(to, page_to_virt(page) + offset, len); in memcpy_page_flushcache()
/kernel/linux/linux-5.10/include/asm-generic/
Dpage.h85 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page)) macro
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dpage.h132 #define page_to_virt(page) __va(page_to_phys(page)) macro
/kernel/linux/linux-5.10/mm/
Dpurgeable.c147 uxpte = page_to_virt(page); in lookup_uxpte()
271 uxpte = page_to_virt(page); in __mm_purg_pages_info()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dpage.h147 #define page_to_virt(page) (pfn_to_virt(page_to_pfn(page))) macro
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.h149 return page_to_virt(rxpage->page) + rxpage->pg_off; in aq_buf_vaddr()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpage.h180 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page)) macro
/kernel/linux/linux-5.10/arch/s390/kvm/
Dvsie.c583 cur = page_to_virt(page); in kvm_s390_vsie_gmap_notifier()
650 *hpa = (hpa_t) page_to_virt(page) + (gpa & ~PAGE_MASK); in pin_guest_page()
1320 return page_to_virt(page); in get_vsie_page()
1361 vsie_page = page_to_virt(page); in get_vsie_page()
1448 vsie_page = page_to_virt(page); in kvm_s390_vsie_destroy()
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dgroup_writeback.c87 buf = page_to_virt(hyperhold_io_page(hpio, page_id)); in copy_obj()
95 buf = page_to_virt(hyperhold_io_page(hpio, page_id)); in copy_obj()
100 buf = page_to_virt(hyperhold_io_page(hpio, page_id + 1)); in copy_obj()
/kernel/linux/linux-5.10/net/core/
Dxdp.c436 addr = page_to_virt(page); in xdp_convert_zc_to_xdp_frame()
/kernel/linux/linux-5.10/drivers/xen/
Dgntalloc.c194 addr = (unsigned long)page_to_virt(gref->page); in __del_gref()
/kernel/linux/linux-5.10/fs/proc/
Dkcore.c200 ent->addr = (unsigned long)page_to_virt(p); in kclist_add_private()
/kernel/linux/linux-5.10/include/linux/
Dmm.h118 #ifndef page_to_virt
119 #define page_to_virt(x) __va(PFN_PHYS(page_to_pfn(x))) macro
1561 return page_to_virt(page); in lowmem_page_address()

12