Searched refs:sense_hdr (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/scsi/device_handler/ |
D | scsi_dh_rdac.c | 486 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() 662 struct scsi_sense_hdr *sense_hdr) in rdac_check_sense() argument 669 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense() 671 switch (sense_hdr->sense_key) { in rdac_check_sense() 673 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense() [all …]
|
D | scsi_dh_alua.c | 418 struct scsi_sense_hdr *sense_hdr) in alua_check_sense() argument 423 switch (sense_hdr->sense_key) { in alua_check_sense() 425 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense() 439 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense() 448 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense() 453 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense() 458 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense() 465 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense() 472 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense() 477 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) in alua_check_sense() [all …]
|
D | scsi_dh_emc.c | 287 struct scsi_sense_hdr *sense_hdr) in clariion_check_sense() argument 289 switch (sense_hdr->sense_key) { in clariion_check_sense() 291 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense() 308 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense() 322 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
|
/linux-6.6.21/drivers/scsi/ |
D | st.c | 328 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() 417 if (cmdstatp->have_sense && scode == UNIT_ATTENTION && cmdstatp->sense_hdr.asc == 0x29) in st_chk_result() 707 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in write_behind_check() 708 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR)) { in write_behind_check() 804 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush_write_buffer() 805 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) && in st_flush_write_buffer() 991 scode = cmdstatp->sense_hdr.sense_key; in test_ready() 1016 cmdstatp->sense_hdr.asc == 0x3a) /* Check ASC */ in test_ready() [all …]
|
D | st.h | 14 struct scsi_sense_hdr sense_hdr; member
|
D | storvsc_drv.c | 1077 struct scsi_sense_hdr sense_hdr; in storvsc_command_completion() local 1094 SCSI_SENSE_BUFFERSIZE, &sense_hdr); in storvsc_command_completion() 1098 &sense_hdr); in storvsc_command_completion() 1102 storvsc_handle_error(vm_srb, scmnd, host, sense_hdr.asc, in storvsc_command_completion() 1103 sense_hdr.ascq); in storvsc_command_completion()
|
D | scsi_ioctl.c | 867 struct scsi_sense_hdr sense_hdr; in scsi_ioctl() local 920 NORMAL_RETRIES, &sense_hdr); in scsi_ioctl()
|