Searched refs:current_work (Results 1 – 20 of 20) sorted by relevance
31 struct work_struct *current_work; /* K: work being processed and its */ member
1018 worker->current_work = work; in kthread_worker_fn()1183 if (!worker->current_work && likely(worker->task)) in kthread_insert_work()1353 else if (worker->current_work == work) in kthread_flush_work()1508 if (worker->current_work != work) in __kthread_cancel_work_sync()
1119 if (worker->current_work == work && in find_worker_executing_work()2897 if (WARN_ON(worker->current_work) || in set_worker_dying()3202 worker->current_work = work; in process_one_work()3327 worker->current_work = NULL; in process_one_work()6094 struct work_struct *current_work(void) in current_work() function6098 return worker ? worker->current_work : NULL; in current_work()6100 EXPORT_SYMBOL(current_work);6568 if (worker->current_work) in wq_worker_comm()
246 if (WARN_ON_ONCE(current_work() == &ctx->work)) in fw_iso_context_flush_completions()270 if (WARN_ON_ONCE(current_work() == &ctx->work)) in fw_iso_context_stop()
1334 if (WARN_ON_ONCE(current_work() == &ctx->work)) in at_context_flush()2573 if (WARN_ON_ONCE(current_work() == &ctx->work)) in ohci_cancel_packet()
150 struct kthread_work *current_work; member
632 extern struct work_struct *current_work(void);
356 if (current_work() != &port->del_work) in wwan_hwsim_port_del()464 if (current_work() != &dev->del_work) in wwan_hwsim_dev_del()
782 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()
1278 if (current_work() != &conn->abort_work) in smc_conn_free()
277 if (current_work() != &fw_reset->reset_timeout_work.work) in mlx5_sync_reset_clear_reset_requested()
3312 if (current_work() != &priv->tx_timeout_work) in mlx5e_cancel_tx_timeout_work()
1062 struct work_struct *work = current_work(); in cancel_stream() 1868 if (current_work() != &s->period_work) in amdtp_domain_stream_pcm_pointer()
509 if (current_work() != &ptpsq->report_unhealthy_work) in mlx5e_ptp_close_txqsq()
327 if (current_work() == &group->avgs_work.work) { in get_recent_times()
4017 if (current_work() != &codec->jackpoll_work.work) in snd_hda_bus_reset_codecs()
691 ASSERT(current_work() == &caching_ctl->work.normal_work); in load_block_group_size_class()
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()