Searched refs:current_work (Results 1 – 19 of 19) sorted by relevance
31 struct work_struct *current_work; /* K: work being processed and its */ member
837 worker->current_work = work; in kthread_worker_fn()1008 if (!worker->current_work && likely(worker->task)) in kthread_insert_work()1177 else if (worker->current_work == work) in kthread_flush_work()1332 if (worker->current_work != work) in __kthread_cancel_work_sync()
1116 if (worker->current_work == work && in find_worker_executing_work()2875 if (WARN_ON(worker->current_work) || in set_worker_dying()3156 worker->current_work = work; in process_one_work()3278 worker->current_work = NULL; in process_one_work()5963 struct work_struct *current_work(void) in current_work() function5967 return worker ? worker->current_work : NULL; in current_work()5969 EXPORT_SYMBOL(current_work);6437 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()
236 if (current_work() != &port->del_work) in wwan_hwsim_port_del()344 if (current_work() != &dev->del_work) in wwan_hwsim_dev_del()
129 struct kthread_work *current_work; member
625 extern struct work_struct *current_work(void);
729 current_work() != &efi_rts_work.work) in efi_crash_gracefully_on_page_fault()
134 lockdep_assert(current_work()); in io_lockdep_assert_cq_locked()
28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) in smc_clcsock_release()
1259 if (current_work() != &conn->abort_work) in smc_conn_free()
866 struct work_struct *work = current_work(); in drm_kms_helper_is_poll_worker()
1077 struct work_struct *work = current_work(); in cancel_stream()1888 if (current_work() != &s->period_work) in amdtp_domain_stream_pcm_pointer()
500 if (current_work() != &ptpsq->report_unhealthy_work) in mlx5e_ptp_close_txqsq()
305 if (current_work() == &group->avgs_work.work) { in get_recent_times()
4059 if (current_work() != &codec->jackpoll_work.work) in snd_hda_bus_reset_codecs()
393 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()
3193 if (current_work() != &priv->tx_timeout_work) in mlx5e_cancel_tx_timeout_work()