Lines Matching refs:VirtAddr
16 use super::VirtAddr;
25 const MMIO_BASE: VirtAddr = VirtAddr::new(0xffffa10000000000);
26 const MMIO_TOP: VirtAddr = VirtAddr::new(0xffffa20000000000);
47 pool_start_addr: VirtAddr,
95 fn create_region(&self, vaddr: VirtAddr) -> MmioBuddyAddrRegion { in create_region()
115 fn give_back_block(&self, vaddr: VirtAddr, exp: u32) -> Result<i32, SystemError> { in give_back_block() argument
325 fn calculate_block_vaddr(&self, vaddr: VirtAddr, exp: u32) -> VirtAddr { in calculate_block_vaddr() argument
326 return VirtAddr::new(vaddr.data() ^ (1 << exp as usize)); in calculate_block_vaddr()
343 vaddr: VirtAddr, in pop_buddy_block() argument
414 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
569 vaddr: VirtAddr,
572 pub fn new(vaddr: VirtAddr) -> Self { in new()
577 pub fn vaddr(&self) -> VirtAddr { in vaddr() argument
664 .release_mmio(VirtAddr::new(vaddr as usize), length as usize) in mmio_release()