Home
last modified time | relevance | path

Searched refs:scsi_sense_valid (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/scsi/device_handler/
H A Dscsi_dh_hp_sw.c96 if (scsi_sense_valid(&sshdr)) in hp_sw_tur()
137 if (!scsi_sense_valid(&sshdr)) { in hp_sw_start_stop()
H A Dscsi_dh_emc.c273 if (scsi_sense_valid(&sshdr)) in send_trespass_cmd()
H A Dscsi_dh_alua.c588 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_rtpg()
819 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_stpg()
H A Dscsi_dh_rdac.c491 if (!scsi_sense_valid(sense_hdr)) in mode_select_handle_sense()
/openbmc/linux/include/scsi/
H A Dscsi_common.h74 static inline bool scsi_sense_valid(const struct scsi_sense_hdr *sshdr) in scsi_sense_valid() function
/openbmc/linux/drivers/scsi/
H A Dsr_ioctl.c307 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY in sr_drive_status()
325 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY in sr_drive_status()
340 if (scsi_sense_valid(&sshdr) && in sr_drive_status()
H A Dsd.c195 if (scsi_sense_valid(&sshdr)) in cache_type_store()
1552 if (!scsi_sense_valid(sshdr)) in media_not_present()
1684 scsi_sense_valid(&sshdr)) { in sd_sync_cache()
1785 if (!scsi_sense_valid(sshdr)) in sd_scsi_to_pr_err()
1815 scsi_sense_valid(&sshdr)) { in sd_pr_in_command()
1914 scsi_sense_valid(&sshdr)) { in sd_pr_out_command()
2280 sense_valid = scsi_sense_valid(&sshdr); in sd_spinup_disk()
2481 sense_valid = scsi_sense_valid(&sshdr); in read_capacity_16()
2569 sense_valid = scsi_sense_valid(&sshdr); in read_capacity_10()
2977 if (scsi_sense_valid(&sshdr) && in sd_read_cache_type()
[all …]
H A Dscsi_common.c200 if (!scsi_sense_valid(sshdr)) in scsi_normalize_sense()
H A Dscsi.c586 if (result && scsi_sense_valid(&sshdr) && in scsi_report_opcode()
738 if (scsi_sense_valid(&sshdr)) in scsi_cdl_enable()
H A Dses.c99 } while (ret > 0 && --retries && scsi_sense_valid(&sshdr) && in ses_recv_diag()
143 } while (result > 0 && --retries && scsi_sense_valid(&sshdr) && in ses_send_diag()
H A Dsr.c180 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == UNIT_ATTENTION) in sr_get_events()
256 (scsi_sense_valid(&sshdr) && sshdr.asc != 0x3a); in sr_check_events()
H A Dch.c169 if (scsi_sense_valid(sshdr) && in ch_find_errno()
204 if (scsi_sense_valid(&sshdr)) { in ch_do_scsi()
H A Dscsi_scan.c695 scsi_sense_valid(&sshdr)) { in scsi_probe_lun()
1500 else if (scsi_sense_valid(&sshdr)) { in scsi_report_lun_scan()
H A Dscsi_transport_spi.c129 if (result < 0 || !scsi_sense_valid(sshdr) || in spi_execute()
682 if (result > 0 && scsi_sense_valid(&sshdr) in spi_dv_device_echo_buffer()
H A Dscsi_lib.c2224 if (scsi_sense_valid(sshdr)) { in scsi_mode_sense()
2303 if (sdev->removable && scsi_sense_valid(sshdr) && in scsi_test_unit_ready()
2306 } while (scsi_sense_valid(sshdr) && in scsi_test_unit_ready()
H A Dsd_zbc.c172 if (result > 0 && scsi_sense_valid(&sshdr)) in sd_zbc_do_report_zones()
H A Dscsi_ioctl.c87 if (scsi_sense_valid(&sshdr)) { in ioctl_internal_command()
/openbmc/linux/drivers/ata/
H A Dlibata-scsi.c519 if (scsi_sense_valid(&sshdr)) {/* sense data available */ in ata_cmd_ioctl()
607 if (scsi_sense_valid(&sshdr)) {/* sense data available */ in ata_task_ioctl()
/openbmc/linux/drivers/scsi/cxlflash/
H A Dsuperpipe.c374 if (result > 0 && scsi_sense_valid(&sshdr)) { in read_cap16()
/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c9367 if (scsi_sense_valid(&sshdr)) in ufshcd_set_dev_pwr_mode()