Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_lnode.c1432 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler() local
1440 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1442 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1451 if (csio_mgmt_req_lookup(mgmtm, io_req) != 0) { in csio_ln_mgmt_wr_handler()
1452 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1455 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1460 mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler()
1464 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler()
1722 csio_ln_mgmt_submit_wr(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req, in csio_ln_mgmt_submit_wr() argument
1729 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.c263 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_create_queues() local
289 rv = csio_wr_eq_create(hw, NULL, mgmtm->eq_idx, in csio_create_queues()
290 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues()
342 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_config_queues() local
392 mgmtm->eq_idx = csio_wr_alloc_q(hw, CSIO_MGMT_EQSIZE, in csio_config_queues()
395 if (mgmtm->eq_idx == -1) { in csio_config_queues()
401 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))