Searched refs:dwork (Results 1 - 25 of 117) sorted by relevance

12345

/linux-master/include/linux/
H A Dkthread.h150 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \
151 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \
159 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \
160 struct kthread_delayed_work dwork = \
161 KTHREAD_DELAYED_WORK_INIT(dwork, fn)
179 #define kthread_init_delayed_work(dwork, fn) \
181 kthread_init_work(&(dwork)->work, (fn)); \
182 timer_setup(&(dwork)->timer, \
201 struct kthread_delayed_work *dwork,
205 struct kthread_delayed_work *dwork,
[all...]
H A Dworkqueue.h544 struct delayed_work *dwork, unsigned long delay);
558 extern bool flush_delayed_work(struct delayed_work *dwork);
559 extern bool cancel_delayed_work(struct delayed_work *dwork);
560 extern bool cancel_delayed_work_sync(struct delayed_work *dwork);
611 * @dwork: delayable work to queue
617 struct delayed_work *dwork,
620 return queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay);
626 * @dwork: work to queue
632 struct delayed_work *dwork,
635 return mod_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, dela
616 queue_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay) argument
631 mod_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay) argument
717 schedule_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay) argument
731 schedule_delayed_work(struct delayed_work *dwork, unsigned long delay) argument
[all...]
/linux-master/block/
H A Ddisk-events.c21 struct delayed_work dwork; member in struct:disk_events
93 cancel_delayed_work_sync(&disk->ev->dwork);
115 &ev->dwork, 0);
118 &ev->dwork, intv);
162 &ev->dwork, 0);
205 &ev->dwork, intv);
309 struct delayed_work *dwork = to_delayed_work(work); local
310 struct disk_events *ev = container_of(dwork, struct disk_events, dwork);
451 INIT_DELAYED_WORK(&ev->dwork, disk_events_workf
[all...]
/linux-master/drivers/media/platform/nvidia/tegra-vde/
H A Ddmabuf-cache.c24 struct delayed_work dwork; member in struct:tegra_vde_cache_entry
55 dwork.work);
82 if (!cancel_delayed_work(&entry->dwork))
135 INIT_DELAYED_WORK(&entry->dwork, tegra_vde_delayed_unmap);
182 schedule_delayed_work(&entry->dwork, 5 * HZ);
200 if (!cancel_delayed_work(&entry->dwork))
217 if (!cancel_delayed_work(&entry->dwork))
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dps.c18 struct delayed_work *dwork; local
21 dwork = to_delayed_work(work);
22 wl = container_of(dwork, struct wl1251, elp_work);
/linux-master/drivers/staging/most/i2c/
H A Di2c.c39 struct delayed_work dwork; member in struct:hdm_i2c::rx
134 cancel_delayed_work_sync(&dev->rx.dwork);
137 pending_rx_work(&dev->rx.dwork.work);
178 cancel_delayed_work_sync(&dev->rx.dwork);
237 struct hdm_i2c *dev = container_of(work, struct hdm_i2c, rx.dwork.work);
245 schedule_delayed_work(&dev->rx.dwork, dev->rx.delay);
276 schedule_delayed_work(&dev->rx.dwork, 0);
323 INIT_DELAYED_WORK(&dev->rx.dwork, pending_rx_work);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmapping.c24 struct delayed_work dwork; member in struct:mapping_ctx
106 schedule_delayed_work(&ctx->dwork, MAPPING_GRACE_PERIOD);
167 ctx = container_of(work, struct mapping_ctx, dwork.work);
182 schedule_delayed_work(&ctx->dwork, abs(min_timeout - now));
190 cancel_delayed_work_sync(&ctx->dwork);
207 INIT_DELAYED_WORK(&ctx->dwork, mapping_work_handler);
H A Dhv_vhca_stats.c61 struct delayed_work *dwork; local
66 dwork = to_delayed_work(work);
67 sagent = container_of(dwork, struct mlx5e_hv_vhca_stats_agent, work);
/linux-master/drivers/pci/controller/mobiveil/
H A Dpcie-layerscape-gen4.c41 struct delayed_work dwork; member in struct:ls_g4_pcie
146 schedule_delayed_work(&pcie->dwork, msecs_to_jiffies(1));
177 struct delayed_work *dwork = container_of(work, struct delayed_work, local
179 struct ls_g4_pcie *pcie = container_of(dwork, struct ls_g4_pcie, dwork);
229 INIT_DELAYED_WORK(&pcie->dwork, ls_g4_pcie_reset);
/linux-master/drivers/staging/greybus/
H A Dfw-download.c29 struct delayed_work dwork; member in struct:fw_request
130 struct delayed_work *dwork = to_delayed_work(work); local
131 struct fw_request *fw_req = container_of(dwork,
132 struct fw_request, dwork);
208 INIT_DELAYED_WORK(&fw_req->dwork, fw_request_timedout);
209 schedule_delayed_work(&fw_req->dwork, NEXT_REQ_TIMEOUT_J);
300 cancel_delayed_work_sync(&fw_req->dwork);
343 schedule_delayed_work(&fw_req->dwork, NEXT_REQ_TIMEOUT_J);
376 cancel_delayed_work_sync(&fw_req->dwork);
458 cancel_delayed_work_sync(&fw_req->dwork);
[all...]
H A Dbootrom.c39 struct delayed_work dwork; member in struct:gb_bootrom
54 struct delayed_work *dwork = to_delayed_work(work); local
55 struct gb_bootrom *bootrom = container_of(dwork,
56 struct gb_bootrom, dwork);
93 schedule_delayed_work(&bootrom->dwork, msecs_to_jiffies(timeout));
98 cancel_delayed_work_sync(&bootrom->dwork);
444 INIT_DELAYED_WORK(&bootrom->dwork, gb_bootrom_timedout);
/linux-master/net/netfilter/
H A Dnf_conntrack_ecache.c108 struct nf_conntrack_net *cnet = container_of(work, struct nf_conntrack_net, ecache.dwork.work);
124 schedule_delayed_work(&cnet->ecache.dwork, delay);
289 !delayed_work_pending(&cnet->ecache.dwork)) {
290 schedule_delayed_work(&cnet->ecache.dwork, HZ);
294 mod_delayed_work(system_wq, &cnet->ecache.dwork, 0);
346 INIT_DELAYED_WORK(&cnet->ecache.dwork, ecache_work);
357 cancel_delayed_work_sync(&cnet->ecache.dwork);
/linux-master/drivers/input/mouse/
H A Dsynaptics_i2c.c221 struct delayed_work dwork; member in struct:synaptics_i2c
375 mod_delayed_work(system_wq, &touch->dwork, 0);
435 container_of(work, struct synaptics_i2c, dwork.work);
451 mod_delayed_work(system_wq, &touch->dwork, delay);
464 mod_delayed_work(system_wq, &touch->dwork,
477 cancel_delayed_work_sync(&touch->dwork);
519 INIT_DELAYED_WORK(&touch->dwork, synaptics_i2c_work_handler);
605 cancel_delayed_work_sync(&touch->dwork);
623 mod_delayed_work(system_wq, &touch->dwork,
/linux-master/drivers/leds/trigger/
H A Dledtrig-tty.c15 struct delayed_work dwork; member in struct:ledtrig_tty_data
198 container_of(work, struct ledtrig_tty_data, dwork.work);
295 schedule_delayed_work(&trigger_data->dwork,
325 INIT_DELAYED_WORK(&trigger_data->dwork, ledtrig_tty_work);
329 schedule_delayed_work(&trigger_data->dwork, 0);
338 cancel_delayed_work_sync(&trigger_data->dwork);
/linux-master/drivers/gpu/host1x/
H A Dfence.c100 struct delayed_work *dwork = (struct delayed_work *)work; local
102 container_of(dwork, struct host1x_syncpt_fence, timeout_work);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c61 struct mlx5e_ipsec_dwork *dwork = local
62 container_of(_work, struct mlx5e_ipsec_dwork, dwork.work);
63 struct mlx5e_ipsec_sa_entry *sa_entry = dwork->sa_entry;
80 queue_delayed_work(sa_entry->ipsec->wq, &dwork->dwork,
662 struct mlx5e_ipsec_dwork *dwork; local
673 dwork = kzalloc(sizeof(*dwork), GFP_KERNEL);
674 if (!dwork)
677 dwork
[all...]
H A Dipsec.h160 struct delayed_work dwork; member in struct:mlx5e_ipsec_dwork
271 struct mlx5e_ipsec_dwork *dwork; member in struct:mlx5e_ipsec_sa_entry
/linux-master/drivers/usb/class/
H A Dcdc-acm.h89 struct delayed_work dwork; /* work queue entry for various purposes */ member in struct:acm
/linux-master/kernel/
H A Dkthread.c1039 struct kthread_delayed_work *dwork = from_timer(dwork, t, timer); local
1040 struct kthread_work *work = &dwork->work;
1066 struct kthread_delayed_work *dwork,
1069 struct timer_list *timer = &dwork->timer;
1070 struct kthread_work *work = &dwork->work;
1075 * If @delay is 0, queue @dwork->work immediately. This is for
1098 * @dwork: kthread_delayed_work to queue
1110 struct kthread_delayed_work *dwork,
1113 struct kthread_work *work = &dwork
1065 __kthread_queue_delayed_work(struct kthread_worker *worker, struct kthread_delayed_work *dwork, unsigned long delay) argument
1109 kthread_queue_delayed_work(struct kthread_worker *worker, struct kthread_delayed_work *dwork, unsigned long delay) argument
1189 struct kthread_delayed_work *dwork = local
1256 kthread_mod_delayed_work(struct kthread_worker *worker, struct kthread_delayed_work *dwork, unsigned long delay) argument
1371 kthread_cancel_delayed_work_sync(struct kthread_delayed_work *dwork) argument
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dptp.c44 schedule_delayed_work(&mvm->ptp_data.dwork, IWL_PTP_WRAP_TIME);
197 ptp_data.dwork.work);
291 INIT_DELAYED_WORK(&mvm->ptp_data.dwork, iwl_mvm_ptp_work);
324 cancel_delayed_work_sync(&mvm->ptp_data.dwork);
H A Dtdls.c238 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork,
462 mvm = container_of(work, struct iwl_mvm, tdls_cs.dwork.work);
495 schedule_delayed_work(&mvm->tdls_cs.dwork, msecs_to_jiffies(delay));
557 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork,
612 flush_delayed_work(&mvm->tdls_cs.dwork);
671 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork,
/linux-master/drivers/firmware/arm_scmi/
H A Dscmi_power_control.c179 struct delayed_work *dwork; local
184 dwork = to_delayed_work(work);
185 sc = dwork_to_sconf(dwork);
/linux-master/drivers/misc/
H A Dvmw_balloon.c352 struct delayed_work dwork; member in struct:vmballoon
1334 mod_delayed_work(system_freezable_wq, &b->dwork, 0);
1463 struct delayed_work *dwork = to_delayed_work(work); local
1464 struct vmballoon *b = container_of(dwork, struct vmballoon, dwork);
1499 dwork, round_jiffies_relative(HZ));
1871 INIT_DELAYED_WORK(&balloon.dwork, vmballoon_work);
1892 queue_delayed_work(system_freezable_wq, &balloon.dwork, 0);
1911 cancel_delayed_work_sync(&balloon.dwork);
/linux-master/net/wireless/
H A Dcore.c1653 struct wiphy_delayed_work *dwork = from_timer(dwork, t, timer); local
1655 wiphy_work_queue(dwork->wiphy, &dwork->work);
1660 struct wiphy_delayed_work *dwork,
1664 del_timer(&dwork->timer);
1665 wiphy_work_queue(wiphy, &dwork->work);
1669 dwork->wiphy = wiphy;
1670 mod_timer(&dwork->timer, jiffies + delay);
1675 struct wiphy_delayed_work *dwork)
1659 wiphy_delayed_work_queue(struct wiphy *wiphy, struct wiphy_delayed_work *dwork, unsigned long delay) argument
1674 wiphy_delayed_work_cancel(struct wiphy *wiphy, struct wiphy_delayed_work *dwork) argument
1684 wiphy_delayed_work_flush(struct wiphy *wiphy, struct wiphy_delayed_work *dwork) argument
[all...]
/linux-master/sound/soc/generic/
H A Dtest-component.c26 struct delayed_work dwork; member in struct:test_priv
410 cancel_delayed_work(&priv->dwork);
415 schedule_delayed_work(&priv->dwork, msecs_to_jiffies(10));
420 struct test_priv *priv = container_of(work, struct test_priv, dwork.work);
559 INIT_DELAYED_WORK(&priv->dwork, test_component_dwork);

Completed in 244 milliseconds

12345