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() 1401 * current_work proceed by the worker.1508 if (worker->current_work != work) in __kthread_cancel_work_sync()
1174 if (worker->current_work == work && in move_linked_works() 1616 trace_workqueue_cpu_intensive(pwq, worker->current_work,3091 if (WARN_ON(worker->current_work) || in idle_cull_fn() 3414 worker->current_work = work; in process_one_work() 3548 worker->current_work = NULL; in worker_thread() 6521 * current_work - retrieve %current task's work struct in pr_cont_work_flush() 6528 struct work_struct *current_work(void) in pr_cont_work() 6532 return worker ? worker->current_work : NULL; in pr_cont_work() 6534 EXPORT_SYMBOL(current_work); in pr_cont_work() 7026 if (worker->current_work) in workqueue_offline_cpu() 6282 struct work_struct *current_work(void) current_work() function [all...]
256 if (WARN_ON_ONCE(current_work() == &ctx->work)) in fw_iso_context_flush_completions() 282 if (WARN_ON_ONCE(current_work() == &ctx->work))
1345 if (WARN_ON_ONCE(current_work() == &ctx->work)) in at_context_flush() 1373 bool in_flushing = current_work() != &ctx->work; in handle_at_packet() 2664 if (current_work() != &local->work) in ohci_read_csr() 2668 if (WARN_ON_ONCE(current_work() == &ctx->work)) in ohci_read_csr() 2708 if (current_work() != &local->work) in ohci_write_csr()
150 struct kthread_work *current_work; member
662 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()
28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) in smc_clcsock_release()
1301 if (current_work() != &conn->abort_work) in smcr_buf_unmap_link()
174 if (current_work() != &ipc->d0ix_work.work) in avs_dsp_exception_caught()
275 if (current_work() != &fw_reset->reset_timeout_work.work) in mlx5_sync_reset_clear_reset_requested()
3374 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()
327 if (current_work() == &group->avgs_work.work) { in get_recent_times()
4152 * deadlock. current_work() returns the work_struct of the caller if4155 if (current_work() != &data->reset_work)
4066 if (current_work() != &codec->jackpoll_work.work)
719 ASSERT(current_work() == &caching_ctl->work.normal_work); in load_block_group_size_class()
407 if (current_work() == &fwevt->work || pending_at_sml) { in mpi3mr_cleanup_fwevt_list()
839 if (current_work() == &hdev->cmd_sync_work) { in hci_cmd_sync_run_once()