Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dmmap.rs767 pub struct MemoryMappingArena { struct
776 unsafe impl Send for MemoryMappingArena {} implementation
777 unsafe impl Sync for MemoryMappingArena {} implementation
779 impl MemoryMappingArena { implementation
784 pub fn new(size: usize) -> Result<MemoryMappingArena> { in new() argument
897 unsafe impl MappedRegion for MemoryMappingArena { implementation
922 impl From<MemoryMapping> for MemoryMappingArena { implementation
930 MemoryMappingArena { addr, size } in from()
934 impl Drop for MemoryMappingArena { implementation
1040 let m = MemoryMappingArena::new(0x40000).unwrap(); in arena_new()
[all …]
/external/crosvm/vm_control/src/
Dlib.rs30 FromRawDescriptor, IntoRawDescriptor, MappedRegion, MemoryMappingArena, MemoryMappingBuilder,
843 let arena = match MemoryMappingArena::new(*length as usize) { in execute()
/external/crosvm/hypervisor/src/kvm/
Dmod.rs1167 use base::{pagesize, FromRawDescriptor, MemoryMappingArena, MemoryMappingBuilder};
1318 let mem = MemoryMappingArena::new(mem_size).unwrap(); in sync_memory()
/external/crosvm/src/
Dlinux.rs1288 let mut arena = MemoryMappingArena::new(arena_size).map_err(Error::ReservePmemMemory)?; in create_pmem_device()