Lines Matching refs:dpc_flags

884 	if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)) ||  in qla2xxx_queuecommand()
1110 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
1111 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1112 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1197 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready()
1198 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) { in qla2x00_wait_for_hba_ready()
1199 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_wait_for_hba_ready()
1214 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
1215 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1216 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1221 if (!test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_wait_for_chip_reset()
1712 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1714 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1716 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1724 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1809 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_abort_srb()
1893 vha->dpc_flags); in __qla2x00_abort_all_cmds()
2828 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2xxx_scan_start()
2829 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2xxx_scan_start()
2830 set_bit(RSCN_UPDATE, &vha->dpc_flags); in qla2xxx_scan_start()
2831 set_bit(NPIV_CONFIG_NEEDED, &vha->dpc_flags); in qla2xxx_scan_start()
2839 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2xxx_scan_finished()
2868 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_iocb_work_fn()
2877 clear_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags); in qla2x00_iocb_work_fn()
3622 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_probe_one()
3905 if (test_and_set_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_remove_one()
4103 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_mark_device_lost()
5139 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_alloc_work()
5166 if (!test_and_set_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags)) in qla2x00_post_work()
5610 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_post_relogin_work()
5667 &vha->dpc_flags); in qla2x00_relogin()
5683 if (test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) in qla2x00_relogin()
5688 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_relogin()
6830 if (test_and_set_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_disable_board_on_pci_error()
6911 if (test_and_clear_bit(DO_EEH_RECOVERY, &base_vha->dpc_flags)) in qla2x00_do_dpc()
6927 base_vha->dpc_flags); in qla2x00_do_dpc()
6929 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_do_dpc()
6935 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6949 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6962 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6967 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
6973 &base_vha->dpc_flags); in qla2x00_do_dpc()
6976 &base_vha->dpc_flags); in qla2x00_do_dpc()
6984 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6990 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6992 &base_vha->dpc_flags); in qla2x00_do_dpc()
7001 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7006 &base_vha->dpc_flags)) in qla2x00_do_dpc()
7008 &base_vha->dpc_flags); in qla2x00_do_dpc()
7016 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7026 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7037 (ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
7038 !test_bit(UNLOADING, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7059 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
7066 &base_vha->dpc_flags); in qla2x00_do_dpc()
7069 &base_vha->dpc_flags); in qla2x00_do_dpc()
7075 if (test_bit(PROCESS_PUREX_IOCB, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7080 &base_vha->dpc_flags); in qla2x00_do_dpc()
7087 if (test_bit(ISP_QUIESCE_NEEDED, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7096 &base_vha->dpc_flags); in qla2x00_do_dpc()
7113 &base_vha->dpc_flags); in qla2x00_do_dpc()
7121 &base_vha->dpc_flags) && in qla2x00_do_dpc()
7122 (!(test_and_set_bit(RESET_ACTIVE, &base_vha->dpc_flags)))) { in qla2x00_do_dpc()
7127 clear_bit(RESET_ACTIVE, &base_vha->dpc_flags); in qla2x00_do_dpc()
7133 if (test_bit(RELOGIN_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
7134 !test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
7140 clear_bit(RELOGIN_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
7150 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7158 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
7163 &base_vha->dpc_flags); in qla2x00_do_dpc()
7173 if (test_bit(NPIV_CONFIG_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
7175 clear_bit(NPIV_CONFIG_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
7184 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7191 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7206 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7226 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7256 if (!test_bit(UNLOADING, &vha->dpc_flags) && t) in qla2xxx_wake_dpc()
7272 !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags))) { in qla2x00_rst_aen()
7274 clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_rst_aen()
7282 (test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags))); in qla2x00_rst_aen()
7427 if (test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) in qla2x00_timer()
7450 !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) && in qla2x00_timer()
7451 !(test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags)) in qla2x00_timer()
7490 &vha->dpc_flags); in qla2x00_timer()
7493 &vha->dpc_flags); in qla2x00_timer()
7510 &vha->dpc_flags); in qla2x00_timer()
7513 &vha->dpc_flags); in qla2x00_timer()
7524 set_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7539 if (!test_and_set_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags)) in qla2x00_timer()
7559 set_bit(SET_ZIO_THRESHOLD_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7570 set_bit(SET_ZIO_THRESHOLD_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7578 if ((test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7579 test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7581 test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7582 test_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7583 test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) || in qla2x00_timer()
7584 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7585 test_bit(VP_DPC_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7586 test_bit(RELOGIN_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7587 test_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags))) { in qla2x00_timer()
7591 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7592 test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7593 start_dpc, test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags)); in qla2x00_timer()
7598 test_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7599 test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags), in qla2x00_timer()
7600 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7601 test_bit(VP_DPC_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7602 test_bit(RELOGIN_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7603 test_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags)); in qla2x00_timer()
7808 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
7821 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
7933 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_pci_slot_reset()
7935 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_pci_slot_reset()
8010 set_bit(DO_EEH_RECOVERY, &base_vha->dpc_flags); in qla_schedule_eeh_work()
8036 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla_pci_reset_prepare()
8062 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla_pci_reset_done()