Lines Matching defs:tsk
76 struct task_struct *tsk;
112 tsk = spl_kthread_create(thread_generic_wrapper, (void *)tp,
114 if (IS_ERR(tsk))
117 wake_up_process(tsk);
118 return ((kthread_t *)tsk);
130 struct task_struct *tsk;
138 tsk = kthread_create(func, data, "%s", name);
139 if (IS_ERR(tsk)) {
144 if (PTR_ERR(tsk) == -ENOMEM)
148 return (tsk);