Searched refs:loop_state (Results 1 – 10 of 10) sorted by relevance
/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() 398 atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_do_dpc_vp() 544 atomic_set(&vha->loop_state, LOOP_DOWN); in qla24xx_create_vhost()
|
D | qla_isr.c | 1292 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1293 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() 1350 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1351 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() 1391 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1392 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() 1431 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1432 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_async_event() 1461 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_async_event() 1462 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() 2849 } else if (atomic_read(&base_vha->loop_state) == LOOP_READY && in qla2x00_get_fc_host_stats() 3009 switch (atomic_read(&base_vha->loop_state)) { in qla2x00_get_host_port_state() 3066 atomic_set(&vha->loop_state, LOOP_DOWN); in qla24xx_vport_create() 3070 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_vport_create() 3071 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla24xx_vport_create() 3075 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 | 923 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_queuecommand() 927 atomic_read(&base_vha->loop_state)); in qla2xxx_queuecommand() 1014 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_mqueuecommand() 1018 atomic_read(&base_vha->loop_state)); in qla2xxx_mqueuecommand() 1746 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_loop_reset() 2840 return atomic_read(&vha->loop_state) == LOOP_READY; in qla2xxx_scan_finished() 7030 if (atomic_read(&base_vha->loop_state) == LOOP_READY) { in qla2x00_do_dpc() 7094 atomic_read(&base_vha->loop_state) != LOOP_DOWN) { in qla2x00_do_dpc() 7133 atomic_read(&base_vha->loop_state) == LOOP_READY) { in qla2x00_do_dpc() 7420 atomic_set(&vha->loop_state, LOOP_DEAD); in qla2x00_timer()
|
D | qla_init.c | 2699 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_initialize_adapter() 5737 atomic_set(&vha->loop_state, LOOP_READY); in qla2x00_configure_loop() 5818 atomic_set(&vha->loop_state, LOOP_DOWN); in qla_reinitialize_link() 7031 atomic_set(&ha->loop_state, LOOP_UP); in qla2x00_perform_loop_resync() 7038 atomic_set(&ha->loop_state, LOOP_DEAD); in qla2x00_perform_loop_resync() 7408 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_quiesce_io() 7409 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_quiesce_io() 7503 if (atomic_read(&vha->loop_state) != LOOP_DOWN) { in qla2x00_abort_isp_cleanup() 7504 atomic_set(&vha->loop_state, LOOP_DOWN); in qla2x00_abort_isp_cleanup() 9020 atomic_set(&vha->loop_state, LOOP_UP); in qla24xx_configure_vhba()
|
D | qla_def.h | 3351 int loop_state; member 4871 atomic_t loop_state; member 5148 atomic_read(&ha->loop_state) == LOOP_DOWN)
|
D | qla_edif.c | 519 if (atomic_read(&vha->loop_state) == LOOP_DOWN) in qla_edif_app_start() 619 if (atomic_read(&vha->loop_state) == LOOP_DOWN) in qla_edif_app_stop()
|
D | qla_gs.c | 4289 ls = atomic_read(&vha->loop_state); in qla24xx_post_gnnid_work() 4417 ls = atomic_read(&vha->loop_state); in qla24xx_post_gfpnid_work()
|
D | qla_bsg.c | 830 if (atomic_read(&vha->loop_state) == LOOP_READY && in qla2x00_process_loopback()
|