Searched refs:index_locks (Results 1 – 1 of 1) sorted by relevance
39 CRYPTO_RWLOCK *index_locks[OSSL_LIB_CTX_MAX_INDEXES]; member86 ctx->index_locks[i] = CRYPTO_THREAD_lock_new(); in context_init()88 if (ctx->index_locks[i] == NULL) in context_init()110 CRYPTO_THREAD_lock_free(ctx->index_locks[i]); in context_init()137 CRYPTO_THREAD_lock_free(ctx->index_locks[i]); in context_deinit()383 if (!CRYPTO_THREAD_read_lock(ctx->index_locks[index])) in ossl_lib_ctx_get_data()386 CRYPTO_THREAD_unlock(ctx->index_locks[index]); in ossl_lib_ctx_get_data()391 CRYPTO_THREAD_unlock(ctx->index_locks[index]); in ossl_lib_ctx_get_data()395 if (!CRYPTO_THREAD_write_lock(ctx->index_locks[index])) in ossl_lib_ctx_get_data()398 CRYPTO_THREAD_unlock(ctx->index_locks[index]); in ossl_lib_ctx_get_data()[all …]