Lines Matching refs:sshdr
566 struct scsi_sense_hdr sshdr; in scsi_probe_lun() local
593 inq_result, try_inquiry_len, &sshdr, in scsi_probe_lun()
609 scsi_sense_valid(&sshdr)) { in scsi_probe_lun()
610 if ((sshdr.sense_key == UNIT_ATTENTION) && in scsi_probe_lun()
611 ((sshdr.asc == 0x28) || in scsi_probe_lun()
612 (sshdr.asc == 0x29)) && in scsi_probe_lun()
613 (sshdr.ascq == 0)) in scsi_probe_lun()
1298 struct scsi_sense_hdr sshdr; in scsi_report_lun_scan() local
1377 lun_data, length, &sshdr, in scsi_report_lun_scan()
1387 else if (scsi_sense_valid(&sshdr)) { in scsi_report_lun_scan()
1388 if (sshdr.sense_key != UNIT_ATTENTION) in scsi_report_lun_scan()