Home
last modified time | relevance | path

Searched refs:eh_work_q (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/Documentation/scsi/
H A Dscsi_eh.rst231 scmds are removed from eh_work_q.
244 When a scmd is recovered, the scmd is moved from eh_work_q to EH
281 - move from local eh_work_q to local eh_done_q
285 :CONCURRENCY: at most one thread per separate eh_work_q to
292 a no more than one thread per separate eh_work_q to
350 3. If !list_empty(&eh_work_q), invoke scsi_eh_abort_cmds().
362 the scmd. Otherwise, the scmd is left in eh_work_q for
374 4. If !list_empty(&eh_work_q), invoke scsi_eh_ready_devs()
414 3. If !list_empty(&eh_work_q), invoke scsi_eh_bus_reset()
423 4. If !list_empty(&eh_work_q), invoke scsi_eh_host_reset()
[all …]
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_scsi_host.c693 LIST_HEAD(eh_work_q); in sas_scsi_recover_host()
701 list_splice_init(&shost->eh_cmd_q, &eh_work_q); in sas_scsi_recover_host()
712 sas_eh_handle_sas_errors(shost, &eh_work_q); in sas_scsi_recover_host()
714 if (list_empty(&eh_work_q)) in sas_scsi_recover_host()
723 sas_ata_eh(shost, &eh_work_q); in sas_scsi_recover_host()
724 if (!scsi_eh_get_sense(&eh_work_q, &ha->eh_done_q)) in sas_scsi_recover_host()
725 scsi_eh_ready_devs(shost, &eh_work_q, &ha->eh_done_q); in sas_scsi_recover_host()
/openbmc/linux/drivers/scsi/
H A Dscsi_error.c2257 LIST_HEAD(eh_work_q); in scsi_unjam_host()
2261 list_splice_init(&shost->eh_cmd_q, &eh_work_q); in scsi_unjam_host()
2264 SCSI_LOG_ERROR_RECOVERY(1, scsi_eh_prt_fail_stats(shost, &eh_work_q)); in scsi_unjam_host()
2266 if (!scsi_eh_get_sense(&eh_work_q, &eh_done_q)) in scsi_unjam_host()
2267 scsi_eh_ready_devs(shost, &eh_work_q, &eh_done_q); in scsi_unjam_host()
/openbmc/linux/drivers/ata/
H A Dlibata-eh.c550 LIST_HEAD(eh_work_q); in ata_scsi_error()
553 list_splice_init(&host->eh_cmd_q, &eh_work_q); in ata_scsi_error()
556 ata_scsi_cmd_error_handler(host, ap, &eh_work_q); in ata_scsi_error()
563 WARN_ON(!list_empty(&eh_work_q)); in ata_scsi_error()
578 struct list_head *eh_work_q) in ata_scsi_cmd_error_handler() argument
618 list_for_each_entry_safe(scmd, tmp, eh_work_q, eh_entry) { in ata_scsi_cmd_error_handler()