Searched refs:current_work (Results 1 – 3 of 3) sorted by relevance
31 struct work_struct *current_work; /* L: work being processed */ member
785 worker->current_work = work; in kthread_worker_fn()948 if (!worker->current_work && likely(worker->task)) in kthread_insert_work()1118 else if (worker->current_work == work) in kthread_flush_work()1273 if (worker->current_work != work) in __kthread_cancel_work_sync()
1070 if (worker->current_work == work && in find_worker_executing_work()2028 if (WARN_ON(worker->current_work) || in destroy_worker()2257 worker->current_work = work; in process_one_work()2364 worker->current_work = NULL; in process_one_work()4569 struct work_struct *current_work(void) in current_work() function4573 return worker ? worker->current_work : NULL; in current_work()4575 EXPORT_SYMBOL(current_work);4977 if (worker->current_work) in wq_worker_comm()