Lines Matching defs:existing_sess
1289 iscsit_sess_t *existing_sess = NULL;
1400 existing_sess = iscsit_tgt_lookup_sess(tgt, lsm->icl_initiator_name,
1402 if (existing_sess != NULL) {
1403 existing_ict = iscsit_sess_lookup_conn(existing_sess,
1412 ((lsm->icl_tsih != ISCSI_UNSPEC_TSIH) || (existing_sess != NULL))) {
1424 if ((existing_sess == NULL) && (lsm->icl_tsih != ISCSI_UNSPEC_TSIH)) {
1432 if ((existing_sess != NULL) && (lsm->icl_tsih != 0) &&
1433 (existing_sess->ist_tsih != lsm->icl_tsih)) {
1443 if (existing_sess == NULL) {
1478 new_sess = iscsit_sess_reinstate(tgt, existing_sess,
1533 iscsit_sess_sm_event(existing_sess, SE_CONN_IN_LOGIN,
1540 if (existing_sess != NULL)
1541 iscsit_sess_rele(existing_sess);
1551 if (existing_sess != NULL)
1552 iscsit_sess_rele(existing_sess);