Home
last modified time | relevance | path

Searched defs:MemoryRange (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Virtualization/vmbase/src/memory/
Dshared.rs54 pub type MemoryRange = Range<usize>; typedef
93 total: MemoryRange, in new()
94 mmio_range: MemoryRange, in new()
143 pub fn alloc_range(&mut self, range: &MemoryRange) -> Result<MemoryRange> { in alloc_range()
161 range: &MemoryRange, in alloc_range_outside_main_memory()
162 ) -> Result<MemoryRange> { in alloc_range_outside_main_memory()
173 pub fn alloc_range_mut(&mut self, range: &MemoryRange) -> Result<MemoryRange> { in alloc_range_mut()
184 pub fn alloc(&mut self, base: usize, size: NonZeroUsize) -> Result<MemoryRange> { in alloc()
189 pub fn alloc_mut(&mut self, base: usize, size: NonZeroUsize) -> Result<MemoryRange> { in alloc_mut()
248 fn add(&mut self, region: MemoryRegion) -> Result<MemoryRange> { in add()