Home
last modified time | relevance | path

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

/freebsd-12.1/sys/compat/linuxkpi/common/src/
H A Dlinux_work.c188 dwork->work.work_queue = wq; in linux_queue_delayed_work_on()
194 mtx_lock(&dwork->timer.mtx); in linux_queue_delayed_work_on()
197 mtx_unlock(&dwork->timer.mtx); in linux_queue_delayed_work_on()
199 mtx_lock(&dwork->timer.mtx); in linux_queue_delayed_work_on()
202 mtx_unlock(&dwork->timer.mtx); in linux_queue_delayed_work_on()
360 mtx_lock(&dwork->timer.mtx); in linux_cancel_timer()
362 mtx_unlock(&dwork->timer.mtx); in linux_cancel_timer()
586 memset(dwork, 0, sizeof(*dwork)); in linux_init_delayed_work()
587 dwork->work.func = func; in linux_init_delayed_work()
588 TASK_INIT(&dwork->work.work_task, 0, linux_delayed_work_fn, dwork); in linux_init_delayed_work()
[all …]
/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dworkqueue.h117 #define INIT_DELAYED_WORK(dwork, fn) \ argument
118 linux_init_delayed_work(dwork, fn)
121 linux_init_delayed_work(dwork, fn)
124 INIT_DELAYED_WORK(dwork, fn)
175 wq, dwork, delay); \
179 #define delayed_work_pending(dwork) \ argument
180 linux_work_pending(&(dwork)->work)
182 #define cancel_delayed_work(dwork) \ argument
183 linux_cancel_delayed_work(dwork)
194 #define flush_delayed_work(dwork) \ argument
[all …]
/freebsd-12.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cong.c354 container_of(work, struct mlx5_ib_dev, congestion.dwork.work); in mlx5_ib_read_cong_stats()
389 schedule_delayed_work(&dev->congestion.dwork, hz); in mlx5_ib_read_cong_stats()
396 while (cancel_delayed_work_sync(&dev->congestion.dwork)) in mlx5_ib_cleanup_congestion()
414 INIT_DELAYED_WORK(&dev->congestion.dwork, mlx5_ib_read_cong_stats); in mlx5_ib_init_congestion()
459 schedule_delayed_work(&dev->congestion.dwork, hz); in mlx5_ib_init_congestion()
H A Dmlx5_ib_mr.c268 queue_delayed_work(cache->wq, &ent->dwork, in __cache_work_func()
273 queue_delayed_work(cache->wq, &ent->dwork, in __cache_work_func()
298 queue_delayed_work(cache->wq, &ent->dwork, 300 * HZ); in __cache_work_func()
307 ent = container_of(work, struct mlx5_cache_ent, dwork.work); in delayed_cache_work_func()
391 cancel_delayed_work(&ent->dwork); in clean_keys()
449 INIT_DELAYED_WORK(&ent->dwork, delayed_cache_work_func); in mlx5_mr_cache_init()
H A Dmlx5_ib.h562 struct delayed_work dwork; member
652 struct delayed_work dwork; member
/freebsd-12.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c366 struct delayed_work *dwork; in health_recover() local
372 dwork = container_of(work, struct delayed_work, work); in health_recover()
373 health = container_of(dwork, struct mlx5_core_health, recover_work); in health_recover()
H A Dmlx5_cmd.c778 struct delayed_work *dwork = container_of(work, struct delayed_work, in cb_timeout_handler() local
780 struct mlx5_cmd_work_ent *ent = container_of(dwork, in cb_timeout_handler()