/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 117 linux_delayed_work_enqueue(struct delayed_work *dwork) in linux_delayed_work_enqueue() argument 121 tq = dwork->work.work_queue->taskqueue; in linux_delayed_work_enqueue() 122 taskqueue_enqueue(tq, &dwork->work.work_task); in linux_delayed_work_enqueue() 215 struct delayed_work *dwork, unsigned delay) in linux_queue_delayed_work_on() argument 227 return (!work_pending(&dwork->work)); in linux_queue_delayed_work_on() 229 mtx_lock(&dwork->timer.mtx); in linux_queue_delayed_work_on() 230 switch (linux_update_state(&dwork->work.state, states)) { in linux_queue_delayed_work_on() 233 if (delay == 0 && linux_work_exec_unblock(&dwork->work)) { in linux_queue_delayed_work_on() 234 dwork->timer.expires = jiffies; in linux_queue_delayed_work_on() 240 dwork->work.work_queue = wq; in linux_queue_delayed_work_on() [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) 129 #define INIT_DELAYED_WORK_ONSTACK(dwork, fn) \ argument 130 linux_init_delayed_work(dwork, fn) 132 #define INIT_DEFERRABLE_WORK(dwork, fn) \ argument 133 INIT_DELAYED_WORK(dwork, fn) 144 #define queue_delayed_work(wq, dwork, delay) \ argument 145 linux_queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay) 147 #define schedule_delayed_work_on(cpu, dwork, delay) \ argument 148 linux_queue_delayed_work_on(cpu, system_wq, dwork, delay) [all …]
|
/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec.c | 83 struct mlx5e_ipsec_dwork *dwork = in mlx5e_ipsec_handle_counters() local 84 container_of(_work, struct mlx5e_ipsec_dwork, dwork.work); in mlx5e_ipsec_handle_counters() 85 struct mlx5e_ipsec_sa_entry *sa_entry = dwork->sa_entry; in mlx5e_ipsec_handle_counters() 91 other_sa_entry = mlx5e_ipsec_other_sa_entry(dwork->pb, sa_entry); in mlx5e_ipsec_handle_counters() 105 queue_delayed_work(sa_entry->ipsec->wq, &dwork->dwork, in mlx5e_ipsec_handle_counters() 113 struct mlx5e_ipsec_dwork *dwork; in mlx5e_ipsec_create_dwork() local 115 dwork = kzalloc(sizeof(*dwork), GFP_KERNEL); in mlx5e_ipsec_create_dwork() 116 if (!dwork) in mlx5e_ipsec_create_dwork() 119 dwork->sa_entry = sa_entry; in mlx5e_ipsec_create_dwork() 120 dwork->pb = pb; in mlx5e_ipsec_create_dwork() [all …]
|
H A D | ipsec.h | 70 struct delayed_work dwork; member 161 struct mlx5e_ipsec_dwork *dwork; member
|
/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() 554 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_channel_switch() 610 flush_delayed_work(&mvm->tdls_cs.dwork); in iwl_mvm_tdls_cancel_channel_switch() 669 mod_delayed_work(system_wq, &mvm->tdls_cs.dwork, in iwl_mvm_tdls_recv_channel_switch()
|
H A D | mvm.h | 931 struct delayed_work dwork; 1277 struct delayed_work dwork; 817 struct delayed_work dwork; global() member 1125 struct delayed_work dwork; global() member
|
H A D | ops.c | 1353 INIT_DELAYED_WORK(&mvm->tdls_cs.dwork, iwl_mvm_tdls_ch_switch_work); in iwl_op_mode_mvm_start()
|
H A D | sta.c | 2115 cancel_delayed_work(&mvm->tdls_cs.dwork); in iwl_mvm_rm_sta()
|
/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 | 273 struct delayed_work *dwork,
|
H A D | mlx5_cmd.c | 790 struct delayed_work *dwork = container_of(work, struct delayed_work, in cb_timeout_handler() local 792 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()
|