Searched refs:oncelock (Results 1 – 1 of 1) sorted by relevance
41 CRYPTO_RWLOCK *oncelock; member81 ctx->oncelock = CRYPTO_THREAD_lock_new(); in context_init()82 if (ctx->oncelock == NULL) in context_init()111 CRYPTO_THREAD_lock_free(ctx->oncelock); in context_init()139 CRYPTO_THREAD_lock_free(ctx->oncelock); in context_deinit()458 if (!CRYPTO_THREAD_read_lock(ctx->oncelock)) in ossl_lib_ctx_run_once()463 CRYPTO_THREAD_unlock(ctx->oncelock); in ossl_lib_ctx_run_once()468 if (!CRYPTO_THREAD_write_lock(ctx->oncelock)) in ossl_lib_ctx_run_once()472 CRYPTO_THREAD_unlock(ctx->oncelock); in ossl_lib_ctx_run_once()479 CRYPTO_THREAD_unlock(ctx->oncelock); in ossl_lib_ctx_run_once()