Searched refs:virt_to_phys (Results 1 – 5 of 5) sorted by relevance
18 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()
141 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
34 pub(crate) use util::{phys_to_virt, virt_to_phys};
20 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()
93 pub(crate) fn virt_to_phys(vaddr: NonNull<u8>) -> usize { in virt_to_phys() function