Searched refs:cm_wq (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/mlx4/ |
D | cm.c | 83 static struct workqueue_struct *cm_wq; variable 292 queue_delayed_work(cm_wq, &id->timeout, CM_CLEANUP_CACHE_TIMEOUT); in schedule_delayed() 295 mod_delayed_work(cm_wq, &id->timeout, CM_CLEANUP_CACHE_TIMEOUT); in schedule_delayed() 374 mod_delayed_work(cm_wq, &item->timeout, CM_CLEANUP_CACHE_TIMEOUT); in alloc_rej_tmout() 397 queue_delayed_work(cm_wq, &item->timeout, CM_CLEANUP_CACHE_TIMEOUT); in alloc_rej_tmout() 504 mod_delayed_work(cm_wq, &item->timeout, 0); in rej_tmout_xa_cleanup() 512 flush_workqueue(cm_wq); in rej_tmout_xa_cleanup() 544 flush_workqueue(cm_wq); /* make sure all timers were flushed */ in mlx4_ib_cm_paravirt_clean() 594 cm_wq = alloc_workqueue("mlx4_ib_cm", 0, 0); in mlx4_ib_cm_init() 595 if (!cm_wq) in mlx4_ib_cm_init() [all …]
|
/linux-6.12.1/drivers/power/supply/ |
D | charger-manager.c | 88 static struct workqueue_struct *cm_wq; /* init at driver add */ variable 675 WARN(cm_wq == NULL, "charger-manager: workqueue not initialized" in _setup_polling() 687 mod_delayed_work(cm_wq, &cm_monitor_work, polling_jiffy); in _setup_polling() 690 if (queue_delayed_work(cm_wq, &cm_monitor_work, polling_jiffy)) in _setup_polling() 934 queue_delayed_work(cm_wq, &cm_monitor_work, 0); in charger_extcon_work() 1749 cm_wq = create_freezable_workqueue("charger_manager"); in charger_manager_init() 1750 if (unlikely(!cm_wq)) in charger_manager_init() 1761 destroy_workqueue(cm_wq); in charger_manager_cleanup() 1762 cm_wq = NULL; in charger_manager_cleanup()
|