Home
last modified time | relevance | path

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

12

/linux/arch/loongarch/include/asm/
H A Dpage.h76 #define page_to_virt(page) __va(page_to_phys(page)) macro
83 #define page_to_virt(page) \ macro
97 #define pfn_to_virt(pfn) page_to_virt(pfn_to_page(pfn))
/linux/kernel/dma/
H A Dpool.c110 addr = page_to_virt(page); in atomic_pool_expand()
116 ret = set_memory_decrypted((unsigned long)page_to_virt(page), in atomic_pool_expand()
129 ret = set_memory_encrypted((unsigned long)page_to_virt(page), in atomic_pool_expand()
H A Dmapping.c734 trace_dma_alloc_pages(dev, page_to_virt(page), *dma_handle, in dma_alloc_pages()
761 trace_dma_free_pages(dev, page_to_virt(page), dma_handle, size, dir, 0); in dma_free_pages()
/linux/scripts/gdb/linux/
H A Dmm.py194 def page_to_virt(self, page): member in x86_page_ops
198 return self.page_to_virt(page)
440 def page_to_virt(self, page): member in aarch64_page_ops
456 return self.page_to_virt(page)
/linux/arch/m68k/include/asm/
H A Dpage_mm.h138 #define page_to_virt(page) ({ \ macro
/linux/arch/x86/hyperv/
H A Dhv_crash.c555 trampoline_va = (u64)page_to_virt(page); in hv_crash_trampoline_setup()
567 hv_crash_ptpgs[i] = page_to_virt(page); in hv_crash_trampoline_setup()
/linux/arch/riscv/include/asm/
H A Dpage.h160 #define page_to_virt(page) (pfn_to_virt(page_to_pfn(page))) macro
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.h165 return page_to_virt(rxpage->page) + rxpage->pg_off; in aq_buf_vaddr()
/linux/drivers/s390/char/
H A Dvmcp.c74 session->response = (char *)page_to_virt(page); in vmcp_response_alloc()
/linux/arch/xtensa/mm/
H A Dcache.c66 kvaddr = (unsigned long)page_to_virt(page); in kmap_invalidate_coherent()
/linux/net/core/
H A Dxdp.c595 addr = page_to_virt(page); in xdp_convert_zc_to_xdp_frame()
879 addr = page_to_virt(page); in xdpf_clone()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gart.c200 adev->gart.ptr = page_to_virt(p); in amdgpu_gart_table_ram_alloc()
/linux/mm/kfence/
H A Dcore.c1018 __kfence_pool = page_to_virt(pages); in kfence_init_late()
1022 kfence_metadata_init = page_to_virt(pages); in kfence_init_late()
/linux/mm/kasan/
H A Dshadow.c312 __memset(page_to_virt(page), KASAN_VMALLOC_INVALID, PAGE_SIZE); in kasan_populate_vmalloc_pte()
/linux/arch/riscv/kvm/
H A Dmmu.c549 kvm->arch.pgd = page_to_virt(pgd_page); in kvm_riscv_mmu_alloc_pgd()
/linux/drivers/hv/
H A Dmshv_root_main.c1134 vp->vp_intercept_msg_page = page_to_virt(intercept_msg_page); in mshv_partition_ioctl_create_vp()
1136 vp->vp_register_page = page_to_virt(register_page); in mshv_partition_ioctl_create_vp()
1139 vp->vp_ghcb_page = page_to_virt(ghcb_page); in mshv_partition_ioctl_create_vp()
/linux/fs/proc/
H A Dkcore.c216 ent->addr = (unsigned long)page_to_virt(p); in kclist_add_private()
/linux/drivers/md/
H A Ddm-flakey.c472 virt = page_to_virt(pages); in clone_bio()
/linux/arch/s390/kvm/
H A Dpci.c74 aift->gait = (struct zpci_gaite *)page_to_virt(page); in zpci_setup_aipb()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c331 addr = page_to_virt(page); in i40e_construct_skb_zc()
/linux/drivers/s390/cio/
H A Dvfio_ccw_cp.c206 idaws[i] = virt_to_dma64(page_to_virt(pa->pa_page[i])); in page_array_idal_create_words()
/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c428 tbl = page_to_virt(page); in kvmppc_tce_put()
/linux/net/vmw_vsock/
H A Dvirtio_transport.c133 /* We will use 'page_to_virt()' for the userspace page in virtio_transport_send_skb()
138 va = page_to_virt(skb_frag_page(skb_frag)); in virtio_transport_send_skb()
/linux/drivers/crypto/ccp/
H A Dsev-dev-tio.c449 scatter = page_to_virt(pg); in sla_alloc()
/linux/include/linux/
H A Dmm.h119 #ifndef page_to_virt
120 #define page_to_virt(x) __va(PFN_PHYS(page_to_pfn(x))) macro
2973 return page_to_virt(page); in lowmem_page_address()

12