Home
last modified time | relevance | path

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

/linux/drivers/scsi/qla2xxx/
H A Dqla_os.c872 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()
1185 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready()
1186 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) { in qla2x00_wait_for_hba_ready()
1187 if (test_bit(UNLOADING, &base_vha->dpc_flags)) in qla2x00_wait_for_hba_ready()
1202 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
1203 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
1204 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
[all …]
H A 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 …]
H A Dqla_mid.c285 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(RELOGIN_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
388 !test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
394 clear_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp()
402 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
403 (!(test_and_set_bit(RESET_ACTIVE, &vha->dpc_flags)))) { in qla2x00_do_dpc_vp()
404 clear_bit(RESET_ACTIVE, &vha->dpc_flags); in qla2x00_do_dpc_vp()
[all …]
H A Dqla_isr.c383 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2100_intr_handler()
509 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2300_intr_handler()
1071 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla27xx_handle_8200_aen()
1120 set_bit(PROCESS_PUREX_IOCB, &vha->dpc_flags); in qla24xx_queue_purex_item()
1345 set_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
1388 &vha->dpc_flags); in qla2x00_async_event()
1390 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
1399 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
1408 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
1417 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
[all …]
H A Dqla_init.c306 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_login_sp_done()
381 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login()
464 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_prlo_sp_done()
760 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event()
898 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event()
990 &vha->dpc_flags); in qla24xx_handle_gnl_done_event()
996 &vha->dpc_flags); in qla24xx_handle_gnl_done_event()
1011 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_handle_gnl_done_event()
1279 if (!test_bit(UNLOADING, &vha->dpc_flags)) { in qla2x00_async_prli_sp_done()
1346 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_async_prli()
[all …]
H A Dqla_inline.h168 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active()
169 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active()
170 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active()
171 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_reset_active()
172 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_reset_active()
H A Dqla_nx.c1150 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla82xx_pinit_from_rom()
3277 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog()
3281 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog()
3284 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla82xx_watchdog()
3286 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog()
3289 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla82xx_watchdog()
3291 !test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) && in qla82xx_watchdog()
3295 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog()
3330 &vha->dpc_flags); in qla82xx_watchdog()
3335 &vha->dpc_flags); in qla82xx_watchdog()
[all …]
H A 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()
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()
1239 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_zio_store()
2216 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla_set_ini_mode()
2733 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()
2801 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_terminate_rport_io()
[all …]
H A 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()
3128 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla_fab_scan_finish()
3129 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla_fab_scan_finish()
3311 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla_fab_scan_finish()
3312 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla_fab_scan_finish()
3471 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla_async_scan_sp_done()
3472 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla_async_scan_sp_done()
3513 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla_async_scan_sp_done()
3514 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qla_async_scan_sp_done()
[all …]
H A Dqla_nx2.c1890 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 …]
H A Dqla_mbx.c139 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()
503 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command()
504 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command()
505 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command()
521 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command()
[all …]
H A Dqla_target.c1063 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_free_session_done()
1094 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qlt_free_session_done()
1095 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done()
1151 !(vha->vp_idx && test_bit(VPORT_DELETE, &vha->dpc_flags)) && in qlt_free_session_done()
1156 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qlt_free_session_done()
1558 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_stop_phase2()
3856 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold()
3858 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold()
6308 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qlt_24xx_handle_els()
6309 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qlt_24xx_handle_els()
[all …]
H A Dqla_sup.c2360 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_resume_hba()
2881 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla28xx_write_flash_data()
2882 set_bit(ISP_ABORT_TO_ROM, &vha->dpc_flags); in qla28xx_write_flash_data()
2975 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla28xx_write_flash_data()
H A Dqla_def.h4951 unsigned long dpc_flags; member
5220 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \
5221 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \
5225 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \
5226 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))
H A Dqla_nvme.c792 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla_nvme_post_cmd()
H A Dqla_iocb.c3001 &vha->dpc_flags); in qla2x00_els_dcmd2_sp_done()
3120 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla24xx_els_dcmd2_iocb()
/linux/drivers/scsi/qla4xxx/
H A 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()
576 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_process_response_queue()
714 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
727 &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
729 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
735 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
751 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
768 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
796 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
[all …]
H A Dql4_os.c4137 if (test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in qla4xxx_queuecommand()
4138 test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4xxx_queuecommand()
4139 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4xxx_queuecommand()
4140 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags) || in qla4xxx_queuecommand()
4141 test_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags) || in qla4xxx_queuecommand()
4145 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) || in qla4xxx_queuecommand()
4146 test_bit(DPC_RESTORE_ACB, &ha->dpc_flags) || in qla4xxx_queuecommand()
4147 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags)) in qla4xxx_queuecommand()
4419 set_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in qla4_8xxx_process_fw_error()
4423 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_8xxx_process_fw_error()
[all …]
H A Dql4_def.h584 unsigned long dpc_flags; member
1045 return test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in ql4xxx_reset_active()
1046 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active()
1047 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active()
1048 test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in ql4xxx_reset_active()
1049 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags) || in ql4xxx_reset_active()
1050 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in ql4xxx_reset_active()
H A 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()
H A 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()
H A Dql4_mbx.c218 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_mailbox_command()
1918 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) && in qla4xxx_disable_acb()
H A Dql4_nx.c1024 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) in qla4_82xx_pinit_from_rom()