Lines Matching refs:thread
62 struct task_struct *thread; member
318 struct task_struct *thread = NULL; in make_simple_work_queue() local
349 thread = kthread_run(work_queue_runner, queue, "%s:%s", thread_name_prefix, in make_simple_work_queue()
351 if (IS_ERR(thread)) { in make_simple_work_queue()
353 return (int) PTR_ERR(thread); in make_simple_work_queue()
356 queue->thread = thread; in make_simple_work_queue()
445 if (queue->thread == NULL) in finish_simple_work_queue()
449 kthread_stop(queue->thread); in finish_simple_work_queue()
450 queue->thread = NULL; in finish_simple_work_queue()
482 if (queue->thread != NULL) { in dump_simple_work_queue()
483 task_state_report = task_state_to_char(queue->thread); in dump_simple_work_queue()