Lines Matching refs:region
98 let region: MmioBuddyAddrRegion = MmioBuddyAddrRegion::new(vaddr); in create_region() localVariable
101 return region; in create_region()
120 let region: MmioBuddyAddrRegion = self.create_region(vaddr); in give_back_block() localVariable
124 self.push_block(region, &mut list_guard); in give_back_block()
137 region: MmioBuddyAddrRegion, in split_block()
141 let vaddr = self.calculate_block_vaddr(region.vaddr, exp - 1); in split_block()
143 self.push_block(region, low_list_guard); in split_block()
184 Ok(region) => { in query_addr_region()
189 self.split_block(region, e2, low_list_guard); in query_addr_region()
193 self.split_block(region, e2, list_guard); in query_addr_region()
204 Ok(region) => { in query_addr_region()
209 self.split_block(region, e2, low_list_guard); in query_addr_region()
213 self.split_block(region, e2, list_guard); in query_addr_region()
316 region: MmioBuddyAddrRegion, in push_block()
319 list_guard.list.push_back(region); in push_block()
421 let region: MmioBuddyAddrRegion = list_guard.list.pop_back().unwrap(); in merge_all_exp() localVariable
422 let copy_region = region.clone(); in merge_all_exp()
424 match self.merge_blocks(region, buddy_region, exp, high_list_guard) { in merge_all_exp()
504 Ok(region) => { in create_mmio()
511 unsafe { *res_vaddr = region.vaddr.data() as u64 }; in create_mmio()