Home
last modified time | relevance | path

Searched refs:tcp_socket (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/usb/usbip/
Dstub_dev.c106 sdev->ud.tcp_socket = socket; in usbip_sockfd_store()
161 if (ud->tcp_socket) { in stub_shutdown_connection()
163 kernel_sock_shutdown(ud->tcp_socket, SHUT_RDWR); in stub_shutdown_connection()
182 if (ud->tcp_socket) { in stub_shutdown_connection()
183 sockfd_put(ud->tcp_socket); in stub_shutdown_connection()
184 ud->tcp_socket = NULL; in stub_shutdown_connection()
280 sdev->ud.tcp_socket = NULL; in stub_device_alloc()
Dvudc_dev.c436 if (ud->tcp_socket) in vudc_shutdown()
437 kernel_sock_shutdown(ud->tcp_socket, SHUT_RDWR); in vudc_shutdown()
448 if (ud->tcp_socket) { in vudc_shutdown()
449 sockfd_put(ud->tcp_socket); in vudc_shutdown()
450 ud->tcp_socket = NULL; in vudc_shutdown()
Dvhci_hcd.c898 if (!vdev->ud.tcp_socket) { in vhci_urb_dequeue()
1016 if (ud->tcp_socket) { in vhci_shutdown_connection()
1018 kernel_sock_shutdown(ud->tcp_socket, SHUT_RDWR); in vhci_shutdown_connection()
1033 if (vdev->ud.tcp_socket) { in vhci_shutdown_connection()
1034 sockfd_put(vdev->ud.tcp_socket); in vhci_shutdown_connection()
1035 vdev->ud.tcp_socket = NULL; in vhci_shutdown_connection()
1080 if (ud->tcp_socket) { in vhci_device_reset()
1081 sockfd_put(ud->tcp_socket); in vhci_device_reset()
1082 ud->tcp_socket = NULL; in vhci_device_reset()
Dstub_tx.c92 if (sdev->ud.tcp_socket == NULL) { in stub_complete()
316 ret = kernel_sendmsg(sdev->ud.tcp_socket, &msg, in stub_send_ret_submit()
391 ret = kernel_sendmsg(sdev->ud.tcp_socket, &msg, iov, in stub_send_ret_unlink()
Dvhci_tx.c139 ret = kernel_sendmsg(vdev->ud.tcp_socket, &msg, iov, iovnum, in vhci_send_cmd_submit()
219 ret = kernel_sendmsg(vdev->ud.tcp_socket, &msg, &iov, 1, txsize); in vhci_send_cmd_unlink()
Dvudc_tx.c60 ret = kernel_sendmsg(udc->ud.tcp_socket, &msg, iov, in v_send_ret_unlink()
166 ret = kernel_sendmsg(udc->ud.tcp_socket, &msg, in v_send_ret_submit()
Dusbip_common.c680 ret = usbip_recv(ud->tcp_socket, buff, size); in usbip_recv_iso()
802 recv = usbip_recv(ud->tcp_socket, sg_virt(sg), in usbip_recv_xbuff()
818 ret = usbip_recv(ud->tcp_socket, urb->transfer_buffer, size); in usbip_recv_xbuff()
Dvhci_rx.c208 ret = usbip_recv(ud->tcp_socket, &pdu, sizeof(pdu)); in vhci_rx_pdu()
Dvudc_rx.c194 ret = usbip_recv(ud->tcp_socket, &pdu, sizeof(pdu)); in v_rx_pdu()
Dusbip_common.h271 struct socket *tcp_socket; member
Dvudc_sysfs.c178 udc->ud.tcp_socket = socket; in usbip_sockfd_store()
Dvhci_sysfs.c423 vdev->ud.tcp_socket = socket; in attach_store()
Dstub_rx.c641 ret = usbip_recv(ud->tcp_socket, &pdu, sizeof(pdu)); in stub_rx_pdu()