Lines Matching refs:session_cache
153 static PK11_CACHE session_cache[OP_MAX];
841 session_cache[type].lock =
843 if (session_cache[type].lock == NULL)
845 (void) pthread_mutex_init(session_cache[type].lock, NULL);
887 if (session_cache[type].lock != NULL)
889 (void) pthread_mutex_destroy(session_cache[type].lock);
890 OPENSSL_free(session_cache[type].lock);
891 session_cache[type].lock = NULL;
1036 (void) pthread_mutex_lock(session_cache[i].lock);
1050 (void) pthread_mutex_unlock(session_cache[i].lock);
1074 (void) pthread_mutex_unlock(session_cache[i].lock);
1164 session_cache[i].head = NULL;
1524 freelist_lock = session_cache[optype].lock;
1541 freelist = session_cache[optype].head;
1669 session_cache[optype].head = freelist;
1703 freelist_lock = session_cache[optype].lock;
1712 freelist = session_cache[optype].head;
1714 session_cache[optype].head = sp;
1771 freelist_lock = session_cache[optype].lock;
1780 freelist = session_cache[optype].head;
1976 (void) pthread_mutex_lock(session_cache[OP_RSA].lock);
1977 local_free_session = session_cache[OP_RSA].head;
2005 (void) pthread_mutex_unlock(session_cache[OP_RSA].lock);
2072 (void) pthread_mutex_lock(session_cache[OP_DSA].lock);
2073 local_free_session = session_cache[OP_DSA].head;
2101 (void) pthread_mutex_unlock(session_cache[OP_DSA].lock);
2148 (void) pthread_mutex_lock(session_cache[OP_DH].lock);
2149 local_free_session = session_cache[OP_DH].head;
2168 (void) pthread_mutex_unlock(session_cache[OP_DH].lock);
2955 (void) pthread_mutex_lock(session_cache[OP_CIPHER].lock);
2956 local_free_session = session_cache[OP_CIPHER].head;
2979 (void) pthread_mutex_unlock(session_cache[OP_CIPHER].lock);