Lines Matching defs:icmnd_cmpl

828 	struct fcpio_icmnd_cmpl *icmnd_cmpl;
841 icmnd_cmpl = &desc->u.icmnd_cmpl;
855 "icmnd_cmpl sc is null - "
860 ((u64)icmnd_cmpl->_resvd0[1] << 16 |
861 (u64)icmnd_cmpl->_resvd0[0]),
863 (u64)icmnd_cmpl->scsi_status << 8 |
864 (u64)icmnd_cmpl->flags), desc,
865 (u64)icmnd_cmpl->residual, 0);
878 "icmnd_cmpl io_req is null - "
905 "icmnd_cmpl abts pending "
910 icmnd_cmpl->scsi_status,
911 icmnd_cmpl->residual);
918 icmnd_cmpl = &desc->u.icmnd_cmpl;
922 sc->result = (DID_OK << 16) | icmnd_cmpl->scsi_status;
924 scsi_set_resid(sc, icmnd_cmpl->residual);
926 if (icmnd_cmpl->flags & FCPIO_ICMND_CMPL_RESID_UNDER)
927 xfer_len -= icmnd_cmpl->residual;
929 if (icmnd_cmpl->scsi_status == SAM_STAT_CHECK_CONDITION)
932 if (icmnd_cmpl->scsi_status == SAM_STAT_TASK_SET_FULL)
938 sc->result = (DID_TIME_OUT << 16) | icmnd_cmpl->scsi_status;
943 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
948 scsi_set_resid(sc, icmnd_cmpl->residual);
949 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
954 sc->result = (DID_REQUEUE << 16) | icmnd_cmpl->scsi_status;
959 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
964 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
969 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
974 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
981 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status;
1002 (u64)icmnd_cmpl->scsi_status << 48 |
1003 (u64)icmnd_cmpl->flags << 40 | (u64)sc->cmnd[0] << 32 |
1009 ((u64)icmnd_cmpl->_resvd0[1] << 56 |
1010 (u64)icmnd_cmpl->_resvd0[0] << 48 |