Home
last modified time | relevance | path

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

/drivers/target/iscsi/
Discsi_target_tpg.c45 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 …]
Discsi_target_core.h820 enum tpg_state_table tpg_state; member
Discsi_target_erl0.c799 tpg_active = (sess->tpg->tpg_state == TPG_STATE_ACTIVE); in iscsit_start_time2retain_handler()
Discsi_target.c225 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()
Discsi_target_nego.c606 state = (tpg->tpg_state == TPG_STATE_ACTIVE); in iscsi_target_do_login_rx()
Discsi_target_configfs.c1366 (tpg->tpg_state == TPG_STATE_ACTIVE) ? 1 : 0); in lio_target_tpg_show_enable()