Lines Matching refs:icmnd_cmpl
647 struct fcpio_icmnd_cmpl *icmnd_cmpl;
689 icmnd_cmpl = &desc->u.icmnd_cmpl;
693 sc->result = (DID_OK << 16) | icmnd_cmpl->scsi_status;
695 scsi_set_resid(sc, icmnd_cmpl->residual);
697 if (icmnd_cmpl->flags & FCPIO_ICMND_CMPL_RESID_UNDER)
698 xfer_len -= icmnd_cmpl->residual;
706 if (icmnd_cmpl->scsi_status == QUEUE_FULL) {
735 sc->result = (DID_TIME_OUT << 16) | icmnd_cmpl->scsi_status;
739 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
743 scsi_set_resid(sc, icmnd_cmpl->residual);
744 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
748 sc->result = (DID_REQUEUE << 16) | icmnd_cmpl->scsi_status;
760 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;