Home
last modified time | relevance | path

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

/drivers/scsi/csiostor/
Dcsio_lnode.c1417 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler() local
1425 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1427 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1436 if (csio_mgmt_req_lookup(mgmtm, io_req) != 0) { in csio_ln_mgmt_wr_handler()
1437 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1440 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1445 mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler()
1449 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler()
1707 csio_ln_mgmt_submit_wr(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req, in csio_ln_mgmt_submit_wr() argument
1714 struct csio_hw *hw = mgmtm->hw; in csio_ln_mgmt_submit_wr()
[all …]
Dcsio_hw.c3718 csio_mgmt_req_lookup(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req) in csio_mgmt_req_lookup() argument
3723 list_for_each(tmp, &mgmtm->active_q) { in csio_mgmt_req_lookup()
3741 struct csio_mgmtm *mgmtm = (struct csio_mgmtm *) data; in csio_mgmt_tmo_handler() local
3745 csio_dbg(mgmtm->hw, "Mgmt timer invoked!\n"); in csio_mgmt_tmo_handler()
3747 spin_lock_irq(&mgmtm->hw->lock); in csio_mgmt_tmo_handler()
3749 list_for_each(tmp, &mgmtm->active_q) { in csio_mgmt_tmo_handler()
3760 io_req->io_cbfn(mgmtm->hw, io_req); in csio_mgmt_tmo_handler()
3768 if (!list_empty(&mgmtm->active_q)) in csio_mgmt_tmo_handler()
3769 mod_timer(&mgmtm->mgmt_timer, in csio_mgmt_tmo_handler()
3771 spin_unlock_irq(&mgmtm->hw->lock); in csio_mgmt_tmo_handler()
[all …]
Dcsio_init.c271 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_create_queues() local
297 rv = csio_wr_eq_create(hw, NULL, mgmtm->eq_idx, in csio_create_queues()
298 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues()
350 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_config_queues() local
400 mgmtm->eq_idx = csio_wr_alloc_q(hw, CSIO_MGMT_EQSIZE, in csio_config_queues()
403 if (mgmtm->eq_idx == -1) { in csio_config_queues()
409 mgmtm->iq_idx = hw->fwevt_iq_idx; in csio_config_queues()
Dcsio_hw.h465 struct csio_mgmtm mgmtm; /* management module */ member
588 #define csio_hw_to_mgmtm(hw) ((struct csio_mgmtm *)(&(hw)->mgmtm))