Lines Matching refs:VirtAddr
16 use super::{PhysAddr, VirtAddr};
44 pool_start_addr: VirtAddr,
105 fn create_region(&self, vaddr: VirtAddr) -> MmioBuddyAddrRegion { in create_region()
125 fn give_back_block(&self, vaddr: VirtAddr, exp: u32) -> Result<i32, SystemError> { in give_back_block() argument
334 fn calculate_block_vaddr(&self, vaddr: VirtAddr, exp: u32) -> VirtAddr { in calculate_block_vaddr() argument
335 return VirtAddr::new(vaddr.data() ^ (1 << exp as usize)); in calculate_block_vaddr()
352 vaddr: VirtAddr, in pop_buddy_block() argument
423 let vaddr: VirtAddr = list_guard.list.back().unwrap().vaddr; in merge_all_exp()
531 pub fn release_mmio(&self, vaddr: VirtAddr, length: usize) -> Result<i32, SystemError> { in release_mmio() argument
581 vaddr: VirtAddr,
584 pub fn new(vaddr: VirtAddr) -> Self { in new()
589 pub fn vaddr(&self) -> VirtAddr { in vaddr() argument
623 vaddr: VirtAddr,
629 pub unsafe fn from_raw(vaddr: VirtAddr, size: usize, mapped: bool) -> Self { in from_raw() argument
654 pub fn vaddr(&self) -> VirtAddr { in vaddr() argument
740 ) -> Result<VirtAddr, SystemError> { in map_any_phys() argument