Lines Matching refs:dpc_flags

850 	if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags))) {  in qla2xxx_queuecommand()
1116 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
1117 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1118 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1179 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready()
1180 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) { in qla2x00_wait_for_hba_ready()
1181 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_wait_for_hba_ready()
1196 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
1197 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1198 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1203 if (!test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_wait_for_chip_reset()
1625 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1627 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1629 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1637 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
1746 &vha->dpc_flags)) && in __qla2x00_abort_all_cmds()
1787 vha->dpc_flags); in __qla2x00_abort_all_cmds()
2684 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2xxx_scan_start()
2685 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2xxx_scan_start()
2686 set_bit(RSCN_UPDATE, &vha->dpc_flags); in qla2xxx_scan_start()
2687 set_bit(NPIV_CONFIG_NEEDED, &vha->dpc_flags); in qla2xxx_scan_start()
2695 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2xxx_scan_finished()
2714 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_iocb_work_fn()
2723 clear_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags); in qla2x00_iocb_work_fn()
3385 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_probe_one()
3391 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qla2x00_probe_one()
3656 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_remove_one()
3659 set_bit(UNLOADING, &base_vha->dpc_flags); in qla2x00_remove_one()
3788 set_bit(FCPORT_UPDATE_NEEDED, &base_vha->dpc_flags); in qla2x00_schedule_rport_del()
3836 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_mark_device_lost()
4650 if (!test_and_set_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags)) in qla2x00_post_work()
5086 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_post_relogin_work()
5138 &vha->dpc_flags); in qla2x00_relogin()
5154 if (test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) in qla2x00_relogin()
5159 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_relogin()
5826 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_disable_board_on_pci_error()
5841 set_bit(UNLOADING, &base_vha->dpc_flags); in qla2x00_disable_board_on_pci_error()
5933 base_vha->dpc_flags); in qla2x00_do_dpc()
5935 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_do_dpc()
5941 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
5955 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
5968 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
5973 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
5979 &base_vha->dpc_flags); in qla2x00_do_dpc()
5982 &base_vha->dpc_flags); in qla2x00_do_dpc()
5990 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
5996 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
5998 &base_vha->dpc_flags); in qla2x00_do_dpc()
6007 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6012 &base_vha->dpc_flags)) in qla2x00_do_dpc()
6014 &base_vha->dpc_flags); in qla2x00_do_dpc()
6022 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6032 &base_vha->dpc_flags) && in qla2x00_do_dpc()
6033 !test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6038 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
6042 (ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6043 !test_bit(UNLOADING, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6048 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
6053 &base_vha->dpc_flags); in qla2x00_do_dpc()
6056 &base_vha->dpc_flags); in qla2x00_do_dpc()
6064 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6071 if (test_bit(ISP_QUIESCE_NEEDED, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6080 &base_vha->dpc_flags); in qla2x00_do_dpc()
6097 &base_vha->dpc_flags); in qla2x00_do_dpc()
6105 &base_vha->dpc_flags) && in qla2x00_do_dpc()
6106 (!(test_and_set_bit(RESET_ACTIVE, &base_vha->dpc_flags)))) { in qla2x00_do_dpc()
6111 clear_bit(RESET_ACTIVE, &base_vha->dpc_flags); in qla2x00_do_dpc()
6117 if (test_bit(RELOGIN_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6118 !test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6124 clear_bit(RELOGIN_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
6133 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6139 &base_vha->dpc_flags))) { in qla2x00_do_dpc()
6144 &base_vha->dpc_flags); in qla2x00_do_dpc()
6154 if (test_bit(NPIV_CONFIG_NEEDED, &base_vha->dpc_flags) && in qla2x00_do_dpc()
6156 clear_bit(NPIV_CONFIG_NEEDED, &base_vha->dpc_flags); in qla2x00_do_dpc()
6165 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6172 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6186 if (test_and_clear_bit(SET_ZIO_THRESHOLD_NEEDED, &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6201 &base_vha->dpc_flags)) { in qla2x00_do_dpc()
6231 if (!test_bit(UNLOADING, &vha->dpc_flags) && t) in qla2xxx_wake_dpc()
6247 !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags))) { in qla2x00_rst_aen()
6249 clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_rst_aen()
6257 (test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags))); in qla2x00_rst_aen()
6300 if (test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) in qla2x00_timer()
6313 !(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) && in qla2x00_timer()
6314 !(test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags)) in qla2x00_timer()
6353 &vha->dpc_flags); in qla2x00_timer()
6356 &vha->dpc_flags); in qla2x00_timer()
6373 &vha->dpc_flags); in qla2x00_timer()
6376 &vha->dpc_flags); in qla2x00_timer()
6387 set_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags); in qla2x00_timer()
6398 if (!test_and_set_bit(IOCB_WORK_ACTIVE, &vha->dpc_flags)) in qla2x00_timer()
6416 set_bit(SET_ZIO_THRESHOLD_NEEDED, &vha->dpc_flags); in qla2x00_timer()
6421 if ((test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
6422 test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
6423 test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
6425 test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
6426 test_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
6427 test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) || in qla2x00_timer()
6428 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
6429 test_bit(VP_DPC_NEEDED, &vha->dpc_flags) || in qla2x00_timer()
6430 test_bit(RELOGIN_NEEDED, &vha->dpc_flags))) { in qla2x00_timer()
6435 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags), in qla2x00_timer()
6436 test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags), in qla2x00_timer()
6437 test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags), in qla2x00_timer()
6439 test_bit(RESET_MARKER_NEEDED, &vha->dpc_flags)); in qla2x00_timer()
6444 test_bit(BEACON_BLINK_NEEDED, &vha->dpc_flags), in qla2x00_timer()
6445 test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags), in qla2x00_timer()
6446 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags), in qla2x00_timer()
6447 test_bit(VP_DPC_NEEDED, &vha->dpc_flags), in qla2x00_timer()
6448 test_bit(RELOGIN_NEEDED, &vha->dpc_flags)); in qla2x00_timer()
6578 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
6595 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
6603 set_bit(QPAIR_ONLINE_CHECK_NEEDED, &vha->dpc_flags); in qla2xxx_pci_error_detected()
6663 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla82xx_error_recovery()
6754 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla82xx_error_recovery()
6813 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_pci_slot_reset()
6816 clear_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_pci_slot_reset()