Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dworkqueue_internal.h31 struct work_struct *current_work; /* L: work being processed */ member
Dkthread.c816 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()
Dworkqueue.c1055 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() function
4537 return worker ? worker->current_work : NULL; in current_work()
4539 EXPORT_SYMBOL(current_work);
4937 if (worker->current_work) in wq_worker_comm()
/linux-6.1.9/include/linux/
Dkthread.h128 struct kthread_work *current_work; member
Dworkqueue.h467 extern struct work_struct *current_work(void);
/linux-6.1.9/drivers/net/wwan/
Dwwan_hwsim.c234 if (current_work() != &port->del_work) in wwan_hwsim_port_del()
342 if (current_work() != &dev->del_work) in wwan_hwsim_dev_del()
/linux-6.1.9/arch/x86/platform/efi/
Dquirks.c721 current_work() != &efi_rts_work.work) in efi_crash_gracefully_on_page_fault()
/linux-6.1.9/net/smc/
Dsmc_close.c28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) in smc_clcsock_release()
Dsmc_core.c1176 if (current_work() != &conn->abort_work) in smc_conn_free()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_probe_helper.c800 struct work_struct *work = current_work(); in drm_kms_helper_is_poll_worker()
/linux-6.1.9/sound/pci/hda/
Dhda_codec.c4051 if (current_work() != &codec->jackpoll_work.work) in snd_hda_bus_reset_codecs()
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_os.c352 if (current_work() == &fwevt->work || fwevt->pending_at_sml) { in mpi3mr_cleanup_fwevt_list()