Home
last modified time | relevance | path

Searched refs:tmp_session (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotManager.c404 slot_session_t *tmp_session; in get_session() local
406 tmp_session = *session_list; in get_session()
408 while (tmp_session != NULL) { in get_session()
409 if (tmp_session->session_flags == flags) { in get_session()
412 tmp_session = tmp_session->next; in get_session()
417 if (tmp_session == NULL) { in get_session()
423 REMOVE_FROM_LIST(*session_list, tmp_session); in get_session()
424 return (tmp_session); in get_session()
443 slot_session_t *new_session, *tmp_session; in meta_get_slot_session() local
460 tmp_session = get_session(&(pool->idle_list_head), flags); in meta_get_slot_session()
[all …]
H A DmetaSessionManager.c112 meta_session_t *tmp_session = (meta_session_t *)(hSession); in meta_handle2session() local
115 if (tmp_session == NULL || in meta_handle2session()
116 tmp_session->magic_marker != METASLOT_SESSION_MAGIC) { in meta_handle2session()
124 (void) pthread_rwlock_wrlock(&tmp_session->session_lock); in meta_handle2session()
127 (void) pthread_mutex_lock(&tmp_session->isClosingSession_lock); in meta_handle2session()
128 if (tmp_session->isClosingSession) { in meta_handle2session()
130 &tmp_session->isClosingSession_lock); in meta_handle2session()
131 (void) pthread_rwlock_unlock(&tmp_session->session_lock); in meta_handle2session()
134 (void) pthread_mutex_unlock(&tmp_session->isClosingSession_lock); in meta_handle2session()
136 *session = tmp_session; in meta_handle2session()