Searched refs:scsi_sense_valid (Results 1 – 20 of 20) sorted by relevance
96 if (scsi_sense_valid(&sshdr)) in hp_sw_tur()137 if (!scsi_sense_valid(&sshdr)) { in hp_sw_start_stop()
273 if (scsi_sense_valid(&sshdr)) in send_trespass_cmd()
588 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_rtpg()819 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_stpg()
491 if (!scsi_sense_valid(sense_hdr)) in mode_select_handle_sense()
74 static inline bool scsi_sense_valid(const struct scsi_sense_hdr *sshdr) in scsi_sense_valid() function
307 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()
195 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 …]
200 if (!scsi_sense_valid(sshdr)) in scsi_normalize_sense()
586 if (result && scsi_sense_valid(&sshdr) && in scsi_report_opcode()738 if (scsi_sense_valid(&sshdr)) in scsi_cdl_enable()
99 } 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()
180 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()
169 if (scsi_sense_valid(sshdr) && in ch_find_errno()204 if (scsi_sense_valid(&sshdr)) { in ch_do_scsi()
695 scsi_sense_valid(&sshdr)) { in scsi_probe_lun()1500 else if (scsi_sense_valid(&sshdr)) { in scsi_report_lun_scan()
129 if (result < 0 || !scsi_sense_valid(sshdr) || in spi_execute()682 if (result > 0 && scsi_sense_valid(&sshdr) in spi_dv_device_echo_buffer()
2224 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()
172 if (result > 0 && scsi_sense_valid(&sshdr)) in sd_zbc_do_report_zones()
87 if (scsi_sense_valid(&sshdr)) { in ioctl_internal_command()
519 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()
374 if (result > 0 && scsi_sense_valid(&sshdr)) { in read_cap16()
9367 if (scsi_sense_valid(&sshdr)) in ufshcd_set_dev_pwr_mode()