Lines Matching refs:free_regions
49 free_regions: [SpinLock<MmioFreeRegionList>; MMIO_BUDDY_REGION_COUNT as usize], field
54 let mut free_regions: [MaybeUninit<SpinLock<MmioFreeRegionList>>; in new() localVariable
57 free_regions[i as usize] = MaybeUninit::new(SpinLock::new(MmioFreeRegionList::new())); in new()
59 let free_regions = unsafe { in new() localVariable
61 free_regions, in new()
68 free_regions, in new()
122 let mut list_guard = self.free_regions[exp2index(exp)].lock(); in give_back_block()
176 &mut self.free_regions[exp2index(e) as usize].lock(); in query_addr_region()
188 &mut self.free_regions[exp2index(e2 - 1) as usize].lock(); in query_addr_region()
202 match self.pop_block(&mut self.free_regions[exp2index(e2) as usize].lock()) in query_addr_region()
208 &mut self.free_regions[exp2index(e2 - 1) as usize].lock(); in query_addr_region()
252 &mut self.free_regions[exp2index(exp) as usize].lock(), in query_addr_region()
253 &mut self.free_regions[exp2index(exp + 1)].lock(), in query_addr_region()
264 &mut self.free_regions[exp2index(exp) as usize].lock(), in query_addr_region()
300 &mut self.free_regions[exp2index(exp)].lock(); in mmio_buddy_query_addr_region()