Home
last modified time | relevance | path

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

/packages/modules/Virtualization/pvmfw/src/
Dmemory.rs47 pub type MemoryRange = Range<usize>; typedef
78 fn as_ref(&self) -> &MemoryRange { in as_ref()
237 pub fn alloc_range(&mut self, range: &MemoryRange) -> Result<MemoryRange> { in alloc_range()
248 pub fn alloc_range_mut(&mut self, range: &MemoryRange) -> Result<MemoryRange> { in alloc_range_mut()
259 pub fn alloc(&mut self, base: usize, size: NonZeroUsize) -> Result<MemoryRange> { in alloc()
264 pub fn alloc_mut(&mut self, base: usize, size: NonZeroUsize) -> Result<MemoryRange> { in alloc_mut()
314 fn add(&mut self, region: MemoryRegion) -> Result<MemoryRange> { in add()