/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_os.c | 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() [all …]
|
D | qla_mr.c | 74 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 | 320 if (!test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla2x00_vp_abort_isp() 350 if (test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp() 354 clear_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp() 359 if (test_bit(RELOGIN_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 360 !test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 366 clear_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp() 374 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 375 (!(test_and_set_bit(RESET_ACTIVE, &vha->dpc_flags)))) { in qla2x00_do_dpc_vp() 376 clear_bit(RESET_ACTIVE, &vha->dpc_flags); in qla2x00_do_dpc_vp() 379 if (test_and_clear_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp() [all …]
|
D | qla_inline.h | 198 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active() 199 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active() 200 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active() 201 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_reset_active() 202 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_reset_active()
|
D | qla_isr.c | 78 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2100_intr_handler() 209 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2300_intr_handler() 707 set_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 732 &vha->dpc_flags); in qla2x00_async_event() 734 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 743 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 750 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 757 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 769 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 789 set_bit(REGISTER_FC4_NEEDED, &vha->dpc_flags); in qla2x00_async_event() [all …]
|
D | qla_init.c | 178 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_login_sp_done() 251 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login() 341 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_prlo_sp_done() 741 &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 747 &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 762 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 1015 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_prli_sp_done() 1068 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_async_prli() 1241 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gpdb_event() 1326 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_fcport_handle_login() [all …]
|
D | qla_attr.c | 117 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_fw_dump() 219 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_nvram() 631 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset() 677 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset() 1128 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_zio_store() 1789 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_dev_loss_tmo_callbk() 1806 if (test_bit(UNLOADING, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io() 1809 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io() 1858 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_fc_host_stats() 1966 set_bit(REGISTER_FDMI_NEEDED, &vha->dpc_flags); in qla2x00_set_host_system_hostname() [all …]
|
D | qla_nx.c | 1198 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla82xx_pinit_from_rom() 3369 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog() 3373 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog() 3376 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla82xx_watchdog() 3378 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog() 3381 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla82xx_watchdog() 3383 !test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) && in qla82xx_watchdog() 3387 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog() 3422 &vha->dpc_flags); in qla82xx_watchdog() 3427 &vha->dpc_flags); in qla82xx_watchdog() [all …]
|
D | qla_mbx.c | 133 if (test_bit(PFLG_DISCONNECTED, &base_vha->dpc_flags) && in qla2x00_mailbox_command() 134 test_bit(UNLOADING, &base_vha->dpc_flags)) { in qla2x00_mailbox_command() 144 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command() 162 if ((test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_mailbox_command() 163 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_mailbox_command() 164 test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) && in qla2x00_mailbox_command() 337 if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags))) in qla2x00_mailbox_command() 476 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command() 477 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command() 478 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command() [all …]
|
D | qla_nvme.c | 495 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla_nvme_post_cmd() 562 if (!test_bit(UNLOADING, &fcport->vha->dpc_flags)) { in qla_nvme_remoteport_delete() 610 if (!test_bit(ABORT_ISP_ACTIVE, &sp->vha->dpc_flags)) { in qla_nvme_abort()
|
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_gs.c | 176 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2x00_chk_ms_status() 177 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2x00_chk_ms_status() 3195 test_bit(UNLOADING, &vha->dpc_flags)) in qla24xx_post_gidpn_work() 3381 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla24xx_post_gpnid_work() 3917 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3918 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla24xx_async_gnnft_done() 4034 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla24xx_async_gnnft_done() 4035 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla24xx_async_gnnft_done() 4164 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2x00_async_gpnft_gnnft_sp_done() 4165 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2x00_async_gpnft_gnnft_sp_done() [all …]
|
D | qla_bsg.c | 685 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla81xx_set_loopback_mode() 858 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_process_loopback() 890 &vha->dpc_flags); in qla2x00_process_loopback() 1789 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla24xx_process_bidir_cmd() 1790 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla24xx_process_bidir_cmd() 1791 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla24xx_process_bidir_cmd() 2303 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_priv_stats()
|
D | qla_target.c | 1072 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qlt_free_session_done() 1073 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done() 1132 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done() 3720 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold() 3722 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold() 4987 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qlt_24xx_handle_els() 4988 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qlt_24xx_handle_els() 5826 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_async_event() 5873 &vha->dpc_flags); in qlt_async_event() 5876 &vha->dpc_flags); in qlt_async_event() [all …]
|
D | qla_def.h | 4237 unsigned long dpc_flags; member 4445 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \ 4446 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \ 4450 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \ 4451 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))
|
D | qla_sup.c | 2311 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_resume_hba()
|
D | qla_iocb.c | 2621 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_els_dcmd2_sp_done()
|
/Linux-v4.19/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 | 4099 if (test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in qla4xxx_queuecommand() 4100 test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4xxx_queuecommand() 4101 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4xxx_queuecommand() 4102 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags) || in qla4xxx_queuecommand() 4103 test_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags) || in qla4xxx_queuecommand() 4107 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) || in qla4xxx_queuecommand() 4108 test_bit(DPC_RESTORE_ACB, &ha->dpc_flags) || in qla4xxx_queuecommand() 4109 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags)) in qla4xxx_queuecommand() 4389 set_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in qla4_8xxx_process_fw_error() 4393 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()
|