Lines Matching refs:scmd
1078 Uscmd *scmd = &ssc->ses_uscsicmd;
1083 if ((scmd->uscsi_flags & USCSI_RQENABLE) && ssc->ses_arq) {
1084 if (scmd->uscsi_rqlen > SENSE_LENGTH) {
1085 stat_size = (int)(scmd->uscsi_rqlen) +
1096 scmd->uscsi_cdblen, stat_size, 0, flags,
1100 scmd->uscsi_cdblen, stat_size, 0, flags,
1106 bcopy(scmd->uscsi_cdb, pkt->pkt_cdbp, (size_t)scmd->uscsi_cdblen);
1109 pkt->pkt_time = (scmd->uscsi_timeout == 0) ?
1110 ses_io_time : scmd->uscsi_timeout;
1170 Uscmd *scmd;
1175 scmd = &ssc->ses_uscsicmd;
1199 if (scmd->uscsi_flags & USCSI_DIAGNOSE) {
1228 !(scmd->uscsi_flags & USCSI_DIAGNOSE)) {
1304 scmd->uscsi_status = 0;
1323 scmd->uscsi_status = 0;
1339 scmd->uscsi_status = 0;
1382 Uscmd *scmd = &ssc->ses_uscsicmd;
1402 rqlen = min((uchar_t)amt, scmd->uscsi_rqlen);
1404 scmd->uscsi_rqresid = scmd->uscsi_rqlen - rqlen;
1432 rqlen = min((uchar_t)amt, scmd->uscsi_rqlen);
1434 scmd->uscsi_status = status;
1435 scmd->uscsi_rqresid = scmd->uscsi_rqlen - rqlen;
1533 scmd->uscsi_cdb[0], err_action,