Home
last modified time | relevance | path

Searched refs:current_work (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/kernel/
Dworkqueue_internal.h31 struct work_struct *current_work; /* K: work being processed and its */ member
Dkthread.c837 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()
Dworkqueue.c1116 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() function
5967 return worker ? worker->current_work : NULL; in current_work()
5969 EXPORT_SYMBOL(current_work);
6437 if (worker->current_work) in wq_worker_comm()
/linux-6.12.1/drivers/firewire/
Dcore-iso.c237 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()
/linux-6.12.1/drivers/net/wwan/
Dwwan_hwsim.c236 if (current_work() != &port->del_work) in wwan_hwsim_port_del()
344 if (current_work() != &dev->del_work) in wwan_hwsim_dev_del()
/linux-6.12.1/include/linux/
Dkthread.h129 struct kthread_work *current_work; member
Dworkqueue.h625 extern struct work_struct *current_work(void);
/linux-6.12.1/arch/x86/platform/efi/
Dquirks.c729 current_work() != &efi_rts_work.work) in efi_crash_gracefully_on_page_fault()
/linux-6.12.1/io_uring/
Dio_uring.h134 lockdep_assert(current_work()); in io_lockdep_assert_cq_locked()
/linux-6.12.1/net/smc/
Dsmc_close.c28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) in smc_clcsock_release()
Dsmc_core.c1259 if (current_work() != &conn->abort_work) in smc_conn_free()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_probe_helper.c866 struct work_struct *work = current_work(); in drm_kms_helper_is_poll_worker()
/linux-6.12.1/sound/firewire/
Damdtp-stream.c1077 struct work_struct *work = current_work(); in cancel_stream()
1888 if (current_work() != &s->period_work) in amdtp_domain_stream_pcm_pointer()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c500 if (current_work() != &ptpsq->report_unhealthy_work) in mlx5e_ptp_close_txqsq()
/linux-6.12.1/kernel/sched/
Dpsi.c305 if (current_work() == &group->avgs_work.work) { in get_recent_times()
/linux-6.12.1/sound/pci/hda/
Dhda_codec.c4059 if (current_work() != &codec->jackpoll_work.work) in snd_hda_bus_reset_codecs()
/linux-6.12.1/drivers/scsi/mpi3mr/
Dmpi3mr_os.c393 if (current_work() == &fwevt->work || fwevt->pending_at_sml) { in mpi3mr_cleanup_fwevt_list()
/linux-6.12.1/net/bluetooth/
Dhci_sync.c804 if (current_work() == &hdev->cmd_sync_work) in hci_cmd_sync_run()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3193 if (current_work() != &priv->tx_timeout_work) in mlx5e_cancel_tx_timeout_work()