Lines Matching full:hpriv
1051 struct linux_device_handle_priv *hpriv = __device_handle_priv(handle);
1055 hpriv->fd = open(filename, O_RDWR);
1056 if (hpriv->fd < 0) {
1067 "open failed, code %d errno %d", hpriv->fd, errno);
1072 return usbi_add_pollfd(HANDLE_CTX(handle), hpriv->fd, POLLOUT);
2062 struct linux_device_handle_priv *hpriv = __device_handle_priv(handle);
2068 r = ioctl(hpriv->fd, IOCTL_USBFS_REAPURBNDELAY, &urb);
2111 struct linux_device_handle_priv *hpriv = NULL;
2118 hpriv = __device_handle_priv(handle);
2119 if (hpriv->fd == pollfd->fd)
2124 usbi_remove_pollfd(HANDLE_CTX(handle), hpriv->fd);