Searched refs:alloc_mut (Results 1 – 2 of 2) sorted by relevance
189 pub fn alloc_mut(&mut self, base: usize, size: NonZeroUsize) -> Result<MemoryRange> { in alloc_mut() method288 let range = self.alloc_mut(range.start, size)?; in init_static_shared_pool()
97 let range = MEMORY.lock().as_mut().unwrap().alloc_mut(fdt, fdt_size).map_err(|e| { in new()