Home
last modified time | relevance | path

Searched refs:host_failed (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/Documentation/scsi/
Dscsi_eh.rst135 3. Increments shost->host_failed
137 4. Wakes up SCSI EH thread if shost->host_busy == shost->host_failed
147 shost->host_failed. This wakes up SCSI EH thread. So, once woken up,
263 - shost->host_failed++
298 - zero shost->host_failed
470 - shost->host_failed == shost->host_busy
478 - shost->host_failed is zero.
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_error.c70 if (busy == shost->host_failed) { in scsi_eh_wakeup()
247 shost->host_failed++; in scsi_eh_inc_host_failed()
2198 if ((shost->host_failed == 0 && shost->host_eh_scheduled == 0) || in scsi_error_handler()
2199 shost->host_failed != scsi_host_busy(shost)) { in scsi_error_handler()
2213 shost->host_failed, in scsi_error_handler()
2235 shost->host_failed = 0; in scsi_error_handler()
Dscsi.c153 cmd->device->host->host_failed); in scsi_log_completion()
Dscsi_lib.c314 if (shost->host_failed || shost->host_eh_scheduled) in scsi_dec_host_busy()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_host.h556 unsigned int host_failed; /* commands that failed. member
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_scsi_host.c738 __func__, scsi_host_busy(shost), shost->host_failed); in sas_scsi_recover_host()
781 shost->host_failed, tries); in sas_scsi_recover_host()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch31 + } else if ((shost->host_failed > 0) || (sg_io_buffer_hack != NULL)) {
44 + * Do not go to sleep, when there is host_failed when the
49 if ((shost->host_failed == 0 && shost->host_eh_scheduled == 0) ||
50 - shost->host_failed != scsi_host_busy(shost)) {
51 + ((shost->host_failed != scsi_host_busy(shost)) &&
52 + (sg_io_buffer_hack == NULL) && (shost->host_failed > 0))) {