Searched refs:from_fd_offset (Results 1 – 2 of 2) sorted by relevance
243 MemoryMapping::from_fd_offset(fd, size, 0) in from_fd()246 pub fn from_fd_offset(fd: &dyn AsRawFd, size: usize, offset: u64) -> Result<MemoryMapping> { in from_fd_offset() method1030 let res = MemoryMapping::from_fd_offset(&fd, 4096, (libc::off_t::max_value() as u64) + 1) in from_fd_offset_invalid()
435 let mmap1 = MemoryMapping::from_fd_offset(&shm, shm.size() as usize, 4096) in mmap_page_offset()