Home
last modified time | relevance | path

Searched refs:exp2index (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs122 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()
613 fn exp2index(exp: u32) -> usize { in exp2index() function