Lines Matching refs:dpc_flags

831 	if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)) ||  in qla2xxx_queuecommand()
1086 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
1087 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1088 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1157 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready()
1158 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) { in qla2x00_wait_for_hba_ready()
1159 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_wait_for_hba_ready()
1174 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
1175 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1176 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1181 if (!test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_wait_for_chip_reset()
1607 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1609 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1611 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1619 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1704 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_abort_srb()
1774 vha->dpc_flags); in __qla2x00_abort_all_cmds()
2712 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2xxx_scan_start()
2713 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2xxx_scan_start()
2714 set_bit(RSCN_UPDATE, &vha->dpc_flags); in qla2xxx_scan_start()
2715 set_bit(NPIV_CONFIG_NEEDED, &vha->dpc_flags); in qla2xxx_scan_start()
2723 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2xxx_scan_finished()
2742 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_iocb_work_fn()
2751 clear_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags); in qla2x00_iocb_work_fn()
3448 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_probe_one()
3728 if (test_and_set_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_remove_one()
3922 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_mark_device_lost()
4884 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_alloc_work()
4912 if (!test_and_set_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags)) in qla2x00_post_work()
5357 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_post_relogin_work()
5413 &vha->dpc_flags); in qla2x00_relogin()
5429 if (test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) in qla2x00_relogin()
5434 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_relogin()
6581 if (test_and_set_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_disable_board_on_pci_error()
6676 base_vha->dpc_flags); in qla2x00_do_dpc()
6678 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_do_dpc()
6684 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6698 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6711 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6716 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
6722 &base_vha->dpc_flags); in qla2x00_do_dpc()
6725 &base_vha->dpc_flags); in qla2x00_do_dpc()
6733 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6739 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6741 &base_vha->dpc_flags); in qla2x00_do_dpc()
6750 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6755 &base_vha->dpc_flags)) in qla2x00_do_dpc()
6757 &base_vha->dpc_flags); in qla2x00_do_dpc()
6765 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6775 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6786 (ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6787 !test_bit(UNLOADING, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6808 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
6815 &base_vha->dpc_flags); in qla2x00_do_dpc()
6818 &base_vha->dpc_flags); in qla2x00_do_dpc()
6824 if (test_bit(PROCESS_PUREX_IOCB, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6829 &base_vha->dpc_flags); in qla2x00_do_dpc()
6834 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6841 if (test_bit(ISP_QUIESCE_NEEDED, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6850 &base_vha->dpc_flags); in qla2x00_do_dpc()
6867 &base_vha->dpc_flags); in qla2x00_do_dpc()
6875 &base_vha->dpc_flags) && in qla2x00_do_dpc()
6876 (!(test_and_set_bit(RESET_ACTIVE, &base_vha->dpc_flags)))) { in qla2x00_do_dpc()
6881 clear_bit(RESET_ACTIVE, &base_vha->dpc_flags); in qla2x00_do_dpc()
6887 if (test_bit(RELOGIN_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6888 !test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6894 clear_bit(RELOGIN_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
6903 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6909 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
6914 &base_vha->dpc_flags); in qla2x00_do_dpc()
6924 if (test_bit(NPIV_CONFIG_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6926 clear_bit(NPIV_CONFIG_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
6935 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6942 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6957 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6970 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6982 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
7012 if (!test_bit(UNLOADING, &vha->dpc_flags) && t) in qla2xxx_wake_dpc()
7028 !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags))) { in qla2x00_rst_aen()
7030 clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_rst_aen()
7038 (test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags))); in qla2x00_rst_aen()
7081 if (test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) in qla2x00_timer()
7094 !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) && in qla2x00_timer()
7095 !(test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags)) in qla2x00_timer()
7134 &vha->dpc_flags); in qla2x00_timer()
7137 &vha->dpc_flags); in qla2x00_timer()
7154 &vha->dpc_flags); in qla2x00_timer()
7157 &vha->dpc_flags); in qla2x00_timer()
7168 set_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7179 if (!test_and_set_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags)) in qla2x00_timer()
7200 set_bit(SET_NVME_ZIO_THRESHOLD_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7211 set_bit(SET_ZIO_THRESHOLD_NEEDED, &vha->dpc_flags); in qla2x00_timer()
7216 if ((test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7217 test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7218 test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7220 test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7221 test_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7222 test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) || in qla2x00_timer()
7223 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7224 test_bit(VP_DPC_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7225 test_bit(RELOGIN_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
7226 test_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags))) { in qla2x00_timer()
7231 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7232 test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7233 test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7235 test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags)); in qla2x00_timer()
7240 test_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7241 test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags), in qla2x00_timer()
7242 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7243 test_bit(VP_DPC_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7244 test_bit(RELOGIN_NEEDED, &vha->dpc_flags), in qla2x00_timer()
7245 test_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags)); in qla2x00_timer()
7454 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
7466 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
7560 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_pci_slot_reset()
7563 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_pci_slot_reset()
7614 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla_pci_reset_prepare()
7640 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla_pci_reset_done()