Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_scif_server.c101 static struct task_struct *server_thread; variable
376 server_thread = kthread_run(cosm_scif_server, NULL, "cosm_server"); in cosm_scif_init()
377 if (IS_ERR(server_thread)) { in cosm_scif_init()
378 rc = PTR_ERR(server_thread); in cosm_scif_init()
394 if (!IS_ERR_OR_NULL(server_thread)) { in cosm_scif_exit()
395 rc = send_sig(SIGKILL, server_thread, 0); in cosm_scif_exit()
401 kthread_stop(server_thread); in cosm_scif_exit()