Home
last modified time | relevance | path

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

/linux/drivers/usb/usbip/
H A 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()
H A 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()
169 if (ud->tcp_rx) { in stub_shutdown_connection()
170 kthread_stop_put(ud->tcp_rx); in stub_shutdown_connection()
171 ud->tcp_rx = NULL; in stub_shutdown_connection()
H A Dvhci_sysfs.c321 struct task_struct *tcp_rx = NULL; in attach_store() local
376 tcp_rx = kthread_create(vhci_rx_loop, &vdev->ud, "vhci_rx"); in attach_store()
377 if (IS_ERR(tcp_rx)) { in attach_store()
384 kthread_stop(tcp_rx); in attach_store()
391 get_task_struct(tcp_rx); in attach_store()
404 kthread_stop_put(tcp_rx); in attach_store()
425 vdev->ud.tcp_rx = tcp_rx; in attach_store()
434 wake_up_process(vdev->ud.tcp_rx); in attach_store()
H A 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()
H A Dusbip_common.h273 struct task_struct *tcp_rx; member