Lines Matching defs:task
260 struct task_struct *task;
308 struct task_struct *task;
310 task = kthread_create_on_node(bL_switcher_thread, arg,
312 if (!IS_ERR(task)) {
313 kthread_bind(task, cpu);
314 wake_up_process(task);
317 return task;
355 if (IS_ERR(t->task))
356 return PTR_ERR(t->task);
357 if (!t->task)
582 t->task = bL_switcher_thread_create(cpu, t);
606 struct task_struct *task;
631 task = t->task;
632 t->task = NULL;
633 if (!task || IS_ERR(task))
635 kthread_stop(task);
642 task = bL_switcher_thread_create(cpu, t);
643 if (!IS_ERR(task)) {
645 kthread_stop(task);