Home
last modified time | relevance | path

Searched refs:loop_state (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_mid.c180 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()
Dqla_isr.c1437 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 …]
Dqla_attr.c1173 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()
Dqla_mr.c1313 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()
Dqla_os.c941 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()
Dqla_init.c2697 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()
Dqla_def.h3399 int loop_state; member
4931 atomic_t loop_state; member
5211 atomic_read(&ha->loop_state) == LOOP_DOWN)
Dqla_edif.c602 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()
Dqla_bsg.c830 if (atomic_read(&vha->loop_state) == LOOP_READY && in qla2x00_process_loopback()
Dqla_gs.c4011 ls = atomic_read(&vha->loop_state); in qla24xx_post_gfpnid_work()