Home
last modified time | relevance | path

Searched refs:dpc_flags (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_mid.c268 if (test_bit(VPORT_DELETE, &vha->dpc_flags)) in qla2x00_alert_all_vps()
317 if (!test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) { in qla2x00_vp_abort_isp()
363 if (test_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags)) { in qla2x00_do_dpc_vp()
366 clear_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags); in qla2x00_do_dpc_vp()
370 if (test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp()
374 clear_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp()
379 if (test_bit(RELOGIN_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
380 !test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
386 clear_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp()
394 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
[all …]
Dqla_os.c836 if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)) || in qla2xxx_queuecommand()
1098 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
1099 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1100 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
1169 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready()
1170 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) { in qla2x00_wait_for_hba_ready()
1171 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_wait_for_hba_ready()
1186 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
1187 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1188 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
[all …]
Dqla_mr.c71 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 …]
Dqla_isr.c223 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2100_intr_handler()
354 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2300_intr_handler()
787 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla27xx_handle_8200_aen()
836 set_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags); in qla24xx_queue_purex_item()
1057 set_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
1097 &vha->dpc_flags); in qla2x00_async_event()
1099 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
1108 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
1115 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
1122 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
[all …]
Dqla_inline.h165 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()
Dqla_init.c278 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_login_sp_done()
359 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login()
437 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_prlo_sp_done()
932 &vha->dpc_flags); in qla24xx_handle_gnl_done_event()
938 &vha->dpc_flags); in qla24xx_handle_gnl_done_event()
953 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event()
1214 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_prli_sp_done()
1278 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_async_prli()
1462 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gpdb_event()
1550 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_fcport_handle_login()
[all …]
Dqla_nx.c1157 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla82xx_pinit_from_rom()
3335 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog()
3339 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog()
3342 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla82xx_watchdog()
3344 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog()
3347 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla82xx_watchdog()
3349 !test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) && in qla82xx_watchdog()
3353 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog()
3388 &vha->dpc_flags); in qla82xx_watchdog()
3393 &vha->dpc_flags); in qla82xx_watchdog()
[all …]
Dqla_attr.c125 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()
728 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset()
777 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset()
1243 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_zio_store()
2176 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla_set_ini_mode()
2671 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_dev_loss_tmo_callbk()
2688 if (test_bit(UNLOADING, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io()
2691 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io()
2743 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_fc_host_stats()
[all …]
Dqla_gs.c173 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()
2954 if (test_bit(UNLOADING, &vha->dpc_flags) || in qla24xx_post_gpnid_work()
2955 (vha->vp_idx && test_bit(VPORT_DELETE, &vha->dpc_flags))) in qla24xx_post_gpnid_work()
3432 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla24xx_async_gnnft_done()
3433 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla24xx_async_gnnft_done()
3597 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla24xx_async_gnnft_done()
3598 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla24xx_async_gnnft_done()
3786 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2x00_async_gpnft_gnnft_sp_done()
3787 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla2x00_async_gpnft_gnnft_sp_done()
[all …]
Dqla_nx2.c1890 clear_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_need_qsnt_handler()
2129 if (!(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla8044_watchdog()
2130 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags))) { in qla8044_watchdog()
2141 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla8044_watchdog()
2145 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog()
2149 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla8044_watchdog()
2152 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog()
2156 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_watchdog()
2180 &vha->dpc_flags); in qla8044_watchdog()
2185 &vha->dpc_flags); in qla8044_watchdog()
[all …]
Dqla_mbx.c133 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()
483 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command()
484 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command()
485 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command()
500 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command()
[all …]
Dqla_bsg.c693 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla81xx_set_loopback_mode()
867 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_process_loopback()
899 &vha->dpc_flags); in qla2x00_process_loopback()
1807 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla24xx_process_bidir_cmd()
1808 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla24xx_process_bidir_cmd()
1809 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla24xx_process_bidir_cmd()
2320 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_priv_stats()
Dqla_target.c1072 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()
1124 !(vha->vp_idx && test_bit(VPORT_DELETE, &vha->dpc_flags)) && in qlt_free_session_done()
1129 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done()
1573 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_stop_phase2()
3755 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold()
3757 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold()
5039 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qlt_24xx_handle_els()
5040 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qlt_24xx_handle_els()
5686 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_unresolv_exchg()
[all …]
Dqla_def.h4677 unsigned long dpc_flags; member
4934 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \
4935 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \
4939 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \
4940 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))
Dqla_sup.c2344 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_resume_hba()
2859 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla28xx_write_flash_data()
2860 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()
Dqla_nvme.c568 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla_nvme_post_cmd()
Dqla_iocb.c2911 &vha->dpc_flags); in qla2x00_els_dcmd2_sp_done()
2924 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_els_dcmd2_sp_done()
2937 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_els_dcmd2_sp_done()
/Linux-v5.10/drivers/scsi/qla4xxx/
Dql4_isr.c129 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 …]
Dql4_os.c4129 if (test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in qla4xxx_queuecommand()
4130 test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4xxx_queuecommand()
4131 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4xxx_queuecommand()
4132 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags) || in qla4xxx_queuecommand()
4133 test_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags) || in qla4xxx_queuecommand()
4137 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) || in qla4xxx_queuecommand()
4138 test_bit(DPC_RESTORE_ACB, &ha->dpc_flags) || in qla4xxx_queuecommand()
4139 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags)) in qla4xxx_queuecommand()
4414 set_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in qla4_8xxx_process_fw_error()
4418 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_8xxx_process_fw_error()
[all …]
Dql4_def.h575 unsigned long dpc_flags; member
1036 return test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in ql4xxx_reset_active()
1037 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active()
1038 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active()
1039 test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in ql4xxx_reset_active()
1040 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags) || in ql4xxx_reset_active()
1041 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in ql4xxx_reset_active()
Dql4_bsg.c461 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()
Dql4_init.c409 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()
Dql4_mbx.c218 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()
Dql4_nx.c1042 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) in qla4_82xx_pinit_from_rom()