Home
last modified time | relevance | path

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

/Linux-v5.4/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()
660 struct scsi_sense_hdr *sense_hdr) in rdac_check_sense() argument
667 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense()
669 switch (sense_hdr->sense_key) { in rdac_check_sense()
671 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense()
[all …]
Dscsi_dh_alua.c409 struct scsi_sense_hdr *sense_hdr) in alua_check_sense() argument
411 switch (sense_hdr->sense_key) { in alua_check_sense()
413 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense()
422 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense()
431 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense()
436 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense()
441 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense()
448 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense()
455 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense()
460 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) in alua_check_sense()
[all …]
Dscsi_dh_emc.c284 struct scsi_sense_hdr *sense_hdr) in clariion_check_sense() argument
286 switch (sense_hdr->sense_key) { in clariion_check_sense()
288 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense()
305 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense()
319 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
/Linux-v5.4/drivers/scsi/
Dscsi_ioctl.c205 struct scsi_sense_hdr sense_hdr; in scsi_ioctl() local
250 NORMAL_RETRIES, &sense_hdr); in scsi_ioctl()
Dstorvsc_drv.c1005 struct scsi_sense_hdr sense_hdr; in storvsc_command_completion() local
1021 SCSI_SENSE_BUFFERSIZE, &sense_hdr) && in storvsc_command_completion()
1022 !(sense_hdr.sense_key == NOT_READY && in storvsc_command_completion()
1023 sense_hdr.asc == 0x03A) && in storvsc_command_completion()
1026 &sense_hdr); in storvsc_command_completion()
1030 storvsc_handle_error(vm_srb, scmnd, host, sense_hdr.asc, in storvsc_command_completion()
1031 sense_hdr.ascq); in storvsc_command_completion()
Dst.c330 SCSI_SENSE_BUFFERSIZE, &s->sense_hdr); in st_analyze_sense()
374 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result()
417 cmdstatp->sense_hdr.asc == 0 && cmdstatp->sense_hdr.ascq == 0x17) in st_chk_result()
704 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in write_behind_check()
705 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR)) { in write_behind_check()
801 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush_write_buffer()
802 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) && in st_flush_write_buffer()
988 scode = cmdstatp->sense_hdr.sense_key; in test_ready()
1013 cmdstatp->sense_hdr.asc == 0x3a) /* Check ASC */ in test_ready()
1396 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush()
[all …]
Dst.h14 struct scsi_sense_hdr sense_hdr; member