Searched refs:tcp_socket (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/drivers/usb/usbip/ |
D | stub_dev.c | 106 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()
|
D | vudc_dev.c | 436 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()
|
D | vhci_hcd.c | 898 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()
|
D | stub_tx.c | 92 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()
|
D | vhci_tx.c | 139 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()
|
D | vudc_tx.c | 60 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()
|
D | usbip_common.c | 680 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()
|
D | vhci_rx.c | 208 ret = usbip_recv(ud->tcp_socket, &pdu, sizeof(pdu)); in vhci_rx_pdu()
|
D | vudc_rx.c | 194 ret = usbip_recv(ud->tcp_socket, &pdu, sizeof(pdu)); in v_rx_pdu()
|
D | usbip_common.h | 271 struct socket *tcp_socket; member
|
D | vudc_sysfs.c | 178 udc->ud.tcp_socket = socket; in usbip_sockfd_store()
|
D | vhci_sysfs.c | 423 vdev->ud.tcp_socket = socket; in attach_store()
|
D | stub_rx.c | 641 ret = usbip_recv(ud->tcp_socket, &pdu, sizeof(pdu)); in stub_rx_pdu()
|