Home
last modified time | relevance | path

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

/linux-5.19.10/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.c410 struct scsi_sense_hdr *sense_hdr) in alua_check_sense() argument
415 switch (sense_hdr->sense_key) { in alua_check_sense()
417 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense()
431 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense()
440 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense()
445 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense()
450 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense()
457 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense()
464 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense()
469 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-5.19.10/drivers/scsi/
Dst.c328 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()
703 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in write_behind_check()
704 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR)) { in write_behind_check()
800 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush_write_buffer()
801 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) && in st_flush_write_buffer()
987 scode = cmdstatp->sense_hdr.sense_key; in test_ready()
1012 cmdstatp->sense_hdr.asc == 0x3a) /* Check ASC */ in test_ready()
1395 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush()
[all …]
Dst.h14 struct scsi_sense_hdr sense_hdr; member
Dstorvsc_drv.c1048 struct scsi_sense_hdr sense_hdr; in storvsc_command_completion() local
1065 SCSI_SENSE_BUFFERSIZE, &sense_hdr); in storvsc_command_completion()
1069 &sense_hdr); in storvsc_command_completion()
1073 storvsc_handle_error(vm_srb, scmnd, host, sense_hdr.asc, in storvsc_command_completion()
1074 sense_hdr.ascq); in storvsc_command_completion()
Dscsi_ioctl.c880 struct scsi_sense_hdr sense_hdr; in scsi_ioctl() local
933 NORMAL_RETRIES, &sense_hdr); in scsi_ioctl()