Searched refs:tpg_state (Results 1 – 6 of 6) sorted by relevance
45 tpg->tpg_state = TPG_STATE_FREE; in iscsit_alloc_portal_group()101 tpg->tpg_state = TPG_STATE_ACTIVE; in iscsit_load_discovery_tpg()140 if (tpg->tpg_state != TPG_STATE_ACTIVE) { in iscsit_get_tpg_from_np()235 if (tpg->tpg_state != TPG_STATE_FREE) { in iscsit_tpg_add_portal_group()248 tpg->tpg_state = TPG_STATE_INACTIVE; in iscsit_tpg_add_portal_group()273 u8 old_state = tpg->tpg_state; in iscsit_tpg_del_portal_group()276 tpg->tpg_state = TPG_STATE_INACTIVE; in iscsit_tpg_del_portal_group()283 tpg->tpg_state = old_state; in iscsit_tpg_del_portal_group()297 tpg->tpg_state = TPG_STATE_FREE; in iscsit_tpg_del_portal_group()319 if (tpg->tpg_state == TPG_STATE_ACTIVE) { in iscsit_tpg_enable_portal_group()[all …]
820 enum tpg_state_table tpg_state; member
799 tpg_active = (sess->tpg->tpg_state == TPG_STATE_ACTIVE); in iscsit_start_time2retain_handler()
225 if (tpg->tpg_state != TPG_STATE_ACTIVE) { in iscsit_access_np()239 if (tpg->tpg_state != TPG_STATE_ACTIVE) { in iscsit_access_np()3442 if ((tpg->tpg_state == TPG_STATE_FREE) || in iscsit_build_sendtargets_response()3443 (tpg->tpg_state == TPG_STATE_INACTIVE)) { in iscsit_build_sendtargets_response()
606 state = (tpg->tpg_state == TPG_STATE_ACTIVE); in iscsi_target_do_login_rx()
1366 (tpg->tpg_state == TPG_STATE_ACTIVE) ? 1 : 0); in lio_target_tpg_show_enable()