Lines Matching refs:cmd_sp
115 if (sp->cmd_sp) in qla24xx_abort_iocb_timeout()
118 sp->cmd_sp->handle, sp->cmd_sp->type, in qla24xx_abort_iocb_timeout()
127 if (sp->cmd_sp && (qpair->req->outstanding_cmds[handle] == in qla24xx_abort_iocb_timeout()
128 sp->cmd_sp)) { in qla24xx_abort_iocb_timeout()
131 qla_put_fw_resources(qpair, &sp->cmd_sp->iores); in qla24xx_abort_iocb_timeout()
144 if (cmdsp_found && sp->cmd_sp) { in qla24xx_abort_iocb_timeout()
149 sp->cmd_sp->done(sp->cmd_sp, QLA_OS_TIMER_EXPIRED); in qla24xx_abort_iocb_timeout()
161 srb_t *orig_sp = sp->cmd_sp; in qla24xx_abort_sp_done()
173 int qla24xx_async_abort_cmd(srb_t *cmd_sp, bool wait) in qla24xx_async_abort_cmd() argument
175 scsi_qla_host_t *vha = cmd_sp->vha; in qla24xx_async_abort_cmd()
181 sp = qla2xxx_get_qpair_sp(cmd_sp->vha, cmd_sp->qpair, cmd_sp->fcport, in qla24xx_async_abort_cmd()
190 sp->qpair = cmd_sp->qpair; in qla24xx_async_abort_cmd()
191 sp->cmd_sp = cmd_sp; in qla24xx_async_abort_cmd()
200 abt_iocb->u.abt.cmd_hndl = cmd_sp->handle; in qla24xx_async_abort_cmd()
201 abt_iocb->u.abt.req_que_no = cpu_to_le16(cmd_sp->qpair->req->id); in qla24xx_async_abort_cmd()
204 "Abort command issued - hdl=%x, type=%x\n", cmd_sp->handle, in qla24xx_async_abort_cmd()
205 cmd_sp->type); in qla24xx_async_abort_cmd()