Lines Matching refs:kthread
20 #include <linux/kthread.h>
79 struct task_struct *kthread;
682 if (!pt1->kthread) {
683 pt1->kthread = kthread_run(pt1_thread, pt1, "earth-pt1");
684 if (IS_ERR(pt1->kthread)) {
685 ret = PTR_ERR(pt1->kthread);
686 pt1->kthread = NULL;
716 if (count == 0 && pt1->kthread) {
717 kthread_stop(pt1->kthread);
718 pt1->kthread = NULL;
1318 if (pt1->kthread)
1319 kthread_stop(pt1->kthread);