Lines Matching defs:io_req
4081 * @io_req - io request
4087 csio_mgmt_req_lookup(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req)
4093 if (io_req == (struct csio_ioreq *)tmp)
4112 struct csio_ioreq *io_req;
4119 io_req = (struct csio_ioreq *) tmp;
4120 io_req->tmo -= min_t(uint32_t, io_req->tmo, ECM_MIN_TMO);
4122 if (!io_req->tmo) {
4125 list_del_init(&io_req->sm.sm_list);
4126 if (io_req->io_cbfn) {
4127 /* io_req will be freed by completion handler */
4128 io_req->wr_status = -ETIMEDOUT;
4129 io_req->io_cbfn(mgmtm->hw, io_req);
4147 struct csio_ioreq *io_req;
4161 io_req = (struct csio_ioreq *) tmp;
4163 list_del_init(&io_req->sm.sm_list);
4165 if (io_req->io_cbfn) {
4166 /* io_req will be freed by completion handler */
4167 io_req->wr_status = -ETIMEDOUT;
4168 io_req->io_cbfn(mgmtm->hw, io_req);