Lines Matching refs:dpc_flags

855 	if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)) ||  in qla2xxx_queuecommand()
1118 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
1119 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1120 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1205 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready()
1206 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) { in qla2x00_wait_for_hba_ready()
1207 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_wait_for_hba_ready()
1222 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
1223 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1224 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1229 if (!test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_wait_for_chip_reset()
1684 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1686 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1688 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1696 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1781 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_abort_srb()
1851 vha->dpc_flags); in __qla2x00_abort_all_cmds()
2789 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2xxx_scan_start()
2790 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2xxx_scan_start()
2791 set_bit(RSCN_UPDATE, &vha->dpc_flags); in qla2xxx_scan_start()
2792 set_bit(NPIV_CONFIG_NEEDED, &vha->dpc_flags); in qla2xxx_scan_start()
2800 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2xxx_scan_finished()
2829 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_iocb_work_fn()
2838 clear_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags); in qla2x00_iocb_work_fn()
3555 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_probe_one()
3837 if (test_and_set_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_remove_one()
4037 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_mark_device_lost()
5044 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_alloc_work()
5072 if (!test_and_set_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags)) in qla2x00_post_work()
5526 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_post_relogin_work()
5583 &vha->dpc_flags); in qla2x00_relogin()
5599 if (test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) in qla2x00_relogin()
5604 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_relogin()
6746 if (test_and_set_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_disable_board_on_pci_error()
6828 if (test_and_clear_bit(DO_EEH_RECOVERY, &base_vha->dpc_flags)) in qla2x00_do_dpc()
6844 base_vha->dpc_flags); in qla2x00_do_dpc()
6846 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_do_dpc()
6852 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6866 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6879 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6884 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
6890 &base_vha->dpc_flags); in qla2x00_do_dpc()
6893 &base_vha->dpc_flags); in qla2x00_do_dpc()
6901 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6907 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6909 &base_vha->dpc_flags); in qla2x00_do_dpc()
6918 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6923 &base_vha->dpc_flags)) in qla2x00_do_dpc()
6925 &base_vha->dpc_flags); in qla2x00_do_dpc()
6933 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6943 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6954 (ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6955 !test_bit(UNLOADING, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6976 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
6983 &base_vha->dpc_flags); in qla2x00_do_dpc()
6986 &base_vha->dpc_flags); in qla2x00_do_dpc()
6992 if (test_bit(PROCESS_PUREX_IOCB, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6997 &base_vha->dpc_flags); in qla2x00_do_dpc()
7002 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7009 if (test_bit(ISP_QUIESCE_NEEDED, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7018 &base_vha->dpc_flags); in qla2x00_do_dpc()
7035 &base_vha->dpc_flags); in qla2x00_do_dpc()
7043 &base_vha->dpc_flags) && in qla2x00_do_dpc()
7044 (!(test_and_set_bit(RESET_ACTIVE, &base_vha->dpc_flags)))) { in qla2x00_do_dpc()
7049 clear_bit(RESET_ACTIVE, &base_vha->dpc_flags); in qla2x00_do_dpc()
7055 if (test_bit(RELOGIN_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
7056 !test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
7062 clear_bit(RELOGIN_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
7071 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7077 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
7082 &base_vha->dpc_flags); in qla2x00_do_dpc()
7092 if (test_bit(NPIV_CONFIG_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
7094 clear_bit(NPIV_CONFIG_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
7103 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7110 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7125 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7145 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7175 if (!test_bit(UNLOADING, &vha->dpc_flags) && t) in qla2xxx_wake_dpc()
7191 !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags))) { in qla2x00_rst_aen()
7193 clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_rst_aen()
7201 (test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags))); in qla2x00_rst_aen()
7346 if (test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) in qla2x00_timer()
7369 !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) && in qla2x00_timer()
7370 !(test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags)) in qla2x00_timer()
7409 &vha->dpc_flags); in qla2x00_timer()
7412 &vha->dpc_flags); in qla2x00_timer()
7429 &vha->dpc_flags); in qla2x00_timer()
7432 &vha->dpc_flags); in qla2x00_timer()
7443 set_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7458 if (!test_and_set_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags)) in qla2x00_timer()
7478 set_bit(SET_ZIO_THRESHOLD_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7489 set_bit(SET_ZIO_THRESHOLD_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7496 if ((test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7497 test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7498 test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7500 test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7501 test_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7502 test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) || in qla2x00_timer()
7503 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7504 test_bit(VP_DPC_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7505 test_bit(RELOGIN_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7506 test_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags))) { in qla2x00_timer()
7511 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7512 test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7513 test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7515 test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags)); in qla2x00_timer()
7520 test_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7521 test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags), in qla2x00_timer()
7522 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7523 test_bit(VP_DPC_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7524 test_bit(RELOGIN_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7525 test_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags)); in qla2x00_timer()
7730 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
7743 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
7855 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_pci_slot_reset()
7857 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_pci_slot_reset()
7932 set_bit(DO_EEH_RECOVERY, &base_vha->dpc_flags); in qla_schedule_eeh_work()
7958 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla_pci_reset_prepare()
7984 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla_pci_reset_done()