Searched refs:current_work (Results 1 – 3 of 3) sorted by relevance
31 struct work_struct *current_work; /* L: work being processed */ member
828 worker->current_work = work; in kthread_worker_fn()991 if (!worker->current_work && likely(worker->task)) in kthread_insert_work()1160 else if (worker->current_work == work) in kthread_flush_work()1315 if (worker->current_work != work) in __kthread_cancel_work_sync()
1065 if (worker->current_work == work && in find_worker_executing_work()2002 if (WARN_ON(worker->current_work) || in destroy_worker()2231 worker->current_work = work; in process_one_work()2338 worker->current_work = NULL; in process_one_work()4545 struct work_struct *current_work(void) in current_work() function4549 return worker ? worker->current_work : NULL; in current_work()4551 EXPORT_SYMBOL(current_work);4953 if (worker->current_work) in wq_worker_comm()