Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_mid.c149 atomic_set(&vha->loop_state, LOOP_DOWN); in qla24xx_disable_vp()
172 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_enable_vp()
173 atomic_read(&base_vha->loop_state) == LOOP_DEAD || in qla24xx_enable_vp()
273 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_vp_abort_isp()
274 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_vp_abort_isp()
312 atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_do_dpc_vp()
445 atomic_set(&vha->loop_state, LOOP_DOWN); in qla24xx_create_vhost()
Dqla_isr.c460 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event()
461 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event()
510 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event()
511 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event()
533 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event()
534 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event()
570 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event()
571 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event()
603 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event()
604 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event()
[all …]
Dqla_attr.c995 if (atomic_read(&vha->loop_state) == LOOP_DOWN || in qla2x00_link_state_show()
996 atomic_read(&vha->loop_state) == LOOP_DEAD || in qla2x00_link_state_show()
999 else if (atomic_read(&vha->loop_state) != LOOP_READY || in qla2x00_link_state_show()
1657 } else if (atomic_read(&base_vha->loop_state) == LOOP_READY && in qla2x00_get_fc_host_stats()
1729 else if (atomic_read(&base_vha->loop_state) == LOOP_TIMEOUT) in qla2x00_get_host_port_state()
1771 atomic_set(&vha->loop_state, LOOP_DOWN); in qla24xx_vport_create()
1775 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_vport_create()
1776 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla24xx_vport_create()
1780 atomic_set(&vha->loop_state, LOOP_DEAD); in qla24xx_vport_create()
Dqla_os.c563 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_queuecommand()
773 atomic_read(&base_vha->loop_state) == LOOP_DOWN) || in qla2x00_wait_for_loop_ready()
774 atomic_read(&base_vha->loop_state) != LOOP_READY) { in qla2x00_wait_for_loop_ready()
775 if (atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2x00_wait_for_loop_ready()
1182 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_loop_reset()
1891 return atomic_read(&vha->loop_state) == LOOP_READY; in qla2xxx_scan_finished()
3413 atomic_read(&base_vha->loop_state) != LOOP_DOWN) { in qla2x00_do_dpc()
3443 atomic_read(&base_vha->loop_state) == LOOP_READY) { in qla2x00_do_dpc()
3626 atomic_set(&vha->loop_state, LOOP_DEAD); in qla2x00_timer()
Dqla_init.c503 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_initialize_adapter()
2632 atomic_set(&vha->loop_state, LOOP_READY); in qla2x00_configure_loop()
3817 atomic_set(&vha->loop_state, LOOP_UPDATE); in qla2x00_loop_resync()
3824 atomic_set(&vha->loop_state, LOOP_UPDATE); in qla2x00_loop_resync()
3868 atomic_set(&ha->loop_state, LOOP_UP); in qla2x00_perform_loop_resync()
3875 atomic_set(&ha->loop_state, LOOP_DEAD); in qla2x00_perform_loop_resync()
3928 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla82xx_quiescent_state_cleanup()
3929 atomic_set(&vha->loop_state, LOOP_DOWN); in qla82xx_quiescent_state_cleanup()
3970 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_abort_isp_cleanup()
3971 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_abort_isp_cleanup()
[all …]
Dqla_def.h2163 int loop_state; member
2843 atomic_t loop_state; member
2947 atomic_read(&ha->loop_state) == LOOP_DOWN)