Lines Matching refs:tpg

127 	struct iscsi_portal_group *tpg = conn->tpg;  in iscsi_check_for_session_reinstatement()  local
129 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_check_for_session_reinstatement()
300 sess->tpg = conn->tpg; in iscsi_login_zero_tsih_s2()
432 struct iscsi_portal_group *tpg = conn->tpg; in iscsi_login_non_zero_tsih_s2() local
434 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_login_non_zero_tsih_s2()
588 struct iscsi_portal_group *tpg = ISCSI_TPG_S(sess); in iscsi_post_login_handler() local
589 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_post_login_handler()
623 conn->local_ip, conn->local_port, tpg->tpgt); in iscsi_post_login_handler()
659 __transport_register_session(&sess->tpg->tpg_se_tpg, in iscsi_post_login_handler()
666 tpg->tpgt); in iscsi_post_login_handler()
676 sess->sid = tpg->sid++; in iscsi_post_login_handler()
678 sess->sid = tpg->sid++; in iscsi_post_login_handler()
682 tpg->nsessions++; in iscsi_post_login_handler()
683 if (tpg->tpg_tiqn) in iscsi_post_login_handler()
684 tpg->tpg_tiqn->tiqn_nsessions++; in iscsi_post_login_handler()
687 " iSCSI Target Portal Group: %hu\n", tpg->nsessions, tpg->tpgt); in iscsi_post_login_handler()
868 struct iscsi_portal_group *tpg = NULL; in __iscsi_target_login_thread() local
1062 tpg = conn->tpg; in __iscsi_target_login_thread()
1066 tpg = conn->tpg; in __iscsi_target_login_thread()
1067 if (!tpg) { in __iscsi_target_login_thread()
1102 iscsit_deaccess_np(np, tpg); in __iscsi_target_login_thread()
1103 tpg = NULL; in __iscsi_target_login_thread()
1164 if (tpg) { in __iscsi_target_login_thread()
1165 iscsit_deaccess_np(np, tpg); in __iscsi_target_login_thread()
1166 tpg = NULL; in __iscsi_target_login_thread()