/kernel/linux/linux-5.10/include/linux/ |
D | kthread.h | 125 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument 126 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \ 137 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument 138 struct kthread_delayed_work dwork = \ 139 KTHREAD_DELAYED_WORK_INIT(dwork, fn) 170 #define kthread_init_delayed_work(dwork, fn) \ argument 172 kthread_init_work(&(dwork)->work, (fn)); \ 173 timer_setup(&(dwork)->timer, \ 192 struct kthread_delayed_work *dwork, 196 struct kthread_delayed_work *dwork,
|
D | workqueue.h | 451 struct delayed_work *dwork, unsigned long delay); 464 extern bool flush_delayed_work(struct delayed_work *dwork); 465 extern bool cancel_delayed_work(struct delayed_work *dwork); 466 extern bool cancel_delayed_work_sync(struct delayed_work *dwork); 519 struct delayed_work *dwork, in queue_delayed_work() argument 522 return queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in queue_delayed_work() 534 struct delayed_work *dwork, in mod_delayed_work() argument 537 return mod_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in mod_delayed_work() 609 static inline bool schedule_delayed_work_on(int cpu, struct delayed_work *dwork, in schedule_delayed_work_on() argument 612 return queue_delayed_work_on(cpu, system_wq, dwork, delay); in schedule_delayed_work_on() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/ |
D | dmabuf-cache.c | 21 struct delayed_work dwork; member 52 dwork.work); in tegra_vde_delayed_unmap() 79 if (!cancel_delayed_work(&entry->dwork)) in tegra_vde_dmabuf_cache_map() 132 INIT_DELAYED_WORK(&entry->dwork, tegra_vde_delayed_unmap); in tegra_vde_dmabuf_cache_map() 179 schedule_delayed_work(&entry->dwork, 5 * HZ); in tegra_vde_dmabuf_cache_unmap() 197 if (!cancel_delayed_work(&entry->dwork)) in tegra_vde_dmabuf_cache_unmap_sync() 214 if (!cancel_delayed_work(&entry->dwork)) in tegra_vde_dmabuf_cache_unmap_all()
|
/kernel/linux/linux-5.10/drivers/staging/most/i2c/ |
D | i2c.c | 39 struct delayed_work dwork; member 131 cancel_delayed_work_sync(&dev->rx.dwork); in enqueue() 134 pending_rx_work(&dev->rx.dwork.work); in enqueue() 175 cancel_delayed_work_sync(&dev->rx.dwork); in poison_channel() 234 struct hdm_i2c *dev = container_of(work, struct hdm_i2c, rx.dwork.work); in pending_rx_work() 242 schedule_delayed_work(&dev->rx.dwork, dev->rx.delay); in pending_rx_work() 273 schedule_delayed_work(&dev->rx.dwork, 0); in most_irq_handler() 320 INIT_DELAYED_WORK(&dev->rx.dwork, pending_rx_work); in i2c_probe()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | fw-download.c | 29 struct delayed_work dwork; member 131 struct delayed_work *dwork = to_delayed_work(work); in fw_request_timedout() local 132 struct fw_request *fw_req = container_of(dwork, in fw_request_timedout() 133 struct fw_request, dwork); in fw_request_timedout() 209 INIT_DELAYED_WORK(&fw_req->dwork, fw_request_timedout); in find_firmware() 210 schedule_delayed_work(&fw_req->dwork, NEXT_REQ_TIMEOUT_J); in find_firmware() 301 cancel_delayed_work_sync(&fw_req->dwork); in fw_download_fetch_firmware() 344 schedule_delayed_work(&fw_req->dwork, NEXT_REQ_TIMEOUT_J); in fw_download_fetch_firmware() 377 cancel_delayed_work_sync(&fw_req->dwork); in fw_download_release_firmware() 459 cancel_delayed_work_sync(&fw_req->dwork); in gb_fw_download_connection_exit()
|
D | bootrom.c | 39 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | mapping.c | 20 struct delayed_work dwork; member 98 schedule_delayed_work(&ctx->dwork, MAPPING_GRACE_PERIOD); in mapping_free_item() 159 ctx = container_of(work, struct mapping_ctx, dwork.work); in mapping_work_handler() 174 schedule_delayed_work(&ctx->dwork, abs(min_timeout - now)); in mapping_work_handler() 182 cancel_delayed_work_sync(&ctx->dwork); in mapping_flush_work() 199 INIT_DELAYED_WORK(&ctx->dwork, mapping_work_handler); in mapping_create()
|
D | hv_vhca_stats.c | 61 struct delayed_work *dwork; in mlx5e_hv_vhca_stats_work() local 66 dwork = to_delayed_work(work); in mlx5e_hv_vhca_stats_work() 67 sagent = container_of(dwork, struct mlx5e_hv_vhca_stats_agent, work); in mlx5e_hv_vhca_stats_work()
|
/kernel/linux/linux-5.10/drivers/pci/controller/mobiveil/ |
D | pcie-layerscape-gen4.c | 41 struct delayed_work dwork; member 157 schedule_delayed_work(&pcie->dwork, msecs_to_jiffies(1)); in ls_pcie_g4_isr() 188 struct delayed_work *dwork = container_of(work, struct delayed_work, in ls_pcie_g4_reset() local 190 struct ls_pcie_g4 *pcie = container_of(dwork, struct ls_pcie_g4, dwork); in ls_pcie_g4_reset() 240 INIT_DELAYED_WORK(&pcie->dwork, ls_pcie_g4_reset); in ls_pcie_g4_probe()
|
/kernel/linux/linux-5.10/sound/firewire/digi00x/ |
D | digi00x.c | 55 container_of(work, struct snd_dg00x, dwork.work); in do_registration() 128 INIT_DEFERRABLE_WORK(&dg00x->dwork, do_registration); in snd_dg00x_probe() 129 snd_fw_schedule_registration(unit, &dg00x->dwork); in snd_dg00x_probe() 140 snd_fw_schedule_registration(unit, &dg00x->dwork); in snd_dg00x_update() 164 cancel_delayed_work_sync(&dg00x->dwork); in snd_dg00x_remove()
|
/kernel/linux/linux-5.10/kernel/ |
D | kthread.c | 927 struct kthread_delayed_work *dwork = from_timer(dwork, t, timer); in kthread_delayed_work_timer_fn() local 928 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn() 954 struct kthread_delayed_work *dwork, in __kthread_queue_delayed_work() argument 957 struct timer_list *timer = &dwork->timer; in __kthread_queue_delayed_work() 958 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work() 999 struct kthread_delayed_work *dwork, in kthread_queue_delayed_work() argument 1002 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work() 1009 __kthread_queue_delayed_work(worker, dwork, delay); in kthread_queue_delayed_work() 1078 struct kthread_delayed_work *dwork = in kthread_cancel_delayed_work_timer() local 1090 del_timer_sync(&dwork->timer); in kthread_cancel_delayed_work_timer() [all …]
|
D | workqueue.c | 1255 struct delayed_work *dwork = to_delayed_work(work); in try_to_grab_pending() local 1262 if (likely(del_timer(&dwork->timer))) in try_to_grab_pending() 1626 struct delayed_work *dwork = from_timer(dwork, t, timer); in delayed_work_timer_fn() local 1629 __queue_work(dwork->cpu, dwork->wq, &dwork->work); in delayed_work_timer_fn() 1634 struct delayed_work *dwork, unsigned long delay) in __queue_delayed_work() argument 1636 struct timer_list *timer = &dwork->timer; in __queue_delayed_work() 1637 struct work_struct *work = &dwork->work; in __queue_delayed_work() 1651 __queue_work(cpu, wq, &dwork->work); in __queue_delayed_work() 1655 dwork->wq = wq; in __queue_delayed_work() 1656 dwork->cpu = cpu; in __queue_delayed_work() [all …]
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
D | motu.c | 64 struct snd_motu *motu = container_of(work, struct snd_motu, dwork.work); in do_registration() 137 INIT_DEFERRABLE_WORK(&motu->dwork, do_registration); in motu_probe() 138 snd_fw_schedule_registration(unit, &motu->dwork); in motu_probe() 152 cancel_delayed_work_sync(&motu->dwork); in motu_remove() 169 snd_fw_schedule_registration(unit, &motu->dwork); in motu_bus_update()
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
D | tascam.c | 97 struct snd_tscm *tscm = container_of(work, struct snd_tscm, dwork.work); in do_registration() 163 INIT_DEFERRABLE_WORK(&tscm->dwork, do_registration); in snd_tscm_probe() 164 snd_fw_schedule_registration(unit, &tscm->dwork); in snd_tscm_probe() 175 snd_fw_schedule_registration(unit, &tscm->dwork); in snd_tscm_update() 199 cancel_delayed_work_sync(&tscm->dwork); in snd_tscm_remove()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
D | synaptics_i2c.c | 221 struct delayed_work dwork; member 375 mod_delayed_work(system_wq, &touch->dwork, 0); in synaptics_i2c_irq() 435 container_of(work, struct synaptics_i2c, dwork.work); in synaptics_i2c_work_handler() 451 mod_delayed_work(system_wq, &touch->dwork, delay); in synaptics_i2c_work_handler() 464 mod_delayed_work(system_wq, &touch->dwork, in synaptics_i2c_open() 477 cancel_delayed_work_sync(&touch->dwork); in synaptics_i2c_close() 519 INIT_DELAYED_WORK(&touch->dwork, synaptics_i2c_work_handler); in synaptics_i2c_touch_create() 608 cancel_delayed_work_sync(&touch->dwork); in synaptics_i2c_suspend() 626 mod_delayed_work(system_wq, &touch->dwork, in synaptics_i2c_resume()
|
/kernel/linux/linux-5.10/sound/firewire/fireface/ |
D | ff.c | 49 struct snd_ff *ff = container_of(work, struct snd_ff, dwork.work); in do_registration() 118 INIT_DEFERRABLE_WORK(&ff->dwork, do_registration); in snd_ff_probe() 119 snd_fw_schedule_registration(unit, &ff->dwork); in snd_ff_probe() 130 snd_fw_schedule_registration(unit, &ff->dwork); in snd_ff_update() 147 cancel_work_sync(&ff->dwork.work); in snd_ff_remove()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
D | tca6416-keypad.c | 46 struct delayed_work dwork; member 135 container_of(work, struct tca6416_keypad_chip, dwork.work); in tca6416_keys_work_func() 138 schedule_delayed_work(&chip->dwork, msecs_to_jiffies(100)); in tca6416_keys_work_func() 149 schedule_delayed_work(&chip->dwork, msecs_to_jiffies(100)); in tca6416_keys_open() 161 cancel_delayed_work_sync(&chip->dwork); in tca6416_keys_close() 232 INIT_DELAYED_WORK(&chip->dwork, tca6416_keys_work_func); in tca6416_keypad_probe()
|
D | qt2160.c | 57 struct delayed_work dwork; member 202 mod_delayed_work(system_wq, &qt2160->dwork, 0); in qt2160_irq() 209 schedule_delayed_work(&qt2160->dwork, QT2160_CYCLE_INTERVAL); in qt2160_schedule_read() 215 container_of(work, struct qt2160_data, dwork.work); in qt2160_worker() 372 INIT_DELAYED_WORK(&qt2160->dwork, qt2160_worker); in qt2160_probe() 445 cancel_delayed_work_sync(&qt2160->dwork); in qt2160_remove()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
D | ps.c | 18 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()
|
/kernel/linux/linux-5.10/sound/firewire/oxfw/ |
D | oxfw.c | 185 struct snd_oxfw *oxfw = container_of(work, struct snd_oxfw, dwork.work); in do_registration() 264 INIT_DEFERRABLE_WORK(&oxfw->dwork, do_registration); in oxfw_probe() 265 snd_fw_schedule_registration(unit, &oxfw->dwork); in oxfw_probe() 275 snd_fw_schedule_registration(unit, &oxfw->dwork); in oxfw_bus_reset() 300 cancel_delayed_work_sync(&oxfw->dwork); in oxfw_remove()
|
/kernel/linux/linux-5.10/sound/firewire/dice/ |
D | dice.c | 137 struct snd_dice *dice = container_of(work, struct snd_dice, dwork.work); in do_registration() 227 INIT_DEFERRABLE_WORK(&dice->dwork, do_registration); in dice_probe() 228 snd_fw_schedule_registration(unit, &dice->dwork); in dice_probe() 242 cancel_delayed_work_sync(&dice->dwork); in dice_remove() 259 snd_fw_schedule_registration(unit, &dice->dwork); in dice_bus_reset()
|
/kernel/linux/linux-5.10/sound/firewire/ |
D | lib.c | 85 struct delayed_work *dwork) in snd_fw_schedule_registration() argument 98 mod_delayed_work(system_wq, dwork, delay); in snd_fw_schedule_registration()
|
/kernel/linux/linux-5.10/sound/firewire/fireworks/ |
D | fireworks.c | 202 struct snd_efw *efw = container_of(work, struct snd_efw, dwork.work); in do_registration() 297 INIT_DEFERRABLE_WORK(&efw->dwork, do_registration); in efw_probe() 298 snd_fw_schedule_registration(unit, &efw->dwork); in efw_probe() 309 snd_fw_schedule_registration(unit, &efw->dwork); in efw_update() 333 cancel_delayed_work_sync(&efw->dwork); in efw_remove()
|
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
D | bebob.c | 170 container_of(work, struct snd_bebob, dwork.work); in do_registration() 286 INIT_DEFERRABLE_WORK(&bebob->dwork, do_registration); in bebob_probe() 291 snd_fw_schedule_registration(unit, &bebob->dwork); in bebob_probe() 336 snd_fw_schedule_registration(unit, &bebob->dwork); in bebob_update() 353 cancel_delayed_work_sync(&bebob->dwork); in bebob_remove()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tdls.c | 293 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_rx_tdls_notif() 517 mvm = container_of(work, struct iwl_mvm, tdls_cs.dwork.work); in iwl_mvm_tdls_ch_switch_work() 550 schedule_delayed_work(&mvm->tdls_cs.dwork, msecs_to_jiffies(delay)); in iwl_mvm_tdls_ch_switch_work() 612 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_channel_switch() 667 flush_delayed_work(&mvm->tdls_cs.dwork); in iwl_mvm_tdls_cancel_channel_switch() 726 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_recv_channel_switch()
|