Home
last modified time | relevance | path

Searched refs:from_fd_offset (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/sys_util/src/
Dmmap.rs243 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() method
1030 let res = MemoryMapping::from_fd_offset(&fd, 4096, (libc::off_t::max_value() as u64) + 1) in from_fd_offset_invalid()
Dshm.rs435 let mmap1 = MemoryMapping::from_fd_offset(&shm, shm.size() as usize, 4096) in mmap_page_offset()