Home
last modified time | relevance | path

Searched refs:mgmtm (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/csiostor/
Dcsio_lnode.c1434 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler() local
1442 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1444 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1453 if (csio_mgmt_req_lookup(mgmtm, io_req) != 0) { in csio_ln_mgmt_wr_handler()
1454 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1457 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1462 mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler()
1466 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler()
1724 csio_ln_mgmt_submit_wr(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req, in csio_ln_mgmt_submit_wr() argument
1731 struct csio_hw *hw = mgmtm->hw; in csio_ln_mgmt_submit_wr()
[all …]
Dcsio_hw.c4087 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()
[all …]
Dcsio_init.c259 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_create_queues() local
285 rv = csio_wr_eq_create(hw, NULL, mgmtm->eq_idx, in csio_create_queues()
286 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues()
338 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_config_queues() local
388 mgmtm->eq_idx = csio_wr_alloc_q(hw, CSIO_MGMT_EQSIZE, in csio_config_queues()
391 if (mgmtm->eq_idx == -1) { in csio_config_queues()
397 mgmtm->iq_idx = hw->fwevt_iq_idx; in csio_config_queues()
Dcsio_hw.h477 struct csio_mgmtm mgmtm; /* management module */ member
595 #define csio_hw_to_mgmtm(hw) ((struct csio_mgmtm *)(&(hw)->mgmtm))