Lines Matching refs:scmd
648 struct scsi_cmnd *scmd, *tmp; in ata_scsi_cmd_error_handler() local
665 list_for_each_entry_safe(scmd, tmp, eh_work_q, eh_entry) { in ata_scsi_cmd_error_handler()
671 qc->scsicmd == scmd) in ata_scsi_cmd_error_handler()
688 scmd->retries = scmd->allowed; in ata_scsi_cmd_error_handler()
689 scsi_eh_finish_cmd(scmd, &ap->eh_done_q); in ata_scsi_cmd_error_handler()
1285 static void ata_eh_scsidone(struct scsi_cmnd *scmd) in ata_eh_scsidone() argument
1293 struct scsi_cmnd *scmd = qc->scsicmd; in __ata_eh_qc_complete() local
1302 scsi_eh_finish_cmd(scmd, &ap->eh_done_q); in __ata_eh_qc_complete()
1314 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_complete() local
1315 scmd->retries = scmd->allowed; in ata_eh_qc_complete()
1332 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_retry() local
1334 scmd->allowed++; in ata_eh_qc_retry()