Searched refs:tcp_rx (Results 1 – 5 of 5) sorted by relevance
104 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()
49 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() [all...]
321 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()
439 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()
1025 if (vdev->ud.tcp_rx) { in vhci_shutdown_connection() 1026 kthread_stop_put(vdev->ud.tcp_rx); in vhci_shutdown_connection() 1027 vdev->ud.tcp_rx = NULL; in vhci_shutdown_connection()