Searched refs:current_work (Results 1 – 12 of 12) sorted by relevance
31 struct work_struct *current_work; /* L: work being processed */ member
816 worker->current_work = work; in kthread_worker_fn()979 if (!worker->current_work && likely(worker->task)) in kthread_insert_work()1148 else if (worker->current_work == work) in kthread_flush_work()1303 if (worker->current_work != work) in __kthread_cancel_work_sync()
1055 if (worker->current_work == work && in find_worker_executing_work()1992 if (WARN_ON(worker->current_work) || in destroy_worker()2221 worker->current_work = work; in process_one_work()2328 worker->current_work = NULL; in process_one_work()4533 struct work_struct *current_work(void) in current_work() function4537 return worker ? worker->current_work : NULL; in current_work()4539 EXPORT_SYMBOL(current_work);4937 if (worker->current_work) in wq_worker_comm()
128 struct kthread_work *current_work; member
467 extern struct work_struct *current_work(void);
234 if (current_work() != &port->del_work) in wwan_hwsim_port_del()342 if (current_work() != &dev->del_work) in wwan_hwsim_dev_del()
721 current_work() != &efi_rts_work.work) in efi_crash_gracefully_on_page_fault()
28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) in smc_clcsock_release()
1176 if (current_work() != &conn->abort_work) in smc_conn_free()
800 struct work_struct *work = current_work(); in drm_kms_helper_is_poll_worker()
4051 if (current_work() != &codec->jackpoll_work.work) in snd_hda_bus_reset_codecs()
352 if (current_work() == &fwevt->work || fwevt->pending_at_sml) { in mpi3mr_cleanup_fwevt_list()