Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/device_handler/
Dscsi_dh_hp_sw.c93 if (scsi_sense_valid(&sshdr)) in hp_sw_tur()
131 if (!scsi_sense_valid(&sshdr)) { in hp_sw_start_stop()
Dscsi_dh_emc.c270 if (scsi_sense_valid(&sshdr)) in send_trespass_cmd()
Dscsi_dh_alua.c567 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_rtpg()
798 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_stpg()
Dscsi_dh_rdac.c491 if (!scsi_sense_valid(sense_hdr)) in mode_select_handle_sense()
/Linux-v5.15/include/scsi/
Dscsi_common.h61 static inline bool scsi_sense_valid(const struct scsi_sense_hdr *sshdr) in scsi_sense_valid() function
/Linux-v5.15/drivers/scsi/
Dsr_ioctl.c298 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY in sr_drive_status()
316 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == NOT_READY in sr_drive_status()
331 if (scsi_sense_valid(&sshdr) && in sr_drive_status()
Dsd.c214 if (scsi_sense_valid(&sshdr)) in cache_type_store()
1593 if (!scsi_sense_valid(sshdr)) in media_not_present()
1723 scsi_sense_valid(sshdr)) { in sd_sync_cache()
1802 scsi_sense_valid(&sshdr)) { in sd_pr_command()
2149 sense_valid = scsi_sense_valid(&sshdr); in sd_spinup_disk()
2342 sense_valid = scsi_sense_valid(&sshdr); in read_capacity_16()
2427 sense_valid = scsi_sense_valid(&sshdr); in read_capacity_10()
2828 if (scsi_sense_valid(&sshdr) && in sd_read_cache_type()
2876 if (scsi_sense_valid(&sshdr)) in sd_read_app_tag_own()
3572 if (res > 0 && scsi_sense_valid(&sshdr)) { in sd_start_stop_device()
[all …]
Dscsi_common.c157 if (!scsi_sense_valid(sshdr)) in scsi_normalize_sense()
Dses.c96 } while (ret > 0 && --retries && scsi_sense_valid(&sshdr) && in ses_recv_diag()
137 } while (result > 0 && --retries && scsi_sense_valid(&sshdr) && in ses_send_diag()
Dsr.c215 if (scsi_sense_valid(&sshdr) && sshdr.sense_key == UNIT_ATTENTION) in sr_get_events()
291 (scsi_sense_valid(&sshdr) && sshdr.asc != 0x3a); in sr_check_events()
Dch.c169 if (scsi_sense_valid(sshdr) && in ch_find_errno()
203 if (scsi_sense_valid(&sshdr)) { in ch_do_scsi()
Dscsi.c506 if (result && scsi_sense_valid(&sshdr) && in scsi_report_opcode()
Dscsi_scan.c634 scsi_sense_valid(&sshdr)) { in scsi_probe_lun()
1414 else if (scsi_sense_valid(&sshdr)) { in scsi_report_lun_scan()
Dsd_zbc.c119 if (result > 0 && scsi_sense_valid(&sshdr)) in sd_zbc_do_report_zones()
Dscsi_transport_spi.c130 if (result < 0 || !scsi_sense_valid(sshdr) || in spi_execute()
683 if (scsi_sense_valid(&sshdr) in spi_dv_device_echo_buffer()
Dscsi_lib.c2144 if (scsi_sense_valid(sshdr)) { in scsi_mode_sense()
2215 if (sdev->removable && scsi_sense_valid(sshdr) && in scsi_test_unit_ready()
2218 } while (scsi_sense_valid(sshdr) && in scsi_test_unit_ready()
Dscsi_ioctl.c84 if (scsi_sense_valid(&sshdr)) { in ioctl_internal_command()
/Linux-v5.15/drivers/ata/
Dlibata-scsi.c414 if (scsi_sense_valid(&sshdr)) {/* sense data available */ in ata_cmd_ioctl()
498 if (scsi_sense_valid(&sshdr)) {/* sense data available */ in ata_task_ioctl()
/Linux-v5.15/drivers/scsi/cxlflash/
Dsuperpipe.c372 if (result > 0 && scsi_sense_valid(&sshdr)) { in read_cap16()
/Linux-v5.15/drivers/scsi/ufs/
Dufshcd.c8644 if (ret > 0 && scsi_sense_valid(&sshdr)) in ufshcd_set_dev_pwr_mode()