Lines Matching refs:new_session
146 meta_session_t *new_session;
149 new_session = calloc(1, sizeof (meta_session_t));
150 if (new_session == NULL)
153 (new_session->mech_support_info).supporting_slots
155 if ((new_session->mech_support_info).supporting_slots == NULL) {
156 free(new_session);
159 (new_session->mech_support_info).num_supporting_slots = 0;
161 new_session->magic_marker = METASLOT_SESSION_MAGIC;
162 (void) pthread_rwlock_init(&new_session->session_lock, NULL);
163 (void) pthread_mutex_init(&new_session->isClosingSession_lock, NULL);
164 (void) pthread_rwlock_init(&new_session->object_list_lock, NULL);
166 *session = new_session;