Searched refs:CRYPTO_num_locks (Results 1 – 8 of 8) sorted by relevance
72 mutex_buf = malloc(CRYPTO_num_locks() * sizeof(MUTEX_TYPE)); in thread_setup()75 for(i = 0; i < CRYPTO_num_locks(); i++) in thread_setup()90 for(i = 0; i < CRYPTO_num_locks(); i++) in thread_cleanup()
74 lockarray = (pthread_mutex_t *)OPENSSL_malloc(CRYPTO_num_locks() * in init_locks()76 for(i = 0; i<CRYPTO_num_locks(); i++) { in init_locks()89 for(i = 0; i<CRYPTO_num_locks(); i++) in kill_locks()
149 mutex_buf = malloc(CRYPTO_num_locks() * sizeof(MUTEX_TYPE)); in InitializeTLS()155 for (i = 0; i < CRYPTO_num_locks(); i++) in InitializeTLS()605 for (i = 0; i < CRYPTO_num_locks(); i++) in FreeTLS()
60 int CRYPTO_num_locks(void) { return 1; } in CRYPTO_num_locks() function
120 OPENSSL_EXPORT int CRYPTO_num_locks(void);
245 mutex_buf = new MUTEX_TYPE[CRYPTO_num_locks()]; in InitializeSSLThread()248 for (int i = 0; i < CRYPTO_num_locks(); ++i) in InitializeSSLThread()271 for (int i = 0; i < CRYPTO_num_locks(); ++i) in CleanupSSL()
4011 _ssl_locks_count = CRYPTO_num_locks(); in _setup_ssl_threads()
5080 _ssl_locks_count = CRYPTO_num_locks(); in _setup_ssl_threads()