Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dmmio_buddy.rs132 let mut list_guard = self.free_regions[exp2index(exp)].lock(); in give_back_block()
186 &mut self.free_regions[exp2index(e)].lock(); in query_addr_region()
198 &mut self.free_regions[exp2index(e2 - 1)].lock(); in query_addr_region()
212 match self.pop_block(&mut self.free_regions[exp2index(e2)].lock()) { in query_addr_region()
217 &mut self.free_regions[exp2index(e2 - 1)].lock(); in query_addr_region()
261 &mut self.free_regions[exp2index(exp)].lock(), in query_addr_region()
262 &mut self.free_regions[exp2index(exp + 1)].lock(), in query_addr_region()
273 &mut self.free_regions[exp2index(exp)].lock(), in query_addr_region()
309 self.free_regions[exp2index(exp)].lock(); in mmio_buddy_query_addr_region()
617 fn exp2index(exp: u32) -> usize { in exp2index() function