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