Searched refs:scsi_sense_valid (Results 1 – 20 of 20) sorted by relevance
93 if (scsi_sense_valid(&sshdr)) in hp_sw_tur()131 if (!scsi_sense_valid(&sshdr)) { in hp_sw_start_stop()
270 if (scsi_sense_valid(&sshdr)) in send_trespass_cmd()
567 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_rtpg()798 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_stpg()
491 if (!scsi_sense_valid(sense_hdr)) in mode_select_handle_sense()
61 static inline bool scsi_sense_valid(const struct scsi_sense_hdr *sshdr) in scsi_sense_valid() function
298 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()
214 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 …]
157 if (!scsi_sense_valid(sshdr)) in scsi_normalize_sense()
96 } 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()
215 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()
169 if (scsi_sense_valid(sshdr) && in ch_find_errno()203 if (scsi_sense_valid(&sshdr)) { in ch_do_scsi()
506 if (result && scsi_sense_valid(&sshdr) && in scsi_report_opcode()
634 scsi_sense_valid(&sshdr)) { in scsi_probe_lun()1414 else if (scsi_sense_valid(&sshdr)) { in scsi_report_lun_scan()
119 if (result > 0 && scsi_sense_valid(&sshdr)) in sd_zbc_do_report_zones()
130 if (result < 0 || !scsi_sense_valid(sshdr) || in spi_execute()683 if (scsi_sense_valid(&sshdr) in spi_dv_device_echo_buffer()
2144 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()
84 if (scsi_sense_valid(&sshdr)) { in ioctl_internal_command()
414 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()
372 if (result > 0 && scsi_sense_valid(&sshdr)) { in read_cap16()
8644 if (ret > 0 && scsi_sense_valid(&sshdr)) in ufshcd_set_dev_pwr_mode()