Home
last modified time | relevance | path

Searched refs:sense_hdr (Results 1 – 9 of 9) sorted by relevance

/drivers/scsi/device_handler/
Dscsi_dh_rdac.c486 struct scsi_sense_hdr *sense_hdr) in mode_select_handle_sense() argument
491 if (!scsi_sense_valid(sense_hdr)) in mode_select_handle_sense()
494 switch (sense_hdr->sense_key) { in mode_select_handle_sense()
501 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in mode_select_handle_sense()
508 if (sense_hdr->asc == 0x91 && sense_hdr->ascq == 0x36) in mode_select_handle_sense()
521 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in mode_select_handle_sense()
661 struct scsi_sense_hdr *sense_hdr) in rdac_check_sense() argument
668 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense()
670 switch (sense_hdr->sense_key) { in rdac_check_sense()
672 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense()
[all …]
Dscsi_dh_alua.c420 struct scsi_sense_hdr *sense_hdr) in alua_check_sense() argument
422 switch (sense_hdr->sense_key) { in alua_check_sense()
424 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense()
433 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense()
442 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense()
447 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense()
452 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense()
459 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense()
466 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense()
471 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) in alua_check_sense()
[all …]
Dscsi_dh_emc.c297 struct scsi_sense_hdr *sense_hdr) in clariion_check_sense() argument
299 switch (sense_hdr->sense_key) { in clariion_check_sense()
301 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense()
318 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense()
332 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
/drivers/scsi/
Dscsi_ioctl.c204 struct scsi_sense_hdr sense_hdr; in scsi_ioctl() local
249 NORMAL_RETRIES, &sense_hdr); in scsi_ioctl()
Dstorvsc_drv.c1009 struct scsi_sense_hdr sense_hdr; in storvsc_command_completion() local
1025 SCSI_SENSE_BUFFERSIZE, &sense_hdr) && in storvsc_command_completion()
1026 !(sense_hdr.sense_key == NOT_READY && in storvsc_command_completion()
1027 sense_hdr.asc == 0x03A) && in storvsc_command_completion()
1030 &sense_hdr); in storvsc_command_completion()
1034 storvsc_handle_error(vm_srb, scmnd, host, sense_hdr.asc, in storvsc_command_completion()
1035 sense_hdr.ascq); in storvsc_command_completion()
Dst.c330 SCSI_SENSE_BUFFERSIZE, &s->sense_hdr); in st_analyze_sense()
372 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result()
415 cmdstatp->sense_hdr.asc == 0 && cmdstatp->sense_hdr.ascq == 0x17) in st_chk_result()
702 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in write_behind_check()
703 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR)) { in write_behind_check()
799 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush_write_buffer()
800 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) && in st_flush_write_buffer()
989 scode = cmdstatp->sense_hdr.sense_key; in test_ready()
1014 cmdstatp->sense_hdr.asc == 0x3a) /* Check ASC */ in test_ready()
1397 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush()
[all …]
Dst.h14 struct scsi_sense_hdr sense_hdr; member
Dosst.c209 SCSI_SENSE_BUFFERSIZE, &s->sense_hdr); in osst_analyze_sense()
252 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in osst_chk_result()
/drivers/scsi/osd/
Dosd_uld.c375 struct scsi_sense_hdr sense_hdr; in __detect_osd() local
384 error = scsi_test_unit_ready(scsi_device, 10*HZ, 5, &sense_hdr); in __detect_osd()