Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/mm/
Dmmio_buddy.rs86 &mut self.free_regions[exp2index(exp)].lock(); in give_back_block()
139 &mut self.free_regions[exp2index(e) as usize].lock(); in query_addr_region()
151 &mut self.free_regions[exp2index(e2 - 1) as usize].lock(); in query_addr_region()
165 match self.pop_block(&mut self.free_regions[exp2index(e2) as usize].lock()) in query_addr_region()
171 &mut self.free_regions[exp2index(e2 - 1) as usize].lock(); in query_addr_region()
215 &mut self.free_regions[exp2index(exp) as usize].lock(), in query_addr_region()
216 &mut self.free_regions[exp2index(exp + 1)].lock(), in query_addr_region()
227 &mut self.free_regions[exp2index(exp) as usize].lock(), in query_addr_region()
266 &mut self.free_regions[exp2index(exp)].lock(); in mmio_buddy_query_addr_region()
680 fn exp2index(exp: u32) -> usize { in exp2index() function