Searched refs:MemoryMappingArena (Results 1 – 4 of 4) sorted by relevance
767 pub struct MemoryMappingArena { struct776 unsafe impl Send for MemoryMappingArena {} implementation777 unsafe impl Sync for MemoryMappingArena {} implementation779 impl MemoryMappingArena { implementation784 pub fn new(size: usize) -> Result<MemoryMappingArena> { in new() argument897 unsafe impl MappedRegion for MemoryMappingArena { implementation922 impl From<MemoryMapping> for MemoryMappingArena { implementation930 MemoryMappingArena { addr, size } in from()934 impl Drop for MemoryMappingArena { implementation1040 let m = MemoryMappingArena::new(0x40000).unwrap(); in arena_new()[all …]
30 FromRawDescriptor, IntoRawDescriptor, MappedRegion, MemoryMappingArena, MemoryMappingBuilder,843 let arena = match MemoryMappingArena::new(*length as usize) { in execute()
1167 use base::{pagesize, FromRawDescriptor, MemoryMappingArena, MemoryMappingBuilder};1318 let mem = MemoryMappingArena::new(mem_size).unwrap(); in sync_memory()
1288 let mut arena = MemoryMappingArena::new(arena_size).map_err(Error::ReservePmemMemory)?; in create_pmem_device()