Home
last modified time | relevance | path

Searched refs:page_to_virt (Results 1 – 25 of 31) 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.c122 addr = page_to_virt(page); in atomic_pool_expand()
129 ret = set_memory_decrypted((unsigned long)page_to_virt(page), in atomic_pool_expand()
147 set_memory_encrypted((unsigned long)page_to_virt(page), 1 << order)) in atomic_pool_expand()
H A Dmapping.c745 trace_dma_alloc_pages(dev, page_to_virt(page), *dma_handle, in dma_alloc_pages()
772 trace_dma_free_pages(dev, page_to_virt(page), dma_handle, size, dir, 0); in dma_free_pages()
/linux/arch/m68k/include/asm/
H A Dpage_mm.h140 #define page_to_virt(page) ({ \ macro
/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/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.h168 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gart.c200 adev->gart.ptr = page_to_virt(p); in amdgpu_gart_table_ram_alloc()
/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/mailbox/
H A Driscv-sbi-mpxy-mbox.c365 free_pages((unsigned long)page_to_virt(shmem_page), in mpxy_setup_shmem()
370 mpxy->shmem = page_to_virt(shmem_page); in mpxy_setup_shmem()
/linux/mm/kfence/
H A Dcore.c1014 __kfence_pool = page_to_virt(pages); in kfence_init_late()
1018 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/drivers/hv/
H A Dmshv_root_main.c1138 vp->vp_intercept_msg_page = page_to_virt(intercept_msg_page); in mshv_partition_ioctl_create_vp()
1140 vp->vp_register_page = page_to_virt(register_page); in mshv_partition_ioctl_create_vp()
1143 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/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c331 addr = page_to_virt(page); in i40e_construct_skb_zc()
/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c428 tbl = page_to_virt(page); in kvmppc_tce_put()
H A Dbook3s_xive_native.c663 qaddr = page_to_virt(page) + (kvm_eq.qaddr & ~PAGE_MASK); in kvmppc_xive_native_set_queue_config()
/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/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/drivers/crypto/ccp/
H A Dsev-dev-tio.c449 scatter = page_to_virt(pg); in sla_alloc()
/linux/drivers/perf/
H A Driscv_pmu_sbi.c684 cpu_hw_evt->snapshot_addr = page_to_virt(snapshot_page); in pmu_sbi_snapshot_alloc()

12