Lines Matching refs:mgmtm

4087 csio_mgmt_req_lookup(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req)  in csio_mgmt_req_lookup()  argument
4092 list_for_each(tmp, &mgmtm->active_q) { in csio_mgmt_req_lookup()
4110 struct csio_mgmtm *mgmtm = from_timer(mgmtm, t, mgmt_timer); in csio_mgmt_tmo_handler() local
4114 csio_dbg(mgmtm->hw, "Mgmt timer invoked!\n"); in csio_mgmt_tmo_handler()
4116 spin_lock_irq(&mgmtm->hw->lock); in csio_mgmt_tmo_handler()
4118 list_for_each(tmp, &mgmtm->active_q) { in csio_mgmt_tmo_handler()
4129 io_req->io_cbfn(mgmtm->hw, io_req); in csio_mgmt_tmo_handler()
4137 if (!list_empty(&mgmtm->active_q)) in csio_mgmt_tmo_handler()
4138 mod_timer(&mgmtm->mgmt_timer, in csio_mgmt_tmo_handler()
4140 spin_unlock_irq(&mgmtm->hw->lock); in csio_mgmt_tmo_handler()
4144 csio_mgmtm_cleanup(struct csio_mgmtm *mgmtm) in csio_mgmtm_cleanup() argument
4146 struct csio_hw *hw = mgmtm->hw; in csio_mgmtm_cleanup()
4153 while ((!list_empty(&mgmtm->active_q)) && count--) { in csio_mgmtm_cleanup()
4160 list_for_each(tmp, &mgmtm->active_q) { in csio_mgmtm_cleanup()
4164 mgmtm->stats.n_active--; in csio_mgmtm_cleanup()
4168 io_req->io_cbfn(mgmtm->hw, io_req); in csio_mgmtm_cleanup()
4188 csio_mgmtm_init(struct csio_mgmtm *mgmtm, struct csio_hw *hw) in csio_mgmtm_init() argument
4190 timer_setup(&mgmtm->mgmt_timer, csio_mgmt_tmo_handler, 0); in csio_mgmtm_init()
4192 INIT_LIST_HEAD(&mgmtm->active_q); in csio_mgmtm_init()
4193 INIT_LIST_HEAD(&mgmtm->cbfn_q); in csio_mgmtm_init()
4195 mgmtm->hw = hw; in csio_mgmtm_init()
4211 csio_mgmtm_exit(struct csio_mgmtm *mgmtm) in csio_mgmtm_exit() argument
4213 del_timer_sync(&mgmtm->mgmt_timer); in csio_mgmtm_exit()