Home
last modified time | relevance | path

Searched refs:dwork (Results 1 – 25 of 95) sorted by relevance

1234

/linux/include/linux/
H A Dkthread.h171 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument
172 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \
180 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument
181 struct kthread_delayed_work dwork = \
182 KTHREAD_DELAYED_WORK_INIT(dwork, fn)
200 #define kthread_init_delayed_work(dwork, fn) \ argument
202 kthread_init_work(&(dwork)->work, (fn)); \
203 timer_setup(&(dwork)->timer, \
267 struct kthread_delayed_work *dwork,
271 struct kthread_delayed_work *dwork,
H A Dworkqueue.h630 struct delayed_work *dwork, unsigned long delay);
644 extern bool flush_delayed_work(struct delayed_work *dwork);
645 extern bool cancel_delayed_work(struct delayed_work *dwork);
646 extern bool cancel_delayed_work_sync(struct delayed_work *dwork);
652 extern bool disable_delayed_work(struct delayed_work *dwork);
653 extern bool disable_delayed_work_sync(struct delayed_work *dwork);
654 extern bool enable_delayed_work(struct delayed_work *dwork);
712 struct delayed_work *dwork, in queue_delayed_work() argument
715 return queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in queue_delayed_work()
727 struct delayed_work *dwork, in mod_delayed_work() argument
[all …]
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Ddmabuf-cache.c24 struct delayed_work dwork; member
55 dwork.work); in tegra_vde_delayed_unmap()
82 if (!cancel_delayed_work(&entry->dwork)) in tegra_vde_dmabuf_cache_map()
135 INIT_DELAYED_WORK(&entry->dwork, tegra_vde_delayed_unmap); in tegra_vde_dmabuf_cache_map()
182 schedule_delayed_work(&entry->dwork, 5 * HZ); in tegra_vde_dmabuf_cache_unmap()
200 if (!cancel_delayed_work(&entry->dwork)) in tegra_vde_dmabuf_cache_unmap_sync()
217 if (!cancel_delayed_work(&entry->dwork)) in tegra_vde_dmabuf_cache_unmap_all()
/linux/drivers/staging/greybus/
H A Dfw-download.c29 struct delayed_work dwork; member
130 struct delayed_work *dwork = to_delayed_work(work); in fw_request_timedout() local
131 struct fw_request *fw_req = container_of(dwork, in fw_request_timedout()
132 struct fw_request, dwork); in fw_request_timedout()
208 INIT_DELAYED_WORK(&fw_req->dwork, fw_request_timedout); in find_firmware()
209 schedule_delayed_work(&fw_req->dwork, NEXT_REQ_TIMEOUT_J); in find_firmware()
300 cancel_delayed_work_sync(&fw_req->dwork); in fw_download_fetch_firmware()
343 schedule_delayed_work(&fw_req->dwork, NEXT_REQ_TIMEOUT_J); in fw_download_fetch_firmware()
376 cancel_delayed_work_sync(&fw_req->dwork); in fw_download_release_firmware()
458 cancel_delayed_work_sync(&fw_req->dwork); in gb_fw_download_connection_exit()
H A Dbootrom.c39 struct delayed_work dwork; member
54 struct delayed_work *dwork = to_delayed_work(work); in gb_bootrom_timedout() local
55 struct gb_bootrom *bootrom = container_of(dwork, in gb_bootrom_timedout()
56 struct gb_bootrom, dwork); in gb_bootrom_timedout()
93 schedule_delayed_work(&bootrom->dwork, msecs_to_jiffies(timeout)); in gb_bootrom_set_timeout()
98 cancel_delayed_work_sync(&bootrom->dwork); in gb_bootrom_cancel_timeout()
444 INIT_DELAYED_WORK(&bootrom->dwork, gb_bootrom_timedout); in gb_bootrom_probe()
/linux/drivers/pci/controller/mobiveil/
H A Dpcie-layerscape-gen4.c41 struct delayed_work dwork; member
141 schedule_delayed_work(&pcie->dwork, msecs_to_jiffies(1)); in ls_g4_pcie_isr()
172 struct delayed_work *dwork = to_delayed_work(work); in ls_g4_pcie_reset() local
173 struct ls_g4_pcie *pcie = container_of(dwork, struct ls_g4_pcie, dwork); in ls_g4_pcie_reset()
223 INIT_DELAYED_WORK(&pcie->dwork, ls_g4_pcie_reset); in ls_g4_pcie_probe()
/linux/drivers/input/mouse/
H A Dsynaptics_i2c.c221 struct delayed_work dwork; member
387 mod_delayed_work(system_dfl_wq, &touch->dwork, 0); in synaptics_i2c_irq()
447 container_of(work, struct synaptics_i2c, dwork.work); in synaptics_i2c_work_handler()
463 mod_delayed_work(system_dfl_wq, &touch->dwork, delay); in synaptics_i2c_work_handler()
476 mod_delayed_work(system_dfl_wq, &touch->dwork, in synaptics_i2c_open()
489 cancel_delayed_work_sync(&touch->dwork); in synaptics_i2c_close()
530 INIT_DELAYED_WORK(&touch->dwork, synaptics_i2c_work_handler); in synaptics_i2c_probe()
579 cancel_delayed_work_sync(&touch->dwork); in synaptics_i2c_suspend()
600 mod_delayed_work(system_dfl_wq, &touch->dwork, in synaptics_i2c_resume()
/linux/net/netfilter/
H A Dnf_conntrack_ecache.c108 struct nf_conntrack_net *cnet = container_of(work, struct nf_conntrack_net, ecache.dwork.work); in ecache_work()
124 schedule_delayed_work(&cnet->ecache.dwork, delay); in ecache_work()
296 !delayed_work_pending(&cnet->ecache.dwork)) { in nf_conntrack_ecache_work()
297 schedule_delayed_work(&cnet->ecache.dwork, HZ); in nf_conntrack_ecache_work()
301 mod_delayed_work(system_percpu_wq, &cnet->ecache.dwork, 0); in nf_conntrack_ecache_work()
366 INIT_DELAYED_WORK(&cnet->ecache.dwork, ecache_work); in nf_conntrack_ecache_pernet_init()
377 cancel_delayed_work_sync(&cnet->ecache.dwork); in nf_conntrack_ecache_pernet_fini()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmapping.c25 struct delayed_work dwork; member
108 schedule_delayed_work(&ctx->dwork, MAPPING_GRACE_PERIOD); in mapping_free_item()
169 ctx = container_of(work, struct mapping_ctx, dwork.work); in mapping_work_handler()
184 schedule_delayed_work(&ctx->dwork, abs(min_timeout - now)); in mapping_work_handler()
192 cancel_delayed_work_sync(&ctx->dwork); in mapping_flush_work()
209 INIT_DELAYED_WORK(&ctx->dwork, mapping_work_handler); in mapping_create()
H A Dhv_vhca_stats.c69 struct delayed_work *dwork; in mlx5e_hv_vhca_stats_work() local
74 dwork = to_delayed_work(work); in mlx5e_hv_vhca_stats_work()
75 sagent = container_of(dwork, struct mlx5e_hv_vhca_stats_agent, work); in mlx5e_hv_vhca_stats_work()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c61 struct mlx5e_ipsec_dwork *dwork = in mlx5e_ipsec_handle_sw_limits() local
62 container_of(_work, struct mlx5e_ipsec_dwork, dwork.work); in mlx5e_ipsec_handle_sw_limits()
63 struct mlx5e_ipsec_sa_entry *sa_entry = dwork->sa_entry; in mlx5e_ipsec_handle_sw_limits()
86 queue_delayed_work(sa_entry->ipsec->wq, &dwork->dwork, in mlx5e_ipsec_handle_sw_limits()
749 struct mlx5e_ipsec_dwork *dwork; in mlx5e_ipsec_create_dwork() local
760 dwork = kzalloc_obj(*dwork); in mlx5e_ipsec_create_dwork()
761 if (!dwork) in mlx5e_ipsec_create_dwork()
764 dwork->sa_entry = sa_entry; in mlx5e_ipsec_create_dwork()
765 INIT_DELAYED_WORK(&dwork->dwork, mlx5e_ipsec_handle_sw_limits); in mlx5e_ipsec_create_dwork()
766 sa_entry->dwork = dwork; in mlx5e_ipsec_create_dwork()
[all …]
/linux/kernel/
H A Dkthread.c1225 struct kthread_delayed_work *dwork = timer_container_of(dwork, t, in kthread_delayed_work_timer_fn() local
1227 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn()
1253 struct kthread_delayed_work *dwork, in __kthread_queue_delayed_work() argument
1256 struct timer_list *timer = &dwork->timer; in __kthread_queue_delayed_work()
1257 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work()
1297 struct kthread_delayed_work *dwork, in kthread_queue_delayed_work() argument
1300 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work()
1307 __kthread_queue_delayed_work(worker, dwork, delay); in kthread_queue_delayed_work()
1376 struct kthread_delayed_work *dwork = in kthread_cancel_delayed_work_timer() local
1388 timer_delete_sync(&dwork->timer); in kthread_cancel_delayed_work_timer()
[all …]
H A Dworkqueue.c2146 struct delayed_work *dwork = to_delayed_work(work); in try_to_grab_pending() local
2149 * dwork->timer is irqsafe. If timer_delete() fails, it's in try_to_grab_pending()
2153 if (likely(timer_delete(&dwork->timer))) in try_to_grab_pending()
2593 struct delayed_work *dwork = timer_container_of(dwork, t, timer); in delayed_work_timer_fn() local
2596 __queue_work(dwork->cpu, dwork->wq, &dwork->work); in delayed_work_timer_fn()
2601 struct delayed_work *dwork, unsigned long delay) in __queue_delayed_work() argument
2603 struct timer_list *timer = &dwork in __queue_delayed_work()
2658 queue_delayed_work_on(int cpu,struct workqueue_struct * wq,struct delayed_work * dwork,unsigned long delay) queue_delayed_work_on() argument
2697 mod_delayed_work_on(int cpu,struct workqueue_struct * wq,struct delayed_work * dwork,unsigned long delay) mod_delayed_work_on() argument
4485 flush_delayed_work(struct delayed_work * dwork) flush_delayed_work() argument
4625 cancel_delayed_work(struct delayed_work * dwork) cancel_delayed_work() argument
4640 cancel_delayed_work_sync(struct delayed_work * dwork) cancel_delayed_work_sync() argument
4716 disable_delayed_work(struct delayed_work * dwork) disable_delayed_work() argument
4729 disable_delayed_work_sync(struct delayed_work * dwork) disable_delayed_work_sync() argument
4742 enable_delayed_work(struct delayed_work * dwork) enable_delayed_work() argument
[all...]
/linux/drivers/net/wireless/ti/wl1251/
H A Dps.c18 struct delayed_work *dwork; in wl1251_elp_work() local
21 dwork = to_delayed_work(work); in wl1251_elp_work()
22 wl = container_of(dwork, struct wl1251, elp_work); in wl1251_elp_work()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dptp.c44 schedule_delayed_work(&mvm->ptp_data.dwork, IWL_PTP_WRAP_TIME); in iwl_mvm_ptp_update_new_read()
200 ptp_data.dwork.work); in iwl_mvm_ptp_work()
301 INIT_DELAYED_WORK(&mvm->ptp_data.dwork, iwl_mvm_ptp_work); in iwl_mvm_ptp_init()
331 cancel_delayed_work_sync(&mvm->ptp_data.dwork); in iwl_mvm_ptp_remove()
/linux/drivers/firmware/arm_scmi/
H A Dscmi_power_control.c183 struct delayed_work *dwork; in scmi_forceful_work_func() local
188 dwork = to_delayed_work(work); in scmi_forceful_work_func()
189 sc = dwork_to_sconf(dwork); in scmi_forceful_work_func()
/linux/net/wireless/
H A Dcore.c1957 struct wiphy_delayed_work *dwork = timer_container_of(dwork, t, timer); in wiphy_delayed_work_timer() local
1959 wiphy_work_queue(dwork->wiphy, &dwork->work); in wiphy_delayed_work_timer()
1964 struct wiphy_delayed_work *dwork, in wiphy_delayed_work_queue() argument
1967 trace_wiphy_delayed_work_queue(wiphy, &dwork->work, delay); in wiphy_delayed_work_queue()
1970 timer_delete(&dwork->timer); in wiphy_delayed_work_queue()
1971 wiphy_work_queue(wiphy, &dwork->work); in wiphy_delayed_work_queue()
1975 dwork->wiphy = wiphy; in wiphy_delayed_work_queue()
1976 mod_timer(&dwork->timer, jiffies + delay); in wiphy_delayed_work_queue()
1981 struct wiphy_delayed_work *dwork) in wiphy_delayed_work_cancel() argument
1985 timer_delete_sync(&dwork->timer); in wiphy_delayed_work_cancel()
[all …]
/linux/drivers/gpu/host1x/
H A Dfence.c100 struct delayed_work *dwork = (struct delayed_work *)work; in do_fence_timeout() local
102 container_of(dwork, struct host1x_syncpt_fence, timeout_work); in do_fence_timeout()
/linux/drivers/misc/
H A Dvmw_balloon.c352 struct delayed_work dwork; member
1337 mod_delayed_work(system_freezable_wq, &b->dwork, 0); in vmballoon_doorbell()
1466 struct delayed_work *dwork = to_delayed_work(work); in vmballoon_work() local
1467 struct vmballoon *b = container_of(dwork, struct vmballoon, dwork); in vmballoon_work()
1502 dwork, round_jiffies_relative(HZ)); in vmballoon_work()
1823 INIT_DELAYED_WORK(&balloon.dwork, vmballoon_work); in vmballoon_init()
1842 queue_delayed_work(system_freezable_wq, &balloon.dwork, 0); in vmballoon_init()
1861 cancel_delayed_work_sync(&balloon.dwork); in vmballoon_exit()
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dutil.h132 struct delayed_work *dwork,
139 struct wiphy_delayed_work *dwork,
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dptp.h38 struct delayed_work dwork; member
/linux/include/net/libeth/
H A Dtypes.h101 struct delayed_work dwork; member
/linux/drivers/net/wireless/ti/wlcore/
H A Dscan.c22 struct delayed_work *dwork; in wl1271_scan_complete_work() local
30 dwork = to_delayed_work(work); in wl1271_scan_complete_work()
31 wl = container_of(dwork, struct wl1271, scan_complete_work); in wl1271_scan_complete_work()
/linux/sound/soc/codecs/
H A Dlpass-tx-macro.c248 struct delayed_work dwork; member
255 struct delayed_work dwork; member
686 hpf_work = container_of(hpf_delayed_work, struct hpf_work, dwork); in tx_macro_tx_hpf_corner_freq_callback()
729 tx_mute_dwork = container_of(delayed_work, struct tx_mute_work, dwork); in tx_macro_mute_update_callback()
978 &tx->tx_mute_dwork[decimator].dwork, in tx_macro_enable_dec()
982 &tx->tx_hpf_work[decimator].dwork, in tx_macro_enable_dec()
1019 &tx->tx_hpf_work[decimator].dwork)) { in tx_macro_enable_dec()
1049 cancel_delayed_work_sync(&tx->tx_mute_dwork[decimator].dwork); in tx_macro_enable_dec()
2125 INIT_DELAYED_WORK(&tx->tx_hpf_work[i].dwork, in tx_macro_component_probe()
2132 INIT_DELAYED_WORK(&tx->tx_mute_dwork[i].dwork, in tx_macro_component_probe()
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_iw_cm.c210 struct qedr_discon_work *dwork = in qedr_iw_disconnect_worker() local
213 struct qedr_iw_ep *ep = dwork->ep; in qedr_iw_disconnect_worker()
227 event.status = dwork->status; in qedr_iw_disconnect_worker()
233 if (dwork->status) in qedr_iw_disconnect_worker()
249 kfree(dwork); in qedr_iw_disconnect_worker()

1234