• Home
  • Raw
  • Download

Lines Matching full:eh

3  *  libata-eh.c - libata error handling
121 /* The following table determines timeouts to use for EH internal
324 * EH context.
347 * Notify EH that internal command @cmd for @dev timed out. This
352 * EH context.
442 /* doesn't make sense for port-wide EH actions */ in ata_eh_clear_action()
459 * ata_eh_acquire - acquire EH ownership
460 * @ap: ATA port to acquire EH ownership for
462 * Acquire EH ownership for @ap. This is the basic exclusion
464 * the same host can claim the ownership of EH.
467 * EH context.
477 * ata_eh_release - release EH ownership
478 * @ap: ATA port to release EH ownership for
480 * Release EH ownership for @ap if the caller. The caller must
481 * have acquired EH ownership using ata_eh_acquire() previously.
484 * EH context.
575 /* For new EH, all qcs are finished in one of three ways - in ata_scsi_cmd_error_handler()
578 * completion wins, the qc never reaches EH. When error in ata_scsi_cmd_error_handler()
631 /* If we have timed out qcs. They belong to EH from in ata_scsi_cmd_error_handler()
665 /* acquire EH ownership */ in ata_scsi_port_error_handler()
674 /* fetch & clear EH info */ in ata_scsi_port_error_handler()
696 ap->excl_link = NULL; /* don't maintain exclusion over EH */ in ata_scsi_port_error_handler()
700 /* invoke EH, skip if unloading or suspended */ in ata_scsi_port_error_handler()
716 * EH in such case. in ata_scsi_port_error_handler()
726 "EH pending after %d tries, giving up\n", in ata_scsi_port_error_handler()
731 /* this run is complete, make sure EH info is clear */ in ata_scsi_port_error_handler()
735 /* end eh (clear host_eh_scheduled) while holding in ata_scsi_port_error_handler()
737 * point but before EH completion, SCSI midlayer will in ata_scsi_port_error_handler()
738 * re-initiate EH. in ata_scsi_port_error_handler()
761 ata_port_info(ap, "EH complete\n"); in ata_scsi_port_error_handler()
774 * ata_port_wait_eh - Wait for the currently pending EH to complete
775 * @ap: Port to wait EH for
777 * Wait until the currently pending EH is complete.
800 /* make sure SCSI EH is complete */ in ata_port_wait_eh()
868 * is non-zero and EH wasn't pending before. Fast drain ensures
869 * that EH kicks in in timely manner.
903 * Schedule error handling for @qc. EH will kick in as soon as
919 * ata_scsi_error() takes care of such scmds on EH entry. in ata_qc_schedule_eh()
927 * ata_std_sched_eh - non-libsas ata_ports issue eh with this common routine
928 * @ap: ATA port to schedule EH for
943 DPRINTK("port EH scheduled\n"); in ata_std_sched_eh()
948 * ata_std_end_eh - non-libsas ata_ports complete eh with this common routine
949 * @ap: ATA port to end EH for
970 * @ap: ATA port to schedule EH for
972 * Schedule error handling for @ap. EH will kick in as soon as
1014 * Abort all active qc's active on @link and schedule EH.
1032 * Abort all active qc's of @ap and schedule EH.
1104 * ata_eh_freeze_port - EH helper to freeze port
1126 * ata_eh_thaw_port - EH helper to thaw port
1174 * ata_eh_qc_complete - Complete an active ATA command from EH
1178 * completed. To be used from EH.
1188 * ata_eh_qc_retry - Tell midlayer to retry an ATA command after EH
1192 * should be retried. To be used from EH.
1213 * EH context.
1260 /* clear per-dev EH info */ in ata_eh_detach_dev()
1275 * Called just before performing EH actions to clear related bits
1276 * in @link->eh_info such that eh actions are not unnecessarily
1294 /* About to take EH action, set RECOVERED. Ignore actions on in ata_eh_about_to_do()
1304 * ata_eh_done - EH action complete
1305 * @link: ATA link for which EH actions are complete
1309 * Called right after performing EH actions to clear related bits
1370 * EH context (may sleep).
1399 * SENSE. This function is an EH helper.
1450 * SENSE. This function is EH helper.
2007 /* enforce default EH actions */ in ata_eh_link_autopsy()
2016 * perform per-dev EH action only on the offending device. in ata_eh_link_autopsy()
2214 * @link: ATA link EH is going on
2216 * Report EH to user.
2412 * @ap: ATA port to report EH about
2414 * Report EH to user.
2599 /* mark that this EH session started with reset */ in ata_eh_reset()
2790 * repeated EH runs but seems to be a better tradeoff than in ata_eh_reset()
2843 * requirements of ATA_EH_PARK handling. Since the EH thread in ata_eh_pull_park_action()
3098 * EH context (may sleep).
3152 * 0 if EH can continue, -errno if EH needs to be repeated.
3190 * successfully complete a failed command from EH. in ata_eh_maybe_retry_flush()
3225 * EH context.
3468 /* -EAGAIN from EH routine indicates retry without prejudice. in ata_eh_handle_dev_fail()
3591 /* prep for EH */ in ata_eh_recover()
3595 /* skip EH if possible. */ in ata_eh_recover()
3684 /* if PMP got attached, return, pmp EH will take care of it */ in ata_eh_recover()
3762 * ata_eh_finish - finish up EH
3763 * @ap: host port to finish EH for
3765 * Recovery is complete. Clean up EH states and retry or finish
3782 /* FIXME: Once EH migration is complete, in ata_eh_finish()
3801 /* make sure nr_active_links is zero after EH */ in ata_eh_finish()