/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_os.c | 847 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online() 848 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() 849 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() 881 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready() 882 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) in qla2x00_wait_for_hba_ready() 895 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset() 896 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset() 897 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset() 902 if (!test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_wait_for_chip_reset() 1264 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset() [all …]
|
D | qla_mr.c | 72 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_mid.c | 298 if (!test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla2x00_vp_abort_isp() 330 if (test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp() 334 clear_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp() 339 if ((test_and_clear_bit(RELOGIN_NEEDED, &vha->dpc_flags)) && in qla2x00_do_dpc_vp() 340 !test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 350 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 351 (!(test_and_set_bit(RESET_ACTIVE, &vha->dpc_flags)))) { in qla2x00_do_dpc_vp() 352 clear_bit(RESET_ACTIVE, &vha->dpc_flags); in qla2x00_do_dpc_vp() 355 if (test_and_clear_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp() 356 if (!(test_and_set_bit(LOOP_RESYNC_ACTIVE, &vha->dpc_flags))) { in qla2x00_do_dpc_vp() [all …]
|
D | qla_inline.h | 211 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active() 212 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active() 213 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active() 214 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_reset_active() 215 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_reset_active()
|
D | qla_isr.c | 74 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2100_intr_handler() 205 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2300_intr_handler() 663 set_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 686 &vha->dpc_flags); in qla2x00_async_event() 688 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 697 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 704 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 711 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 734 set_bit(REGISTER_FC4_NEEDED, &vha->dpc_flags); in qla2x00_async_event() 735 set_bit(REGISTER_FDMI_NEEDED, &vha->dpc_flags); in qla2x00_async_event() [all …]
|
D | qla_init.c | 130 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_login_sp_done() 183 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_logout_sp_done() 231 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_adisc_sp_done() 336 if (!test_bit(UNLOADING, &vha->dpc_flags) && !IS_QLAFX00(vha->hw)) { in qla2x00_async_tm_cmd() 457 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login_done() 475 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login_done() 522 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_adisc_done() 633 vha->dpc_flags = 0; in qla2x00_initialize_adapter() 1204 if (test_and_clear_bit(MPI_RESET_NEEDED, &vha->dpc_flags)) { in qla24xx_reset_risc() 1207 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla24xx_reset_risc() [all …]
|
D | qla_attr.c | 117 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_fw_dump() 305 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() 774 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset() 1175 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_zio_store() 1234 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) { in qla2x00_beacon_store() 1800 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_dev_loss_tmo_callbk() 1817 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io() 1867 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_fc_host_stats() 1953 set_bit(REGISTER_FDMI_NEEDED, &vha->dpc_flags); in qla2x00_set_host_system_hostname() [all …]
|
D | qla_nx.c | 1193 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla82xx_pinit_from_rom() 3365 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog() 3369 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog() 3372 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla82xx_watchdog() 3374 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog() 3377 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla82xx_watchdog() 3379 !test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) && in qla82xx_watchdog() 3383 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog() 3418 &vha->dpc_flags); in qla82xx_watchdog() 3423 &vha->dpc_flags); in qla82xx_watchdog() [all …]
|
D | qla_nx2.c | 1877 clear_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_need_qsnt_handler() 2116 if (!(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla8044_watchdog() 2117 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags))) { in qla8044_watchdog() 2128 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla8044_watchdog() 2132 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog() 2136 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla8044_watchdog() 2139 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog() 2143 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_watchdog() 2167 &vha->dpc_flags); in qla8044_watchdog() 2172 &vha->dpc_flags); in qla8044_watchdog() [all …]
|
D | qla_mbx.c | 71 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command() 314 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command() 315 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command() 316 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command() 331 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command() 339 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command() 340 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command() 341 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command() 355 set_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_mailbox_command() 356 clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command() [all …]
|
D | qla_bsg.c | 678 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla81xx_set_loopback_mode() 848 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_process_loopback() 880 &vha->dpc_flags); in qla2x00_process_loopback() 1753 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla24xx_process_bidir_cmd() 1754 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla24xx_process_bidir_cmd() 1755 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla24xx_process_bidir_cmd()
|
D | qla_def.h | 3518 unsigned long dpc_flags; member 3650 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \ 3651 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \ 3655 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \ 3656 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))
|
D | qla_target.c | 3064 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold() 3066 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold() 3338 base_vha->dpc_flags); in qlt_host_reset_handler() 4269 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qlt_24xx_handle_els() 4270 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qlt_24xx_handle_els() 5446 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_async_event() 6023 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qlt_enable_vha() 6053 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_disable_vha()
|
D | qla_sup.c | 2276 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_resume_hba()
|
/linux-4.4.14/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 | 4085 if (test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in qla4xxx_queuecommand() 4086 test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4xxx_queuecommand() 4087 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4xxx_queuecommand() 4088 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags) || in qla4xxx_queuecommand() 4089 test_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags) || in qla4xxx_queuecommand() 4093 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) || in qla4xxx_queuecommand() 4094 test_bit(DPC_RESTORE_ACB, &ha->dpc_flags) || in qla4xxx_queuecommand() 4095 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags)) in qla4xxx_queuecommand() 4376 set_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in qla4_8xxx_process_fw_error() 4380 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_8xxx_process_fw_error() [all …]
|
D | ql4_def.h | 589 unsigned long dpc_flags; member 1052 return test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in ql4xxx_reset_active() 1053 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active() 1054 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active() 1055 test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in ql4xxx_reset_active() 1056 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags) || in ql4xxx_reset_active() 1057 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 | 413 if (test_and_clear_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags)) in qla4xxx_fw_ready() 477 &ha->dpc_flags)) in qla4xxx_fw_ready()
|
D | ql4_mbx.c | 219 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_mailbox_command() 1921 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) && in qla4xxx_disable_acb()
|
D | ql4_nx.c | 1041 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) in qla4_82xx_pinit_from_rom()
|