Lines Matching defs:sshdr
191 struct scsi_sense_hdr local_sshdr, *sshdr;
194 .sshdr = cgc->sshdr ? : &local_sshdr,
199 sshdr = exec_args.sshdr;
218 switch (sshdr->sense_key) {
229 if (sshdr->asc == 0x04 &&
230 sshdr->ascq == 0x01) {
253 if (sshdr->asc == 0x20 &&
254 sshdr->ascq == 0x00)
296 struct scsi_sense_hdr sshdr;
303 if (!scsi_test_unit_ready(cd->device, SR_TIMEOUT, MAX_RETRIES, &sshdr))
307 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY
308 && sshdr.asc == 0x04 && sshdr.ascq == 0x01)
325 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY
326 && sshdr.asc == 0x04 && sshdr.ascq == 0x02)
332 if (sshdr.sense_key == NOT_READY && sshdr.asc == 0x04)
340 if (scsi_sense_valid(&sshdr) &&
342 sshdr.asc == 0x3a)