Lines Matching refs:MemoryMappingArena
767 pub struct MemoryMappingArena { struct
776 unsafe impl Send for MemoryMappingArena {} implementation
777 unsafe impl Sync for MemoryMappingArena {} implementation
779 impl MemoryMappingArena { impl
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()
1046 let mut m = MemoryMappingArena::new(0x40000).unwrap(); in arena_add()
1052 let mut m = MemoryMappingArena::new(0x40000).unwrap(); in arena_remove()
1060 let mut m = MemoryMappingArena::new(pagesize() * 2).unwrap(); in arena_add_alignment_error()
1071 let mut m = MemoryMappingArena::new(pagesize()).unwrap(); in arena_add_oob_error()
1083 MemoryMappingArena::new(12 * ps).expect("failed to create `MemoryMappingArena`"); in arena_add_overlapping()
1105 MemoryMappingArena::new(12 * ps).expect("failed to create `MemoryMappingArena`"); in arena_remove_overlapping()
1130 MemoryMappingArena::new(12 * ps).expect("failed to create `MemoryMappingArena`"); in arena_remove_unaligned()
1140 let m = MemoryMappingArena::new(size).unwrap(); in arena_msync()