Lines Matching refs:cso
924 struct ccb_scsiio *cso;
950 cso = &ccb->csio;
951 xfrlen = cso->dxfer_len;
961 atp = isp_find_atpd(isp, XS_CHANNEL(ccb), cso->tag_id);
963 isp_prt(isp, ISP_LOGERR, "%s: [0x%x] cannot find private data adjunct in %s", __func__, cso->tag_id, __func__);
974 isp_prt(isp, ISP_LOGERR, "%s: [0x%x] not sending a CTIO for a dead command", __func__, cso->tag_id);
985 isp_prt(isp, ISP_LOGERR, "%s: [0x%x] stopping sending a CTIO because we're no longer in target mode", __func__, cso->tag_id);
996 isp_prt(isp, ISP_LOGTINFO, "[0x%x] handling only %d CCBs at a time (flags for this ccb: 0x%x)", cso->tag_id, ATPD_CCB_OUTSTANDING, ccb->ccb_h.flags);
1016 cso->tag_id, atp->orig_datalen, atp->bytes_xfered, atp->bytes_in_transit);
1033 sense_length = cso->sense_len;
1052 cso->tag_id, tmp + xfrlen - atp->orig_datalen);
1060 cso->resid = cso->dxfer_len;
1094 cto->ct_scsi_status = cso->scsi_status;
1108 memcpy(cto->rsp.m1.ct_resp, &cso->sense_data, sense_length);
1127 rp.fcp_rsp_scsi_status = cso->scsi_status;
1140 memcpy(((fcp_rsp_iu_t *)atp->ests)->fcp_rsp_extra, &cso->sense_data, sense_length);
1160 cso->sense_data.error_code, cso->sense_data.sense_buf[1], cso->sense_data.sense_buf[11], cso->sense_data.sense_buf[12]);
1173 if ((cso->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) {
1191 if (cso->scsi_status == SCSI_STATUS_OK && resid == 0 /* && fctape == 0 */) {
1233 dmaresult = ISP_DMASETUP(isp, cso, cto);