Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dworkqueue.h433 struct delayed_work *dwork, unsigned long delay);
446 extern bool flush_delayed_work(struct delayed_work *dwork);
447 extern bool cancel_delayed_work(struct delayed_work *dwork);
448 extern bool cancel_delayed_work_sync(struct delayed_work *dwork);
484 struct delayed_work *dwork, in queue_delayed_work() argument
487 return queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in queue_delayed_work()
499 struct delayed_work *dwork, in mod_delayed_work() argument
502 return mod_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in mod_delayed_work()
542 static inline bool schedule_delayed_work_on(int cpu, struct delayed_work *dwork, in schedule_delayed_work_on() argument
545 return queue_delayed_work_on(cpu, system_wq, dwork, delay); in schedule_delayed_work_on()
[all …]
Dbacking-dev.h54 struct delayed_work dwork; /* work item used for writeback */ member
Dblkdev.h1406 int kblockd_schedule_delayed_work(struct delayed_work *dwork, unsigned long delay);
1407 int kblockd_schedule_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay);
Dlibata.h1834 extern void ata_sff_queue_delayed_work(struct delayed_work *dwork,
/linux-4.1.27/drivers/input/keyboard/
Dtca6416-keypad.c49 struct delayed_work dwork; member
138 container_of(work, struct tca6416_keypad_chip, dwork.work); in tca6416_keys_work_func()
141 schedule_delayed_work(&chip->dwork, msecs_to_jiffies(100)); in tca6416_keys_work_func()
152 schedule_delayed_work(&chip->dwork, msecs_to_jiffies(100)); in tca6416_keys_open()
164 cancel_delayed_work_sync(&chip->dwork); in tca6416_keys_close()
237 INIT_DELAYED_WORK(&chip->dwork, tca6416_keys_work_func); in tca6416_keypad_probe()
Dqt2160.c71 struct delayed_work dwork; member
228 mod_delayed_work(system_wq, &qt2160->dwork, 0); in qt2160_irq()
238 schedule_delayed_work(&qt2160->dwork, QT2160_CYCLE_INTERVAL); in qt2160_schedule_read()
245 container_of(work, struct qt2160_data, dwork.work); in qt2160_worker()
408 INIT_DELAYED_WORK(&qt2160->dwork, qt2160_worker); in qt2160_probe()
482 cancel_delayed_work_sync(&qt2160->dwork); in qt2160_remove()
/linux-4.1.27/drivers/input/touchscreen/
Dili210x.c49 struct delayed_work dwork; member
119 dwork.work); in ili210x_work()
135 schedule_delayed_work(&priv->dwork, in ili210x_work()
143 schedule_delayed_work(&priv->dwork, 0); in ili210x_irq()
238 INIT_DELAYED_WORK(&priv->dwork, ili210x_work); in ili210x_i2c_probe()
307 cancel_delayed_work_sync(&priv->dwork); in ili210x_i2c_remove()
/linux-4.1.27/drivers/misc/
Dvmw_balloon.c215 struct delayed_work dwork; member
655 struct delayed_work *dwork = to_delayed_work(work); in vmballoon_work() local
656 struct vmballoon *b = container_of(dwork, struct vmballoon, dwork); in vmballoon_work()
682 dwork, round_jiffies_relative(HZ)); in vmballoon_work()
800 INIT_DELAYED_WORK(&balloon.dwork, vmballoon_work); in vmballoon_init()
819 queue_delayed_work(system_freezable_wq, &balloon.dwork, 0); in vmballoon_init()
827 cancel_delayed_work_sync(&balloon.dwork); in vmballoon_exit()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
Dps.c32 struct delayed_work *dwork; in wl1251_elp_work() local
35 dwork = container_of(work, struct delayed_work, work); in wl1251_elp_work()
36 wl = container_of(dwork, struct wl1251, elp_work); in wl1251_elp_work()
/linux-4.1.27/drivers/input/mouse/
Dsynaptics_i2c.c221 struct delayed_work dwork; member
379 mod_delayed_work(system_wq, &touch->dwork, delay); in synaptics_i2c_reschedule_work()
448 container_of(work, struct synaptics_i2c, dwork.work); in synaptics_i2c_work_handler()
490 cancel_delayed_work_sync(&touch->dwork); in synaptics_i2c_close()
532 INIT_DELAYED_WORK(&touch->dwork, synaptics_i2c_work_handler); in synaptics_i2c_touch_create()
622 cancel_delayed_work_sync(&touch->dwork); in synaptics_i2c_suspend()
/linux-4.1.27/kernel/
Dworkqueue.c1227 struct delayed_work *dwork = to_delayed_work(work); in try_to_grab_pending() local
1234 if (likely(del_timer(&dwork->timer))) in try_to_grab_pending()
1473 struct delayed_work *dwork = (struct delayed_work *)__data; in delayed_work_timer_fn() local
1476 __queue_work(dwork->cpu, dwork->wq, &dwork->work); in delayed_work_timer_fn()
1481 struct delayed_work *dwork, unsigned long delay) in __queue_delayed_work() argument
1483 struct timer_list *timer = &dwork->timer; in __queue_delayed_work()
1484 struct work_struct *work = &dwork->work; in __queue_delayed_work()
1487 timer->data != (unsigned long)dwork); in __queue_delayed_work()
1498 __queue_work(cpu, wq, &dwork->work); in __queue_delayed_work()
1502 timer_stats_timer_set_start_info(&dwork->timer); in __queue_delayed_work()
[all …]
Dcgroup.c3830 struct delayed_work *dwork = to_delayed_work(work); in cgroup_pidlist_destroy_work_fn() local
3831 struct cgroup_pidlist *l = container_of(dwork, struct cgroup_pidlist, in cgroup_pidlist_destroy_work_fn()
3841 if (!delayed_work_pending(dwork)) { in cgroup_pidlist_destroy_work_fn()
/linux-4.1.27/mm/
Dbacking-dev.c284 queue_delayed_work(bdi_wq, &bdi->wb.dwork, timeout); in bdi_wakeup_thread_delayed()
358 mod_delayed_work(bdi_wq, &bdi->wb.dwork, 0); in bdi_wb_shutdown()
359 flush_delayed_work(&bdi->wb.dwork); in bdi_wb_shutdown()
373 INIT_DELAYED_WORK(&wb->dwork, bdi_writeback_workfn); in bdi_wb_init()
432 WARN_ON(delayed_work_pending(&bdi->wb.dwork)); in bdi_destroy()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtdls.c300 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_rx_tdls_notif()
524 mvm = container_of(work, struct iwl_mvm, tdls_cs.dwork.work); in iwl_mvm_tdls_ch_switch_work()
557 queue_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_ch_switch_work()
620 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_channel_switch()
675 flush_delayed_work(&mvm->tdls_cs.dwork); in iwl_mvm_tdls_cancel_channel_switch()
734 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_recv_channel_switch()
Dops.c460 INIT_DELAYED_WORK(&mvm->tdls_cs.dwork, iwl_mvm_tdls_ch_switch_work); in iwl_op_mode_mvm_start()
Dmvm.h823 struct delayed_work dwork; member
Dsta.c524 cancel_delayed_work(&mvm->tdls_cs.dwork); in iwl_mvm_rm_sta()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dps.c36 struct delayed_work *dwork; in wl1271_elp_work() local
41 dwork = container_of(work, struct delayed_work, work); in wl1271_elp_work()
42 wl = container_of(dwork, struct wl1271, elp_work); in wl1271_elp_work()
Dscan.c36 struct delayed_work *dwork; in wl1271_scan_complete_work() local
41 dwork = container_of(work, struct delayed_work, work); in wl1271_scan_complete_work()
42 wl = container_of(dwork, struct wl1271, scan_complete_work); in wl1271_scan_complete_work()
Dmain.c244 struct delayed_work *dwork; in wl12xx_tx_watchdog_work() local
247 dwork = container_of(work, struct delayed_work, work); in wl12xx_tx_watchdog_work()
248 wl = container_of(dwork, struct wl1271, tx_watchdog_work); in wl12xx_tx_watchdog_work()
2076 struct delayed_work *dwork; in wlcore_channel_switch_work() local
2082 dwork = container_of(work, struct delayed_work, work); in wlcore_channel_switch_work()
2083 wlvif = container_of(dwork, struct wl12xx_vif, channel_switch_work); in wlcore_channel_switch_work()
2113 struct delayed_work *dwork; in wlcore_connection_loss_work() local
2118 dwork = container_of(work, struct delayed_work, work); in wlcore_connection_loss_work()
2119 wlvif = container_of(dwork, struct wl12xx_vif, connection_loss_work); in wlcore_connection_loss_work()
2141 struct delayed_work *dwork; in wlcore_pending_auth_complete_work() local
[all …]
/linux-4.1.27/block/
Dgenhd.c1400 struct delayed_work dwork; member
1473 cancel_delayed_work_sync(&disk->ev->dwork); in disk_block_events()
1497 set_timer_slack(&ev->dwork.timer, intv / 4); in __disk_unblock_events()
1500 &ev->dwork, 0); in __disk_unblock_events()
1503 &ev->dwork, intv); in __disk_unblock_events()
1547 &ev->dwork, 0); in disk_flush_events()
1612 struct delayed_work *dwork = to_delayed_work(work); in disk_events_workfn() local
1613 struct disk_events *ev = container_of(dwork, struct disk_events, dwork); in disk_events_workfn()
1641 &ev->dwork, intv); in disk_check_events()
1800 INIT_DELAYED_WORK(&ev->dwork, disk_events_workfn); in disk_alloc_events()
Dblk-core.c3005 int kblockd_schedule_delayed_work(struct delayed_work *dwork, in kblockd_schedule_delayed_work() argument
3008 return queue_delayed_work(kblockd_workqueue, dwork, delay); in kblockd_schedule_delayed_work()
3012 int kblockd_schedule_delayed_work_on(int cpu, struct delayed_work *dwork, in kblockd_schedule_delayed_work_on() argument
3015 return queue_delayed_work_on(cpu, kblockd_workqueue, dwork, delay); in kblockd_schedule_delayed_work_on()
Dblk-throttle.c273 struct delayed_work *dwork = to_delayed_work(work); in tg_stats_alloc_fn() local
283 schedule_delayed_work(dwork, msecs_to_jiffies(10)); in tg_stats_alloc_fn()
/linux-4.1.27/drivers/video/fbdev/
Dhyperv_fb.c221 struct delayed_work dwork; member
381 schedule_delayed_work(&par->dwork, HVFB_UPDATE_DELAY); in synthvid_recv_sub()
532 struct hvfb_par *par = container_of(w, struct hvfb_par, dwork.work); in hvfb_update_work()
539 schedule_delayed_work(&par->dwork, HVFB_UPDATE_DELAY); in hvfb_update_work()
787 INIT_DELAYED_WORK(&par->dwork, hvfb_update_work); in hvfb_probe()
866 cancel_delayed_work_sync(&par->dwork); in hvfb_probe()
885 cancel_delayed_work_sync(&par->dwork); in hvfb_remove()
/linux-4.1.27/drivers/net/hyperv/
Dnetvsc_drv.c631 schedule_delayed_work(&ndev_ctx->dwork, 0); in netvsc_linkstatus_callback()
632 schedule_delayed_work(&ndev_ctx->dwork, msecs_to_jiffies(20)); in netvsc_linkstatus_callback()
634 schedule_delayed_work(&ndev_ctx->dwork, 0); in netvsc_linkstatus_callback()
832 ndev_ctx = container_of(w, struct net_device_context, dwork.work); in netvsc_link_change()
887 INIT_DELAYED_WORK(&net_device_ctx->dwork, netvsc_link_change); in netvsc_probe()
928 schedule_delayed_work(&net_device_ctx->dwork, 0); in netvsc_probe()
951 cancel_delayed_work_sync(&ndev_ctx->dwork); in netvsc_remove()
Dhyperv_net.h618 struct delayed_work dwork; member
/linux-4.1.27/drivers/ata/
Dpata_arasan_cf.c215 struct delayed_work dwork; member
552 ata_sff_queue_delayed_work(&acdev->dwork, 1); in data_xfer()
576 dwork.work); in delayed_finish()
586 ata_sff_queue_delayed_work(&acdev->dwork, 1); in delayed_finish()
667 cancel_delayed_work_sync(&acdev->dwork); in arasan_cf_error_handler()
862 INIT_DELAYED_WORK(&acdev->dwork, delayed_finish); in arasan_cf_probe()
Dlibata-sff.c1295 void ata_sff_queue_delayed_work(struct delayed_work *dwork, unsigned long delay) in ata_sff_queue_delayed_work() argument
1297 queue_delayed_work(ata_sff_wq, dwork, delay); in ata_sff_queue_delayed_work()
/linux-4.1.27/drivers/gpu/drm/i2c/
Dtda998x_drv.c37 struct delayed_work dwork; member
557 struct delayed_work *dwork = to_delayed_work(work); in tda998x_hpd() local
559 container_of(dwork, struct tda998x_priv, dwork); in tda998x_hpd()
588 schedule_delayed_work(&priv->dwork, HZ/10); in tda998x_irq_thread()
1150 cancel_delayed_work_sync(&priv->dwork); in tda998x_destroy()
1310 INIT_DELAYED_WORK(&priv->dwork, tda998x_hpd); in tda998x_create()
/linux-4.1.27/drivers/s390/block/
Ddasd_alias.c154 INIT_DELAYED_WORK(&lcu->ruac_data.dwork, lcu_update_work); in _allocate_lcu()
276 cancel_delayed_work_sync(&lcu->ruac_data.dwork); in dasd_alias_disconnect_device_from_lcu()
543 ruac_data = container_of(work, struct read_uac_work_data, dwork.work); in lcu_update_work()
556 if (!schedule_delayed_work(&lcu->ruac_data.dwork, 30*HZ)) in lcu_update_work()
604 if (!schedule_delayed_work(&lcu->ruac_data.dwork, 0)) in _schedule_lcu_update()
Ddasd_eckd.h467 struct delayed_work dwork; member
/linux-4.1.27/include/net/
Daf_vsock.h62 struct delayed_work dwork; member
Dmac80211.h4640 struct delayed_work *dwork,
/linux-4.1.27/fs/lockd/
Dsvc.c93 struct delayed_work *dwork = container_of(grace, struct delayed_work, in grace_ender() local
95 struct lockd_net *ln = container_of(dwork, struct lockd_net, in grace_ender()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dmr.c372 queue_delayed_work(cache->wq, &ent->dwork, in __cache_work_func()
377 queue_delayed_work(cache->wq, &ent->dwork, in __cache_work_func()
390 queue_delayed_work(cache->wq, &ent->dwork, 300 * HZ); in __cache_work_func()
399 ent = container_of(work, struct mlx5_cache_ent, dwork.work); in delayed_cache_work_func()
486 cancel_delayed_work(&ent->dwork); in clean_keys()
596 INIT_DELAYED_WORK(&ent->dwork, delayed_cache_work_func); in mlx5_mr_cache_init()
Dmlx5_ib.h400 struct delayed_work dwork; member
/linux-4.1.27/fs/
Dfs-writeback.c116 mod_delayed_work(bdi_wq, &bdi->wb.dwork, 0); in bdi_wakeup_thread()
132 mod_delayed_work(bdi_wq, &bdi->wb.dwork, 0); in bdi_queue_work()
1094 struct bdi_writeback, dwork); in bdi_writeback_workfn()
1125 mod_delayed_work(bdi_wq, &wb->dwork, 0); in bdi_writeback_workfn()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_ptp.c543 struct delayed_work *dwork = to_delayed_work(work); in fec_time_keep() local
544 struct fec_enet_private *fep = container_of(dwork, struct fec_enet_private, time_keep); in fec_time_keep()
/linux-4.1.27/drivers/mfd/
Drtsx_pcr.c823 struct delayed_work *dwork; in rtsx_pci_card_detect() local
829 dwork = to_delayed_work(work); in rtsx_pci_card_detect()
830 pcr = container_of(dwork, struct rtsx_pcr, carddet_work); in rtsx_pci_card_detect()
955 struct delayed_work *dwork = to_delayed_work(work); in rtsx_pci_idle_work() local
956 struct rtsx_pcr *pcr = container_of(dwork, struct rtsx_pcr, idle_work); in rtsx_pci_idle_work()
/linux-4.1.27/net/vmw_vsock/
Daf_vsock.c441 vsk = container_of(work, struct vsock_sock, dwork.work); in vsock_pending_work()
1097 vsk = container_of(work, struct vsock_sock, dwork.work); in vsock_connect_timeout()
1198 INIT_DELAYED_WORK(&vsk->dwork, in vsock_stream_connect()
1200 schedule_delayed_work(&vsk->dwork, timeout); in vsock_stream_connect()
Dvmci_transport.c1130 INIT_DELAYED_WORK(&vpending->dwork, vsock_pending_work); in vmci_transport_recv_listen()
1131 schedule_delayed_work(&vpending->dwork, HZ); in vmci_transport_recv_listen()
/linux-4.1.27/drivers/net/phy/
Dphy.c783 struct delayed_work *dwork = to_delayed_work(work); in phy_state_machine() local
785 container_of(dwork, struct phy_device, state_queue); in phy_state_machine()
/linux-4.1.27/fs/jffs2/
Dwbuf.c1154 struct delayed_work *dwork; in work_to_sb() local
1156 dwork = container_of(work, struct delayed_work, work); in work_to_sb()
1157 return container_of(dwork, struct jffs2_sb_info, wbuf_dwork); in work_to_sb()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c496 struct delayed_work *dwork = container_of(work, struct delayed_work, work); in ieee80211_softmac_scan_wq() local
497 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, softmac_scan_wq); in ieee80211_softmac_scan_wq()
2343 struct delayed_work *dwork = container_of(work, struct delayed_work, work); in ieee80211_start_ibss_wq() local
2344 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, start_ibss_wq); in ieee80211_start_ibss_wq()
2517 struct delayed_work *dwork = container_of(work, struct delayed_work, work); in ieee80211_associate_retry_wq() local
2518 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, associate_retry_wq); in ieee80211_associate_retry_wq()
/linux-4.1.27/drivers/media/i2c/
Dad9389b.c824 struct delayed_work *dwork = to_delayed_work(work); in ad9389b_edid_handler() local
826 container_of(dwork, struct ad9389b_state, edid_handler); in ad9389b_edid_handler()
Dadv7511.c1065 struct delayed_work *dwork = to_delayed_work(work); in adv7511_edid_handler() local
1066 struct adv7511_state *state = container_of(dwork, struct adv7511_state, edid_handler); in adv7511_edid_handler()
Dadv7842.c588 struct delayed_work *dwork = to_delayed_work(work); in adv7842_delayed_work_enable_hotplug() local
589 struct adv7842_state *state = container_of(dwork, in adv7842_delayed_work_enable_hotplug()
Dadv7604.c549 struct delayed_work *dwork = to_delayed_work(work); in adv76xx_delayed_work_enable_hotplug() local
550 struct adv76xx_state *state = container_of(dwork, struct adv76xx_state, in adv76xx_delayed_work_enable_hotplug()
/linux-4.1.27/drivers/staging/rtl8192u/
Dr819xU_phy.c1701 struct delayed_work *dwork = container_of(work, struct delayed_work, in InitialGainOperateWorkItemCallBack() local
1703 struct r8192_priv *priv = container_of(dwork, struct r8192_priv, in InitialGainOperateWorkItemCallBack()
Dr8192U_dm.c765 struct delayed_work *dwork = container_of(work, struct delayed_work, work); in dm_txpower_trackingcallback() local
766 struct r8192_priv *priv = container_of(dwork, struct r8192_priv, txpower_tracking_wq); in dm_txpower_trackingcallback()
2410 struct delayed_work *dwork = container_of(work, struct delayed_work, work); in dm_rf_pathcheck_workitemcallback() local
2411 struct r8192_priv *priv = container_of(dwork, struct r8192_priv, rfpath_check_wq); in dm_rf_pathcheck_workitemcallback()
Dr8192U_core.c3214 struct delayed_work *dwork = container_of(work, struct delayed_work, work); in rtl819x_watchdog_wqcallback() local
3215 struct r8192_priv *priv = container_of(dwork, struct r8192_priv, watch_dog_wq); in rtl819x_watchdog_wqcallback()
/linux-4.1.27/drivers/power/
Dcharger-manager.c517 struct delayed_work *dwork = to_delayed_work(work); in fullbatt_vchk() local
518 struct charger_manager *cm = container_of(dwork, in fullbatt_vchk()
/linux-4.1.27/drivers/tty/serial/
Damba-pl011.c1359 struct delayed_work *dwork = to_delayed_work(work); in pl011_tx_softirq() local
1361 container_of(dwork, struct uart_amba_port, tx_softirq_work); in pl011_tx_softirq()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_cm.c3014 struct disconn_work *dwork = container_of(work, struct disconn_work, work); in nes_disconnect_worker() local
3015 struct nes_qp *nesqp = dwork->nesqp; in nes_disconnect_worker()
3017 kfree(dwork); in nes_disconnect_worker()
/linux-4.1.27/net/mac80211/
Dutil.c796 struct delayed_work *dwork, in ieee80211_queue_delayed_work() argument
804 queue_delayed_work(local->workqueue, dwork, delay); in ieee80211_queue_delayed_work()
/linux-4.1.27/arch/x86/kvm/
Dx86.c1740 struct delayed_work *dwork = to_delayed_work(work); in kvmclock_update_fn() local
1741 struct kvm_arch *ka = container_of(dwork, struct kvm_arch, in kvmclock_update_fn()
1765 struct delayed_work *dwork = to_delayed_work(work); in kvmclock_sync_fn() local
1766 struct kvm_arch *ka = container_of(dwork, struct kvm_arch, in kvmclock_sync_fn()
/linux-4.1.27/fs/nfsd/
Dnfs4state.c4490 struct delayed_work *dwork = container_of(laundry, struct delayed_work, in laundromat_main() local
4492 struct nfsd_net *nn = container_of(dwork, struct nfsd_net, in laundromat_main()