• Home
  • Raw
  • Download

Lines Matching refs:pflags

260 	WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING));  in ata_port_desc()
573 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
574 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
756 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
757 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
763 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
767 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
768 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
782 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
790 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
816 if (ap->pflags & ATA_PFLAG_LOADING) in ata_scsi_port_error_handler()
817 ap->pflags &= ~ATA_PFLAG_LOADING; in ata_scsi_port_error_handler()
818 else if (ap->pflags & ATA_PFLAG_SCSI_HOTPLUG) in ata_scsi_port_error_handler()
821 if (ap->pflags & ATA_PFLAG_RECOVERED) in ata_scsi_port_error_handler()
824 ap->pflags &= ~(ATA_PFLAG_SCSI_HOTPLUG | ATA_PFLAG_RECOVERED); in ata_scsi_port_error_handler()
827 ap->pflags &= ~ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
851 while (ap->pflags & (ATA_PFLAG_EH_PENDING | ATA_PFLAG_EH_IN_PROGRESS)) { in ata_port_wait_eh()
938 if (ap->pflags & ATA_PFLAG_EH_PENDING) in ata_eh_set_pending()
941 ap->pflags |= ATA_PFLAG_EH_PENDING; in ata_eh_set_pending()
1000 if (ap->pflags & ATA_PFLAG_INITIALIZING) in ata_std_sched_eh()
1131 ap->pflags |= ATA_PFLAG_FROZEN; in __ata_port_freeze()
1274 ap->pflags &= ~ATA_PFLAG_FROZEN; in ata_eh_thaw_port()
1387 ap->pflags |= ATA_PFLAG_SCSI_HOTPLUG; in ata_eh_detach_dev()
1428 ap->pflags |= ATA_PFLAG_RECOVERED; in ata_eh_about_to_do()
1593 if (qc->ap->pflags & ATA_PFLAG_FROZEN) { in ata_eh_request_sense()
1749 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_analyze_ncq_error()
1856 if (!(qc->ap->pflags & ATA_PFLAG_FROZEN)) { in ata_eh_analyze_tf()
2243 if (ap->pflags & ATA_PFLAG_FROZEN || in ata_eh_link_autopsy()
2488 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_link_report()
2730 ap->pflags |= ATA_PFLAG_RESETTING; in ata_eh_reset()
2813 if ((ap->pflags & ATA_PFLAG_FROZEN) && in ata_eh_reset()
2953 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_eh_reset()
2956 if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_reset()
3018 ap->pflags &= ~ATA_PFLAG_RESETTING; in ata_eh_reset()
3265 ap->pflags |= ATA_PFLAG_SCSI_HOTPLUG; in ata_eh_revalidate_and_attach()
3449 if (!(ap->pflags & ATA_PFLAG_FROZEN)) in ata_eh_maybe_retry_flush()
3625 if ((ap->pflags & ATA_PFLAG_FROZEN) || ata_link_nr_enabled(link)) in ata_eh_skip_recovery()
3828 if (ap->pflags & ATA_PFLAG_UNLOADING) in ata_eh_recover()
3980 if (ap->pflags & ATA_PFLAG_FROZEN) { in ata_eh_recover()
4120 if (!(ap->pflags & ATA_PFLAG_PM_PENDING) || in ata_eh_handle_port_suspend()
4127 WARN_ON(ap->pflags & ATA_PFLAG_SUSPENDED); in ata_eh_handle_port_suspend()
4157 ap->pflags &= ~ATA_PFLAG_PM_PENDING; in ata_eh_handle_port_suspend()
4159 ap->pflags |= ATA_PFLAG_SUSPENDED; in ata_eh_handle_port_suspend()
4160 else if (ap->pflags & ATA_PFLAG_FROZEN) in ata_eh_handle_port_suspend()
4185 if (!(ap->pflags & ATA_PFLAG_PM_PENDING) || in ata_eh_handle_port_resume()
4192 WARN_ON(!(ap->pflags & ATA_PFLAG_SUSPENDED)); in ata_eh_handle_port_resume()
4215 ap->pflags &= ~(ATA_PFLAG_PM_PENDING | ATA_PFLAG_SUSPENDED); in ata_eh_handle_port_resume()