/Linux-v5.4/drivers/scsi/qla2xxx/ |
D | qla_os.c | 821 if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)) || in qla2xxx_queuecommand() 1080 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online() 1081 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() 1082 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() 1151 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready() 1152 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) { in qla2x00_wait_for_hba_ready() 1153 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_wait_for_hba_ready() 1168 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset() 1169 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset() 1170 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset() [all …]
|
D | qla_mr.c | 73 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qlafx00_mailbox_command() 230 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qlafx00_mailbox_command() 231 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qlafx00_mailbox_command() 232 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qlafx00_mailbox_command() 239 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlafx00_mailbox_command() 247 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qlafx00_mailbox_command() 248 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qlafx00_mailbox_command() 249 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qlafx00_mailbox_command() 256 set_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qlafx00_mailbox_command() 257 clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlafx00_mailbox_command() [all …]
|
D | qla_mid.c | 269 if (test_bit(VPORT_DELETE, &vha->dpc_flags)) in qla2x00_alert_all_vps() 318 if (!test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) { in qla2x00_vp_abort_isp() 364 if (test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp() 368 clear_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp() 373 if (test_bit(RELOGIN_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 374 !test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 380 clear_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp() 388 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 389 (!(test_and_set_bit(RESET_ACTIVE, &vha->dpc_flags)))) { in qla2x00_do_dpc_vp() 390 clear_bit(RESET_ACTIVE, &vha->dpc_flags); in qla2x00_do_dpc_vp() [all …]
|
D | qla_inline.h | 142 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active() 143 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active() 144 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active() 145 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_reset_active() 146 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_reset_active()
|
D | qla_isr.c | 86 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2100_intr_handler() 217 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2300_intr_handler() 715 set_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 743 &vha->dpc_flags); in qla2x00_async_event() 745 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 754 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 761 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 768 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 779 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 799 set_bit(REGISTER_FC4_NEEDED, &vha->dpc_flags); in qla2x00_async_event() [all …]
|
D | qla_init.c | 262 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_login_sp_done() 343 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login() 421 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_prlo_sp_done() 909 &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 915 &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 930 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 1182 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_prli_sp_done() 1239 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_async_prli() 1422 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gpdb_event() 1510 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_fcport_handle_login() [all …]
|
D | qla_attr.c | 120 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_fw_dump() 249 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_nvram() 699 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset() 746 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset() 1212 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_zio_store() 2076 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla_set_ini_mode() 2549 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_dev_loss_tmo_callbk() 2566 if (test_bit(UNLOADING, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io() 2569 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io() 2618 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_fc_host_stats() [all …]
|
D | qla_nx.c | 1204 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla82xx_pinit_from_rom() 3381 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog() 3385 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog() 3388 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla82xx_watchdog() 3390 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog() 3393 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla82xx_watchdog() 3395 !test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) && in qla82xx_watchdog() 3399 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog() 3434 &vha->dpc_flags); in qla82xx_watchdog() 3439 &vha->dpc_flags); in qla82xx_watchdog() [all …]
|
D | qla_gs.c | 172 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2x00_chk_ms_status() 173 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2x00_chk_ms_status() 3105 if (test_bit(UNLOADING, &vha->dpc_flags) || in qla24xx_post_gpnid_work() 3106 (vha->vp_idx && test_bit(VPORT_DELETE, &vha->dpc_flags))) in qla24xx_post_gpnid_work() 3580 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3581 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3718 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3719 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3895 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2x00_async_gpnft_gnnft_sp_done() 3896 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2x00_async_gpnft_gnnft_sp_done() [all …]
|
D | qla_mbx.c | 134 if (test_bit(PFLG_DISCONNECTED, &base_vha->dpc_flags) && in qla2x00_mailbox_command() 135 test_bit(UNLOADING, &base_vha->dpc_flags)) { in qla2x00_mailbox_command() 145 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command() 163 if ((test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_mailbox_command() 164 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_mailbox_command() 165 test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) && in qla2x00_mailbox_command() 343 if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags))) in qla2x00_mailbox_command() 493 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command() 494 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command() 495 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command() [all …]
|
D | qla_nx2.c | 1891 clear_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_need_qsnt_handler() 2130 if (!(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla8044_watchdog() 2131 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags))) { in qla8044_watchdog() 2142 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla8044_watchdog() 2146 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog() 2150 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla8044_watchdog() 2153 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog() 2157 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_watchdog() 2181 &vha->dpc_flags); in qla8044_watchdog() 2186 &vha->dpc_flags); in qla8044_watchdog() [all …]
|
D | qla_bsg.c | 684 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla81xx_set_loopback_mode() 857 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_process_loopback() 889 &vha->dpc_flags); in qla2x00_process_loopback() 1792 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla24xx_process_bidir_cmd() 1793 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla24xx_process_bidir_cmd() 1794 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla24xx_process_bidir_cmd() 2305 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_priv_stats()
|
D | qla_target.c | 1069 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qlt_free_session_done() 1070 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done() 1118 !(vha->vp_idx && test_bit(VPORT_DELETE, &vha->dpc_flags)) && in qlt_free_session_done() 1123 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done() 1562 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_stop_phase2() 3739 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold() 3741 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold() 5028 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qlt_24xx_handle_els() 5029 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qlt_24xx_handle_els() 5682 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_unresolv_exchg() [all …]
|
D | qla_def.h | 4363 unsigned long dpc_flags; member 4607 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \ 4608 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \ 4612 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \ 4613 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))
|
D | qla_sup.c | 2343 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_resume_hba() 2844 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla28xx_write_flash_data() 2845 set_bit(ISP_ABORT_TO_ROM, &vha->dpc_flags); in qla28xx_write_flash_data() 2937 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla28xx_write_flash_data()
|
D | qla_iocb.c | 2755 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_els_dcmd2_sp_done()
|
/Linux-v5.4/drivers/scsi/qla4xxx/ |
D | ql4_isr.c | 130 set_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags); in qla4xxx_status_entry() 132 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_status_entry() 579 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_process_response_queue() 717 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 730 &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 732 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 738 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 754 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 771 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 799 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() [all …]
|
D | ql4_os.c | 4100 if (test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in qla4xxx_queuecommand() 4101 test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4xxx_queuecommand() 4102 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4xxx_queuecommand() 4103 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags) || in qla4xxx_queuecommand() 4104 test_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags) || in qla4xxx_queuecommand() 4108 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) || in qla4xxx_queuecommand() 4109 test_bit(DPC_RESTORE_ACB, &ha->dpc_flags) || in qla4xxx_queuecommand() 4110 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags)) in qla4xxx_queuecommand() 4386 set_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in qla4_8xxx_process_fw_error() 4390 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_8xxx_process_fw_error() [all …]
|
D | ql4_def.h | 576 unsigned long dpc_flags; member 1037 return test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in ql4xxx_reset_active() 1038 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active() 1039 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active() 1040 test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in ql4xxx_reset_active() 1041 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags) || in ql4xxx_reset_active() 1042 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in ql4xxx_reset_active()
|
D | ql4_bsg.c | 462 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) { in ql4xxx_execute_diag_cmd() 642 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_83xx_post_loopback_config() 676 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) { in qla4xxx_execute_diag_loopback_cmd()
|
D | ql4_init.c | 412 if (test_and_clear_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags)) in qla4xxx_fw_ready() 476 &ha->dpc_flags)) in qla4xxx_fw_ready()
|
D | ql4_mbx.c | 219 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_mailbox_command() 1916 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) && in qla4xxx_disable_acb()
|
D | ql4_nx.c | 1043 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) in qla4_82xx_pinit_from_rom()
|