Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/
Dworkqueue_internal.h31 struct work_struct *current_work; /* L: work being processed */ member
Dkthread.c755 worker->current_work = work; in kthread_worker_fn()
918 if (!worker->current_work && likely(worker->task)) in kthread_insert_work()
1088 else if (worker->current_work == work) in kthread_flush_work()
1243 if (worker->current_work != work) in __kthread_cancel_work_sync()
Dworkqueue.c1050 if (worker->current_work == work && in find_worker_executing_work()
2000 if (WARN_ON(worker->current_work) || in destroy_worker()
2229 worker->current_work = work; in process_one_work()
2336 worker->current_work = NULL; in process_one_work()
4534 struct work_struct *current_work(void) in current_work() function
4538 return worker ? worker->current_work : NULL; in current_work()
4540 EXPORT_SYMBOL(current_work);
4919 if (worker->current_work) in wq_worker_comm()
/Linux-v5.15/include/linux/
Dkthread.h100 struct kthread_work *current_work; member
Dworkqueue.h466 extern struct work_struct *current_work(void);
/Linux-v5.15/drivers/net/wwan/
Dwwan_hwsim.c233 if (current_work() != &port->del_work) in wwan_hwsim_port_del()
341 if (current_work() != &dev->del_work) in wwan_hwsim_dev_del()
/Linux-v5.15/arch/x86/platform/efi/
Dquirks.c720 current_work() != &efi_rts_work.work) in efi_crash_gracefully_on_page_fault()
/Linux-v5.15/net/smc/
Dsmc_close.c28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) in smc_clcsock_release()
Dsmc_core.c1060 if (current_work() != &conn->abort_work) in smc_conn_free()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_probe_helper.c728 struct work_struct *work = current_work(); in drm_kms_helper_is_poll_worker()
/Linux-v5.15/sound/pci/hda/
Dhda_codec.c3982 if (current_work() != &codec->jackpoll_work.work) in snd_hda_bus_reset_codecs()