Lines Matching refs:io_req
152 struct bnx2fc_cmd *io_req;
165 io_req = (struct bnx2fc_cmd *)list;
166 list_del_init(&io_req->link);
167 io_req->on_active_queue = 0;
168 BNX2FC_IO_DBG(io_req, "cmd_queue cleanup\n");
170 if (cancel_delayed_work(&io_req->timeout_work)) {
172 &io_req->req_flags)) {
174 BNX2FC_IO_DBG(io_req, "eh_abort for IO "
176 complete(&io_req->tm_done);
178 kref_put(&io_req->refcount,
182 set_bit(BNX2FC_FLAG_IO_COMPL, &io_req->req_flags);
183 set_bit(BNX2FC_FLAG_IO_CLEANUP, &io_req->req_flags);
184 rc = bnx2fc_initiate_cleanup(io_req);
190 io_req = (struct bnx2fc_cmd *)list;
191 list_del_init(&io_req->link);
192 io_req->on_active_queue = 0;
194 BNX2FC_IO_DBG(io_req, "els_queue cleanup\n");
196 if (cancel_delayed_work(&io_req->timeout_work))
197 kref_put(&io_req->refcount,
200 if ((io_req->cb_func) && (io_req->cb_arg)) {
201 io_req->cb_func(io_req->cb_arg);
202 io_req->cb_arg = NULL;
205 rc = bnx2fc_initiate_cleanup(io_req);
211 io_req = (struct bnx2fc_cmd *)list;
212 list_del_init(&io_req->link);
214 BNX2FC_IO_DBG(io_req, "retire_queue flush\n");
216 if (cancel_delayed_work(&io_req->timeout_work))
217 kref_put(&io_req->refcount, bnx2fc_cmd_release);
219 clear_bit(BNX2FC_FLAG_ISSUE_RRQ, &io_req->req_flags);