/Linux-v6.1/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 285 if (test_bit(VPORT_DELETE, &vha->dpc_flags)) in qla2x00_alert_all_vps() 334 if (!test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) { in qla2x00_vp_abort_isp() 380 if (test_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags)) { in qla2x00_do_dpc_vp() 383 clear_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags); in qla2x00_do_dpc_vp() 387 if (test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp() 391 clear_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp() 396 if (test_bit(RELOGIN_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 397 !test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 403 clear_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp() 411 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() [all …]
|
D | qla_os.c | 864 if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)) || in qla2xxx_queuecommand() 1127 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online() 1128 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() 1129 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() 1214 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready() 1215 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) { in qla2x00_wait_for_hba_ready() 1216 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_wait_for_hba_ready() 1231 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset() 1232 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset() 1233 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset() [all …]
|
D | qla_mr.c | 71 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qlafx00_mailbox_command() 228 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qlafx00_mailbox_command() 229 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qlafx00_mailbox_command() 230 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qlafx00_mailbox_command() 237 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlafx00_mailbox_command() 245 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qlafx00_mailbox_command() 246 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qlafx00_mailbox_command() 247 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qlafx00_mailbox_command() 254 set_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qlafx00_mailbox_command() 255 clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlafx00_mailbox_command() [all …]
|
D | qla_isr.c | 367 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2100_intr_handler() 493 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2300_intr_handler() 926 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla27xx_handle_8200_aen() 975 set_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags); in qla24xx_queue_purex_item() 1196 set_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 1239 &vha->dpc_flags); in qla2x00_async_event() 1241 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 1250 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 1259 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 1268 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() [all …]
|
D | qla_inline.h | 165 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active() 166 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active() 167 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active() 168 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_reset_active() 169 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_reset_active()
|
D | qla_init.c | 299 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_login_sp_done() 374 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login() 451 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_prlo_sp_done() 740 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 878 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 970 &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 976 &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 991 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event() 1254 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_prli_sp_done() 1321 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_async_prli() [all …]
|
D | qla_nx.c | 1155 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla82xx_pinit_from_rom() 3327 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog() 3331 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog() 3334 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla82xx_watchdog() 3336 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog() 3339 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla82xx_watchdog() 3341 !test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) && in qla82xx_watchdog() 3345 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog() 3380 &vha->dpc_flags); in qla82xx_watchdog() 3385 &vha->dpc_flags); in qla82xx_watchdog() [all …]
|
D | qla_attr.c | 125 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_fw_dump() 278 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_nvram() 734 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset() 783 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset() 1246 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_zio_store() 2223 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla_set_ini_mode() 2740 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_dev_loss_tmo_callbk() 2757 if (test_bit(UNLOADING, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io() 2760 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io() 2825 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_fc_host_stats() [all …]
|
D | qla_gs.c | 173 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2x00_chk_ms_status() 174 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2x00_chk_ms_status() 2956 if (test_bit(UNLOADING, &vha->dpc_flags) || in qla24xx_post_gpnid_work() 2957 (vha->vp_idx && test_bit(VPORT_DELETE, &vha->dpc_flags))) in qla24xx_post_gpnid_work() 3492 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3493 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3671 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3672 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla24xx_async_gnnft_done() 3859 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2x00_async_gpnft_gnnft_sp_done() 3860 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2x00_async_gpnft_gnnft_sp_done() [all …]
|
D | qla_nx2.c | 1890 clear_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_need_qsnt_handler() 2126 if (!(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla8044_watchdog() 2127 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags))) { in qla8044_watchdog() 2138 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla8044_watchdog() 2142 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog() 2146 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla8044_watchdog() 2149 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog() 2153 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_watchdog() 2177 &vha->dpc_flags); in qla8044_watchdog() 2182 &vha->dpc_flags); in qla8044_watchdog() [all …]
|
D | qla_mbx.c | 139 if (test_bit(PFLG_DISCONNECTED, &base_vha->dpc_flags) && in qla2x00_mailbox_command() 140 test_bit(UNLOADING, &base_vha->dpc_flags)) { in qla2x00_mailbox_command() 150 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command() 168 if (((test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_mailbox_command() 169 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_mailbox_command() 170 test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) && in qla2x00_mailbox_command() 505 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command() 506 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command() 507 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command() 523 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command() [all …]
|
D | qla_bsg.c | 712 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla81xx_set_loopback_mode() 886 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_process_loopback() 918 &vha->dpc_flags); in qla2x00_process_loopback() 1826 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla24xx_process_bidir_cmd() 1827 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla24xx_process_bidir_cmd() 1828 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla24xx_process_bidir_cmd() 2339 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_priv_stats()
|
D | qla_target.c | 1113 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qlt_free_session_done() 1114 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done() 1165 !(vha->vp_idx && test_bit(VPORT_DELETE, &vha->dpc_flags)) && in qlt_free_session_done() 1170 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done() 1616 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_stop_phase2() 3805 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold() 3807 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold() 5158 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qlt_24xx_handle_els() 5159 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qlt_24xx_handle_els() 5805 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_unresolv_exchg() [all …]
|
D | qla_edif.c | 533 set_bit(N2N_LINK_RESET, &vha->dpc_flags); in qla_edif_app_start() 538 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla_edif_app_start() 587 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla_edif_app_start() 1273 test_bit(VPORT_DELETE, &vha->dpc_flags)) { in qla_edif_app_mgmt() 1276 __func__, bsg_job, vha->dpc_flags); in qla_edif_app_mgmt() 2282 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla_edif_timer() 3664 !test_bit(VPORT_DELETE, &vha->dpc_flags)) { in qla_edif_sess_down()
|
D | qla_def.h | 4861 unsigned long dpc_flags; member 5131 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \ 5132 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \ 5136 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \ 5137 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))
|
D | qla_sup.c | 2344 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_resume_hba() 2860 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla28xx_write_flash_data() 2861 set_bit(ISP_ABORT_TO_ROM, &vha->dpc_flags); in qla28xx_write_flash_data() 2954 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla28xx_write_flash_data()
|
D | qla_nvme.c | 637 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla_nvme_post_cmd()
|
D | qla_iocb.c | 2962 &vha->dpc_flags); in qla2x00_els_dcmd2_sp_done()
|
/Linux-v6.1/drivers/scsi/qla4xxx/ |
D | ql4_isr.c | 129 set_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags); in qla4xxx_status_entry() 131 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_status_entry() 578 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_process_response_queue() 716 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 729 &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 731 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 737 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 753 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 770 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() 798 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox() [all …]
|
D | ql4_os.c | 4125 if (test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in qla4xxx_queuecommand() 4126 test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4xxx_queuecommand() 4127 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4xxx_queuecommand() 4128 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags) || in qla4xxx_queuecommand() 4129 test_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags) || in qla4xxx_queuecommand() 4133 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) || in qla4xxx_queuecommand() 4134 test_bit(DPC_RESTORE_ACB, &ha->dpc_flags) || in qla4xxx_queuecommand() 4135 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags)) in qla4xxx_queuecommand() 4407 set_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in qla4_8xxx_process_fw_error() 4411 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_8xxx_process_fw_error() [all …]
|
D | ql4_def.h | 585 unsigned long dpc_flags; member 1046 return test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in ql4xxx_reset_active() 1047 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active() 1048 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active() 1049 test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in ql4xxx_reset_active() 1050 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags) || in ql4xxx_reset_active() 1051 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in ql4xxx_reset_active()
|
D | ql4_bsg.c | 461 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) { in ql4xxx_execute_diag_cmd() 641 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_83xx_post_loopback_config() 675 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) { in qla4xxx_execute_diag_loopback_cmd()
|
D | ql4_init.c | 409 if (test_and_clear_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags)) in qla4xxx_fw_ready() 473 &ha->dpc_flags)) in qla4xxx_fw_ready()
|
D | ql4_mbx.c | 218 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_mailbox_command() 1911 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) && in qla4xxx_disable_acb()
|
D | ql4_nx.c | 1029 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) in qla4_82xx_pinit_from_rom()
|