Home
last modified time | relevance | path

Searched refs:dwork (Results 1 – 25 of 79) 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,
/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/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()
301 !delayed_work_pending(&cnet->ecache.dwork)) { in nf_conntrack_ecache_work()
302 schedule_delayed_work(&cnet->ecache.dwork, HZ); in nf_conntrack_ecache_work()
306 mod_delayed_work(system_percpu_wq, &cnet->ecache.dwork, 0); in nf_conntrack_ecache_work()
371 INIT_DELAYED_WORK(&cnet->ecache.dwork, ecache_work); in nf_conntrack_ecache_pernet_init()
382 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()
/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 …]
H A Dipsec.h170 struct delayed_work dwork; member
287 struct mlx5e_ipsec_dwork *dwork; member
/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.c2100 struct delayed_work *dwork = to_delayed_work(work); in try_to_grab_pending() local
2107 if (likely(timer_delete(&dwork->timer))) in try_to_grab_pending()
2536 struct delayed_work *dwork = timer_container_of(dwork, t, timer); in delayed_work_timer_fn() local
2539 __queue_work(dwork->cpu, dwork->wq, &dwork->work); in delayed_work_timer_fn()
2544 struct delayed_work *dwork, unsigned long delay) in __queue_delayed_work() argument
2546 struct timer_list *timer = &dwork->timer; in __queue_delayed_work()
2547 struct work_struct *work = &dwork->work; in __queue_delayed_work()
2560 __queue_work(cpu, wq, &dwork->work); in __queue_delayed_work()
2565 dwork->wq = wq; in __queue_delayed_work()
2566 dwork->cpu = cpu; in __queue_delayed_work()
[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/net/wireless/
H A Dcore.c1873 struct wiphy_delayed_work *dwork = timer_container_of(dwork, t, timer); in wiphy_delayed_work_timer() local
1875 wiphy_work_queue(dwork->wiphy, &dwork->work); in wiphy_delayed_work_timer()
1880 struct wiphy_delayed_work *dwork, in wiphy_delayed_work_queue() argument
1883 trace_wiphy_delayed_work_queue(wiphy, &dwork->work, delay); in wiphy_delayed_work_queue()
1886 timer_delete(&dwork->timer); in wiphy_delayed_work_queue()
1887 wiphy_work_queue(wiphy, &dwork->work); in wiphy_delayed_work_queue()
1891 dwork->wiphy = wiphy; in wiphy_delayed_work_queue()
1892 mod_timer(&dwork->timer, jiffies + delay); in wiphy_delayed_work_queue()
1897 struct wiphy_delayed_work *dwork) in wiphy_delayed_work_cancel() argument
1901 timer_delete_sync(&dwork->timer); in wiphy_delayed_work_cancel()
[all …]
/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/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/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.c247 struct delayed_work dwork; member
254 struct delayed_work dwork; member
682 hpf_work = container_of(hpf_delayed_work, struct hpf_work, dwork); in tx_macro_tx_hpf_corner_freq_callback()
725 tx_mute_dwork = container_of(delayed_work, struct tx_mute_work, dwork); in tx_macro_mute_update_callback()
976 &tx->tx_mute_dwork[decimator].dwork, in tx_macro_enable_dec()
980 &tx->tx_hpf_work[decimator].dwork, in tx_macro_enable_dec()
1017 &tx->tx_hpf_work[decimator].dwork)) { in tx_macro_enable_dec()
1047 cancel_delayed_work_sync(&tx->tx_mute_dwork[decimator].dwork); in tx_macro_enable_dec()
2123 INIT_DELAYED_WORK(&tx->tx_hpf_work[i].dwork, in tx_macro_component_probe()
2130 INIT_DELAYED_WORK(&tx->tx_mute_dwork[i].dwork, in tx_macro_component_probe()
[all...]
/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()
/linux/drivers/s390/net/
H A Dqeth_l2_main.c1366 struct delayed_work dwork; member
1373 struct delayed_work *dwork = to_delayed_work(work); in qeth_l2_dev2br_worker() local
1380 data = container_of(dwork, struct qeth_addr_change_data, dwork); in qeth_l2_dev2br_worker()
1392 queue_delayed_work(card->event_wq, dwork, in qeth_l2_dev2br_worker()
1450 struct delayed_work *dwork = to_delayed_work(work); in qeth_addr_change_event_worker() local
1455 data = container_of(dwork, struct qeth_addr_change_data, dwork); in qeth_addr_change_event_worker()
1466 queue_delayed_work(card->event_wq, dwork, in qeth_addr_change_event_worker()
1531 INIT_DELAYED_WORK(&data->dwork, qeth_addr_change_event_worker); in qeth_addr_change_event()
1533 INIT_DELAYED_WORK(&data->dwork, qeth_l2_dev2br_worker); in qeth_addr_change_event()
1537 queue_delayed_work(card->event_wq, &data->dwork, 0); in qeth_addr_change_event()
/linux/drivers/media/platform/amphion/
H A Dvpu_msgs.c375 struct delayed_work *dwork; in vpu_msg_delayed_work() local
382 dwork = to_delayed_work(work); in vpu_msg_delayed_work()
383 core = container_of(dwork, struct vpu_core, msg_delayed_work); in vpu_msg_delayed_work()
/linux/drivers/usb/class/
H A Dcdc-acm.h89 struct delayed_work dwork; /* work queue entry for various purposes */ member
/linux/drivers/nvdimm/
H A Dsecurity.c427 queue_delayed_work(system_percpu_wq, &nvdimm->dwork, 0); in security_overwrite()
460 queue_delayed_work(system_percpu_wq, &nvdimm->dwork, tmo * HZ); in __nvdimm_security_overwrite_query()
488 container_of(work, typeof(*nvdimm), dwork.work); in nvdimm_security_overwrite_query()

1234