Lines Matching defs:scmd
548 /* finish or retry handled scmd's and clean up */
584 * completions are honored. A scmd is determined to have
589 struct scsi_cmnd *scmd, *tmp;
604 list_for_each_entry_safe(scmd, tmp, eh_work_q, eh_entry) {
609 qc->scsicmd == scmd)
614 /* the scmd has an associated qc */
626 scmd->retries = scmd->allowed;
627 scsi_eh_finish_cmd(scmd, &ap->eh_done_q);
1153 static void ata_eh_scsidone(struct scsi_cmnd *scmd)
1161 struct scsi_cmnd *scmd = qc->scsicmd;
1170 scsi_eh_finish_cmd(scmd, &ap->eh_done_q);
1182 struct scsi_cmnd *scmd = qc->scsicmd;
1183 scmd->retries = scmd->allowed;
1194 * SCSI midlayer limits the number of retries to scmd->allowed.
1195 * scmd->allowed is incremented for commands which get retried
1200 struct scsi_cmnd *scmd = qc->scsicmd;
1202 scmd->allowed++;