Home
last modified time | relevance | path

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

/linux/drivers/scsi/csiostor/
H A 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 …]
H A 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 = timer_container_of(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 …]
H A Dcsio_hw.h477 struct csio_mgmtm mgmtm; /* management module */ member
595 #define csio_hw_to_mgmtm(hw) ((struct csio_mgmtm *)(&(hw)->mgmtm))