Searched refs:current_work (Results 1 – 9 of 9) sorted by relevance
31 struct work_struct *current_work; /* K: work being processed and its */ member
998 worker->current_work = work; in kthread_worker_fn()1163 if (!worker->current_work && likely(worker->task)) in kthread_insert_work()1333 else if (worker->current_work == work) in kthread_flush_work()1488 if (worker->current_work != work) in __kthread_cancel_work_sync()
1116 if (worker->current_work == work && in find_worker_executing_work()2878 if (WARN_ON(worker->current_work) || in set_worker_dying()3184 worker->current_work = work; in process_one_work()3308 worker->current_work = NULL; in process_one_work()6030 struct work_struct *current_work(void) in current_work() function6034 return worker ? worker->current_work : NULL; in current_work()6036 EXPORT_SYMBOL(current_work);6502 if (worker->current_work) in wq_worker_comm()
237 if (WARN_ON_ONCE(current_work() == &ctx->work)) in fw_iso_context_flush_completions()261 if (WARN_ON_ONCE(current_work() == &ctx->work)) in fw_iso_context_stop()
28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) in smc_clcsock_release()
632 extern struct work_struct *current_work(void);
327 if (current_work() == &group->avgs_work.work) { in get_recent_times()
400 if (current_work() == &fwevt->work || fwevt->pending_at_sml) { in mpi3mr_cleanup_fwevt_list()
804 if (current_work() == &hdev->cmd_sync_work) in hci_cmd_sync_run()