Home
last modified time | relevance | path

Searched refs:tcp_rx (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvudc_sysfs.c104 struct task_struct *tcp_rx = NULL; in usbip_sockfd_store() local
156 tcp_rx = kthread_create(&v_rx_loop, &udc->ud, "vudc_rx"); in usbip_sockfd_store()
157 if (IS_ERR(tcp_rx)) { in usbip_sockfd_store()
164 kthread_stop(tcp_rx); in usbip_sockfd_store()
171 get_task_struct(tcp_rx); in usbip_sockfd_store()
179 udc->ud.tcp_rx = tcp_rx; in usbip_sockfd_store()
191 wake_up_process(udc->ud.tcp_rx); in usbip_sockfd_store()
Dstub_dev.c49 struct task_struct *tcp_rx = NULL; in usbip_sockfd_store() local
88 tcp_rx = kthread_create(stub_rx_loop, &sdev->ud, "stub_rx"); in usbip_sockfd_store()
89 if (IS_ERR(tcp_rx)) { in usbip_sockfd_store()
95 kthread_stop(tcp_rx); in usbip_sockfd_store()
101 get_task_struct(tcp_rx); in usbip_sockfd_store()
108 sdev->ud.tcp_rx = tcp_rx; in usbip_sockfd_store()
113 wake_up_process(sdev->ud.tcp_rx); in usbip_sockfd_store()
167 if (ud->tcp_rx) { in stub_shutdown_connection()
168 kthread_stop_put(ud->tcp_rx); in stub_shutdown_connection()
169 ud->tcp_rx = NULL; in stub_shutdown_connection()
Dvhci_sysfs.c320 struct task_struct *tcp_rx = NULL; in attach_store() local
375 tcp_rx = kthread_create(vhci_rx_loop, &vdev->ud, "vhci_rx"); in attach_store()
376 if (IS_ERR(tcp_rx)) { in attach_store()
383 kthread_stop(tcp_rx); in attach_store()
390 get_task_struct(tcp_rx); in attach_store()
403 kthread_stop_put(tcp_rx); in attach_store()
424 vdev->ud.tcp_rx = tcp_rx; in attach_store()
432 wake_up_process(vdev->ud.tcp_rx); in attach_store()
Dvudc_dev.c439 if (ud->tcp_rx) { in vudc_shutdown()
440 kthread_stop_put(ud->tcp_rx); in vudc_shutdown()
441 ud->tcp_rx = NULL; in vudc_shutdown()
Dusbip_common.h272 struct task_struct *tcp_rx; member
Dvhci_hcd.c1050 if (vdev->ud.tcp_rx) { in vhci_shutdown_connection()
1051 kthread_stop_put(vdev->ud.tcp_rx); in vhci_shutdown_connection()
1052 vdev->ud.tcp_rx = NULL; in vhci_shutdown_connection()