Home
last modified time | relevance | path

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

/drivers/scsi/csiostor/
Dcsio_lnode.c1427 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler() local
1435 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1437 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1446 if (csio_mgmt_req_lookup(mgmtm, io_req) != 0) { in csio_ln_mgmt_wr_handler()
1447 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1450 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1455 mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler()
1459 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler()
1717 csio_ln_mgmt_submit_wr(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req, in csio_ln_mgmt_submit_wr() argument
1724 struct csio_hw *hw = mgmtm->hw; in csio_ln_mgmt_submit_wr()
[all …]
Dcsio_hw.c3625 csio_mgmt_req_lookup(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req) in csio_mgmt_req_lookup() argument
3630 list_for_each(tmp, &mgmtm->active_q) { in csio_mgmt_req_lookup()
3648 struct csio_mgmtm *mgmtm = (struct csio_mgmtm *) data; in csio_mgmt_tmo_handler() local
3652 csio_dbg(mgmtm->hw, "Mgmt timer invoked!\n"); in csio_mgmt_tmo_handler()
3654 spin_lock_irq(&mgmtm->hw->lock); in csio_mgmt_tmo_handler()
3656 list_for_each(tmp, &mgmtm->active_q) { in csio_mgmt_tmo_handler()
3667 io_req->io_cbfn(mgmtm->hw, io_req); in csio_mgmt_tmo_handler()
3675 if (!list_empty(&mgmtm->active_q)) in csio_mgmt_tmo_handler()
3676 mod_timer(&mgmtm->mgmt_timer, in csio_mgmt_tmo_handler()
3678 spin_unlock_irq(&mgmtm->hw->lock); in csio_mgmt_tmo_handler()
[all …]
Dcsio_init.c268 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_create_queues() local
294 rv = csio_wr_eq_create(hw, NULL, mgmtm->eq_idx, in csio_create_queues()
295 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues()
347 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_config_queues() local
397 mgmtm->eq_idx = csio_wr_alloc_q(hw, CSIO_MGMT_EQSIZE, in csio_config_queues()
400 if (mgmtm->eq_idx == -1) { in csio_config_queues()
406 mgmtm->iq_idx = hw->fwevt_iq_idx; in csio_config_queues()
Dcsio_hw.h419 struct csio_mgmtm mgmtm; /* management module */ member
537 #define csio_hw_to_mgmtm(hw) ((struct csio_mgmtm *)(&(hw)->mgmtm))