Lines Matching refs:region
62 let mut region: Box<MmioBuddyAddrRegion> = Box::new(MmioBuddyAddrRegion::new()); in create_region() localVariable
63 region.vaddr = vaddr; in create_region()
64 return region; in create_region()
83 let region: Box<MmioBuddyAddrRegion> = self.create_region(vaddr); in give_back_block() localVariable
87 self.push_block(region, list_guard); in give_back_block()
100 region: Box<MmioBuddyAddrRegion>, in split_block()
104 let vaddr: u64 = self.calculate_block_vaddr(region.vaddr, exp - 1); in split_block()
106 self.push_block(region, low_list_guard); in split_block()
147 Ok(region) => { in query_addr_region()
152 self.split_block(region, e2, low_list_guard); in query_addr_region()
156 self.split_block(region, e2, list_guard); in query_addr_region()
167 Ok(region) => { in query_addr_region()
172 self.split_block(region, e2, low_list_guard); in query_addr_region()
176 self.split_block(region, e2, list_guard); in query_addr_region()
282 region: Box<MmioBuddyAddrRegion>, in push_block()
285 list_guard.list.push_back(region); in push_block()
387 let region: Box<MmioBuddyAddrRegion> = list_guard.list.pop_back().unwrap(); in merge_all_exp() localVariable
389 vaddr: region.vaddr, in merge_all_exp()
392 match self.merge_blocks(region, buddy_region, exp, high_list_guard) { in merge_all_exp()
471 Ok(region) => { in create_mmio()
473 *res_vaddr = region.vaddr; in create_mmio()
490 region.vaddr + loop_i, in create_mmio()
520 region.vaddr + loop_i, in create_mmio()