Searched refs:loop_state (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 180 atomic_set(&vha->loop_state, LOOP_DOWN); in qla24xx_disable_vp() 213 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_enable_vp() 214 atomic_read(&base_vha->loop_state) == LOOP_DEAD || in qla24xx_enable_vp() 220 __func__, base_vha->loop_state.counter, in qla24xx_enable_vp() 344 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_vp_abort_isp() 345 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_vp_abort_isp() 381 if (atomic_read(&vha->loop_state) == LOOP_READY) { in qla2x00_do_dpc_vp() 389 atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_do_dpc_vp() 535 atomic_set(&vha->loop_state, LOOP_DOWN); in qla24xx_create_vhost()
|
D | qla_isr.c | 1437 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1438 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() 1495 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1496 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() 1536 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1537 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() 1576 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1577 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() 1606 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1607 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() [all …]
|
D | qla_attr.c | 1173 if (atomic_read(&vha->loop_state) == LOOP_DOWN || in qla2x00_link_state_show() 1174 atomic_read(&vha->loop_state) == LOOP_DEAD || in qla2x00_link_state_show() 1177 else if (atomic_read(&vha->loop_state) != LOOP_READY || in qla2x00_link_state_show() 2858 } else if (atomic_read(&base_vha->loop_state) == LOOP_READY && in qla2x00_get_fc_host_stats() 3018 switch (atomic_read(&base_vha->loop_state)) { in qla2x00_get_host_port_state() 3075 atomic_set(&vha->loop_state, LOOP_DOWN); in qla24xx_vport_create() 3079 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_vport_create() 3080 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla24xx_vport_create() 3084 atomic_set(&vha->loop_state, LOOP_DEAD); in qla24xx_vport_create()
|
D | qla_mr.c | 1313 atomic_set(&vha->loop_state, LOOP_READY); in qlafx00_configure_devices() 1347 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qlafx00_abort_isp_cleanup() 1348 atomic_set(&vha->loop_state, LOOP_DOWN); in qlafx00_abort_isp_cleanup() 1704 atomic_set(&vha->loop_state, LOOP_UP); in qlafx00_process_aen() 1757 atomic_set(&vha->loop_state, LOOP_READY); in qlafx00_update_host_attr() 1759 atomic_set(&vha->loop_state, LOOP_DOWN); in qlafx00_update_host_attr() 2007 atomic_set(&vha->loop_state, LOOP_DOWN); in qlafx00_initialize_adapter()
|
D | qla_os.c | 941 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_queuecommand() 945 atomic_read(&base_vha->loop_state)); in qla2xxx_queuecommand() 1030 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_mqueuecommand() 1034 atomic_read(&base_vha->loop_state)); in qla2xxx_mqueuecommand() 1759 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_loop_reset() 2853 return atomic_read(&vha->loop_state) == LOOP_READY; in qla2xxx_scan_finished() 7081 if (atomic_read(&base_vha->loop_state) == LOOP_READY) { in qla2x00_do_dpc() 7140 atomic_read(&base_vha->loop_state) != LOOP_DOWN) { in qla2x00_do_dpc() 7179 atomic_read(&base_vha->loop_state) == LOOP_READY) { in qla2x00_do_dpc() 7466 atomic_set(&vha->loop_state, LOOP_DEAD); in qla2x00_timer()
|
D | qla_init.c | 2697 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_initialize_adapter() 5712 atomic_set(&vha->loop_state, LOOP_READY); in qla2x00_configure_loop() 5793 atomic_set(&vha->loop_state, LOOP_DOWN); in qla_reinitialize_link() 7001 atomic_set(&ha->loop_state, LOOP_UP); in qla2x00_perform_loop_resync() 7008 atomic_set(&ha->loop_state, LOOP_DEAD); in qla2x00_perform_loop_resync() 7327 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_quiesce_io() 7328 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_quiesce_io() 7422 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_abort_isp_cleanup() 7423 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_abort_isp_cleanup() 8946 atomic_set(&vha->loop_state, LOOP_UP); in qla24xx_configure_vhba()
|
D | qla_def.h | 3399 int loop_state; member 4931 atomic_t loop_state; member 5211 atomic_read(&ha->loop_state) == LOOP_DOWN)
|
D | qla_edif.c | 602 if (atomic_read(&vha->loop_state) == LOOP_DOWN) in qla_edif_app_start() 702 if (atomic_read(&vha->loop_state) == LOOP_DOWN) in qla_edif_app_stop()
|
D | qla_bsg.c | 830 if (atomic_read(&vha->loop_state) == LOOP_READY && in qla2x00_process_loopback()
|
D | qla_gs.c | 4011 ls = atomic_read(&vha->loop_state); in qla24xx_post_gfpnid_work()
|