Lines Matching defs:MemoryMapping
85 pub struct MemoryMapping { struct
95 unsafe impl Send for MemoryMapping {} argument
97 unsafe impl Sync for MemoryMapping {} implementation
99 impl MemoryMapping { impl
104 pub fn new(size: usize) -> Result<MemoryMapping> { in new()
118 ) -> Result<MemoryMapping> { in new_protection()
130 pub fn from_fd(fd: &dyn AsRawDescriptor, size: usize) -> Result<MemoryMapping> { in from_fd()
138 ) -> Result<MemoryMapping> { in from_fd_offset()
154 ) -> Result<MemoryMapping> { in from_fd_offset_protection()
174 ) -> Result<MemoryMapping> { in from_fd_offset_protection_populate()
206 ) -> Result<MemoryMapping> { in new_protection_fixed()
231 ) -> Result<MemoryMapping> { in from_descriptor_offset_protection_fixed()
242 ) -> Result<MemoryMapping> { in try_mmap()
255 ) -> Result<MemoryMapping> { in try_mmap_populate()
604 unsafe impl MappedRegion for MemoryMapping { implementation
614 impl Drop for MemoryMapping { implementation
942 mapping: MemoryMapping, in wrap()