Lines Matching refs:sshdr
575 struct scsi_sense_hdr sshdr; in scsi_probe_lun() local
602 inq_result, try_inquiry_len, &sshdr, in scsi_probe_lun()
618 scsi_sense_valid(&sshdr)) { in scsi_probe_lun()
619 if ((sshdr.sense_key == UNIT_ATTENTION) && in scsi_probe_lun()
620 ((sshdr.asc == 0x28) || in scsi_probe_lun()
621 (sshdr.asc == 0x29)) && in scsi_probe_lun()
622 (sshdr.ascq == 0)) in scsi_probe_lun()
1306 struct scsi_sense_hdr sshdr; in scsi_report_lun_scan() local
1385 lun_data, length, &sshdr, in scsi_report_lun_scan()
1395 else if (scsi_sense_valid(&sshdr)) { in scsi_report_lun_scan()
1396 if (sshdr.sense_key != UNIT_ATTENTION) in scsi_report_lun_scan()