Home
last modified time | relevance | path

Searched refs:virt_to_phys (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Virtualization/vmbase/src/virtio/
Dhal.rs18 use crate::memory::{alloc_shared, dealloc_shared, phys_to_virt, virt_to_phys};
51 let paddr = virt_to_phys(vaddr); in dma_alloc()
93 let paddr = virt_to_phys(bounce); in share()
/packages/modules/Virtualization/vmbase/example/src/
Dpci.rs141 let paddr = virt_to_phys(vaddr); in dma_alloc()
168 virt_to_phys(vaddr) in share()
177 fn virt_to_phys(vaddr: NonNull<u8>) -> PhysAddr { in virt_to_phys() function
/packages/modules/Virtualization/vmbase/src/
Dmemory.rs34 pub(crate) use util::{phys_to_virt, virt_to_phys};
/packages/modules/Virtualization/vmbase/src/memory/
Dshared.rs20 use super::util::{page_4kb_of, virt_to_phys};
523 mem_sharer.share(virt_to_phys(vaddr).try_into().unwrap()).unwrap(); in refill()
540 mem_sharer.unshare(virt_to_phys(vaddr).try_into().unwrap()).unwrap(); in drop()
Dutil.rs93 pub(crate) fn virt_to_phys(vaddr: NonNull<u8>) -> usize { in virt_to_phys() function