Lines Matching refs:CRYPTO_num_locks
116 lock_cs=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(HANDLE)); in CRYPTO_thread_setup()
117 for (i=0; i<CRYPTO_num_locks(); i++) in CRYPTO_thread_setup()
132 for (i=0; i<CRYPTO_num_locks(); i++) in CRYPTO_thread_cleanup()
167 lock_cs=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(mutex_t)); in CRYPTO_thread_setup()
169 lock_cs=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(rwlock_t)); in CRYPTO_thread_setup()
171 lock_count=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(long)); in CRYPTO_thread_setup()
172 for (i=0; i<CRYPTO_num_locks(); i++) in CRYPTO_thread_setup()
191 for (i=0; i<CRYPTO_num_locks(); i++) in CRYPTO_thread_cleanup()
270 lock_cs=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(usema_t *)); in CRYPTO_thread_setup()
271 for (i=0; i<CRYPTO_num_locks(); i++) in CRYPTO_thread_setup()
285 for (i=0; i<CRYPTO_num_locks(); i++) in CRYPTO_thread_cleanup()
327 lock_cs=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(pthread_mutex_t)); in CRYPTO_thread_setup()
328 lock_count=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(long)); in CRYPTO_thread_setup()
329 for (i=0; i<CRYPTO_num_locks(); i++) in CRYPTO_thread_setup()
344 for (i=0; i<CRYPTO_num_locks(); i++) in thread_cleanup()