/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 229 mtx_lock(&dwork->timer.mtx); in linux_queue_delayed_work_on() 240 dwork->work.work_queue = wq; in linux_queue_delayed_work_on() 259 mtx_unlock(&dwork->timer.mtx); in linux_queue_delayed_work_on() 445 mtx_lock(&dwork->timer.mtx); in linux_cancel_timer() 447 mtx_unlock(&dwork->timer.mtx); in linux_cancel_timer() 474 mtx_lock(&dwork->timer.mtx); in linux_cancel_delayed_work() 522 mtx_lock(&dwork->timer.mtx); in linux_cancel_delayed_work_sync_int() 686 memset(dwork, 0, sizeof(*dwork)); in linux_init_delayed_work() 687 dwork->work.func = func; in linux_init_delayed_work() 688 TASK_INIT(&dwork->work.work_task, 0, linux_delayed_work_fn, dwork); in linux_init_delayed_work() [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | workqueue.h | 126 #define INIT_DELAYED_WORK(dwork, fn) \ argument 127 linux_init_delayed_work(dwork, fn) 130 linux_init_delayed_work(dwork, fn) 133 INIT_DELAYED_WORK(dwork, fn) 184 wq, dwork, delay); \ 188 #define delayed_work_pending(dwork) \ argument 189 linux_work_pending(&(dwork)->work) 194 #define cancel_delayed_work(dwork) \ argument 195 linux_cancel_delayed_work(dwork) 212 #define flush_delayed_work(dwork) \ argument [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | ptp.c | 44 schedule_delayed_work(&mvm->ptp_data.dwork, IWL_PTP_WRAP_TIME); in iwl_mvm_ptp_update_new_read() 197 ptp_data.dwork.work); in iwl_mvm_ptp_work() 291 INIT_DELAYED_WORK(&mvm->ptp_data.dwork, iwl_mvm_ptp_work); in iwl_mvm_ptp_init() 324 cancel_delayed_work_sync(&mvm->ptp_data.dwork); in iwl_mvm_ptp_remove()
|
H A D | tdls.c | 240 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_rx_tdls_notif() 464 mvm = container_of(work, struct iwl_mvm, tdls_cs.dwork.work); in iwl_mvm_tdls_ch_switch_work() 497 schedule_delayed_work(&mvm->tdls_cs.dwork, msecs_to_jiffies(delay)); in iwl_mvm_tdls_ch_switch_work() 559 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_channel_switch() 618 flush_delayed_work(&mvm->tdls_cs.dwork); in iwl_mvm_tdls_cancel_channel_switch() 677 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_recv_channel_switch()
|
H A D | mvm.h | 817 struct delayed_work dwork; member 1125 struct delayed_work dwork; member
|
H A D | ops.c | 1247 INIT_DELAYED_WORK(&mvm->tdls_cs.dwork, iwl_mvm_tdls_ch_switch_work); in iwl_op_mode_mvm_start()
|
H A D | sta.c | 2088 cancel_delayed_work(&mvm->tdls_cs.dwork); in iwl_mvm_sta_del()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_cong.c | 426 container_of(work, struct mlx5_ib_dev, congestion.dwork.work); in mlx5_ib_read_cong_stats() 461 schedule_delayed_work(&dev->congestion.dwork, hz); in mlx5_ib_read_cong_stats() 468 while (cancel_delayed_work_sync(&dev->congestion.dwork)) in mlx5_ib_cleanup_congestion() 486 INIT_DELAYED_WORK(&dev->congestion.dwork, mlx5_ib_read_cong_stats); in mlx5_ib_init_congestion() 548 schedule_delayed_work(&dev->congestion.dwork, hz); in mlx5_ib_init_congestion()
|
H A D | mlx5_ib_mr.c | 270 queue_delayed_work(cache->wq, &ent->dwork, in __cache_work_func() 275 queue_delayed_work(cache->wq, &ent->dwork, in __cache_work_func() 300 queue_delayed_work(cache->wq, &ent->dwork, 300 * HZ); in __cache_work_func() 309 ent = container_of(work, struct mlx5_cache_ent, dwork.work); in delayed_cache_work_func() 393 cancel_delayed_work(&ent->dwork); in clean_keys() 452 INIT_DELAYED_WORK(&ent->dwork, delayed_cache_work_func); in mlx5_mr_cache_init()
|
H A D | mlx5_ib.h | 604 struct delayed_work dwork; member 731 struct delayed_work dwork; member
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_health.c | 367 struct delayed_work *dwork; in health_recover() local 373 dwork = container_of(work, struct delayed_work, work); in health_recover() 374 health = container_of(dwork, struct mlx5_core_health, recover_work); in health_recover()
|
H A D | mlx5_fs_counters.c | 504 struct delayed_work *dwork, in mlx5_fc_queue_stats_work() argument 509 queue_delayed_work(fc_stats->wq, dwork, delay); in mlx5_fc_queue_stats_work()
|
H A D | fs_core.h | 329 struct delayed_work *dwork,
|
H A D | mlx5_cmd.c | 786 struct delayed_work *dwork = container_of(work, struct delayed_work, in cb_timeout_handler() local 788 struct mlx5_cmd_work_ent *ent = container_of(dwork, in cb_timeout_handler()
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_verbs.c | 5821 struct qlnxr_discon_work *dwork = in qlnxr_iw_disconnect_worker() local 5824 struct qlnxr_iw_ep *ep = dwork->ep; in qlnxr_iw_disconnect_worker() 5830 kfree(dwork); in qlnxr_iw_disconnect_worker() 5836 event.status = dwork->status; in qlnxr_iw_disconnect_worker() 5842 if (dwork->status) in qlnxr_iw_disconnect_worker() 5847 kfree(dwork); in qlnxr_iw_disconnect_worker()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_cm.c | 3471 struct disconn_work *dwork = container_of(work, struct disconn_work, work); in irdma_disconnect_worker() local 3472 struct irdma_qp *iwqp = dwork->iwqp; in irdma_disconnect_worker() 3474 kfree(dwork); in irdma_disconnect_worker()
|
H A D | irdma_verbs.c | 685 struct delayed_work *dwork = to_delayed_work(work); in irdma_flush_worker() local 686 struct irdma_qp *iwqp = container_of(dwork, struct irdma_qp, dwork_flush); in irdma_flush_worker()
|