Lines Matching refs:WlVfd
561 struct WlVfd { struct
571 impl fmt::Debug for WlVfd { argument
590 impl WlVfd { impl
591 fn connect<P: AsRef<Path>>(path: P) -> WlResult<WlVfd> { in connect() argument
593 let mut vfd = WlVfd::default(); in connect()
598 fn allocate(vm: VmRequester, size: u64) -> WlResult<WlVfd> { in allocate() argument
607 let mut vfd = WlVfd::default(); in allocate()
626 ) -> WlResult<(WlVfd, GpuMemoryDesc)> { in dmabuf() argument
640 let mut vfd = WlVfd::default(); in dmabuf()
674 fn pipe_remote_read_local_write() -> WlResult<WlVfd> { in pipe_remote_read_local_write()
676 let mut vfd = WlVfd::default(); in pipe_remote_read_local_write()
682 fn pipe_remote_write_local_read() -> WlResult<WlVfd> { in pipe_remote_write_local_read()
684 let mut vfd = WlVfd::default(); in pipe_remote_write_local_read()
690 fn from_file(vm: VmRequester, mut descriptor: File) -> WlResult<WlVfd> { in from_file() argument
703 let mut vfd = WlVfd::default(); in from_file()
718 let mut vfd = WlVfd::default(); in from_file()
855 impl Drop for WlVfd { implementation
874 vfds: Map<u32, WlVfd>,
927 WlVfd::pipe_remote_read_local_write()? in new_pipe()
929 WlVfd::pipe_remote_write_local_read()? in new_pipe()
965 let vfd = WlVfd::allocate(self.vm.clone(), size as u64)?; in new_alloc()
988 let (vfd, desc) = WlVfd::dmabuf(self.vm.clone(), width, height, format)?; in new_dmabuf()
1031 let vfd = entry.insert(WlVfd::connect( in new_context()
1274 let vfd = WlVfd::from_file(self.vm.clone(), file)?; in recv()