Lines Matching refs:ud
60 struct usbip_device *ud = &vdev->ud; in vhci_recv_ret_submit() local
72 usbip_event_add(ud, VDEV_EVENT_ERROR_TCP); in vhci_recv_ret_submit()
80 if (usbip_recv_xbuff(ud, urb) < 0) { in vhci_recv_ret_submit()
86 if (usbip_recv_iso(ud, urb) < 0) { in vhci_recv_ret_submit()
92 usbip_pad_iso(ud, urb); in vhci_recv_ret_submit()
197 static void vhci_rx_pdu(struct usbip_device *ud) in vhci_rx_pdu() argument
201 struct vhci_device *vdev = container_of(ud, struct vhci_device, ud); in vhci_rx_pdu()
208 ret = usbip_recv(ud->tcp_socket, &pdu, sizeof(pdu)); in vhci_rx_pdu()
220 usbip_event_add(ud, VDEV_EVENT_ERROR_TCP); in vhci_rx_pdu()
225 usbip_event_add(ud, VDEV_EVENT_DOWN); in vhci_rx_pdu()
231 usbip_event_add(ud, VDEV_EVENT_ERROR_TCP); in vhci_rx_pdu()
251 usbip_event_add(ud, VDEV_EVENT_ERROR_TCP); in vhci_rx_pdu()
258 struct usbip_device *ud = data; in vhci_rx_loop() local
261 if (usbip_event_happened(ud)) in vhci_rx_loop()
264 usbip_kcov_remote_start(ud); in vhci_rx_loop()
265 vhci_rx_pdu(ud); in vhci_rx_loop()