Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dmmap.rs611 pub struct MemoryMappingArena { struct
627 unsafe impl Send for MemoryMappingArena {} argument
628 unsafe impl Sync for MemoryMappingArena {} implementation
630 impl MemoryMappingArena { impl
635 pub fn new(size: usize) -> Result<MemoryMappingArena> { in new() argument
643 Ok(MemoryMappingArena { in new()
829 impl Drop for MemoryMappingArena { implementation
934 let m = MemoryMappingArena::new(0x40000).unwrap(); in arena_new()
940 let mut m = MemoryMappingArena::new(0x40000).unwrap(); in arena_add()
946 let mut m = MemoryMappingArena::new(0x40000).unwrap(); in arena_remove()
[all …]
/external/crosvm/kvm/src/
Dlib.rs27 MemoryMappingArena, Result,
295 mmap_arenas: HashMap<u32, MemoryMappingArena>,
465 mmap_arena: MemoryMappingArena, in add_mmap_arena() argument
494 pub fn remove_mmap_arena(&mut self, slot: u32) -> Result<MemoryMappingArena> { in remove_mmap_arena() argument
508 pub fn get_mmap_arena(&mut self, slot: u32) -> Option<&mut MemoryMappingArena> { in get_mmap_arena() argument