Lines Matching refs:m_fd
73 m_fd(-1), in VirtioGpuStream()
97 drmIoctl(m_fd, DRM_IOCTL_GEM_CLOSE, &gem_close); in ~VirtioGpuStream()
100 if (m_fd >= 0) { in ~VirtioGpuStream()
101 close(m_fd); in ~VirtioGpuStream()
109 if (m_fd < 0) { in connect()
110 m_fd = drmOpenRender(RENDERNODE_MINOR); in connect()
111 if (m_fd < 0) { in connect()
112 ERR("%s: failed with fd %d (%s)", __func__, m_fd, strerror(errno)); in connect()
129 int ret = drmIoctl(m_fd, DRM_IOCTL_VIRTGPU_RESOURCE_CREATE, &create); in connect()
155 int ret = drmIoctl(m_fd, DRM_IOCTL_VIRTGPU_MAP, &map); in connect()
164 m_fd, map.offset)); in connect()
337 int ret = drmIoctl(m_fd, DRM_IOCTL_VIRTGPU_WAIT, &wait); in readFully()
400 int ret = drmIoctl(m_fd, DRM_IOCTL_VIRTGPU_EXECBUFFER, &execbuffer); in commitAll()