Lines Matching refs:mbedtls_test_mutex_mutex
162 mbedtls_threading_mutex_t mbedtls_test_mutex_mutex; variable
206 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_wrap_mutex_init()
210 mutex_functions.unlock(&mbedtls_test_mutex_mutex); in mbedtls_test_wrap_mutex_init()
218 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_wrap_mutex_free()
236 mutex_functions.unlock(&mbedtls_test_mutex_mutex); in mbedtls_test_wrap_mutex_free()
251 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_wrap_mutex_lock()
269 mutex_functions.unlock(&mbedtls_test_mutex_mutex); in mbedtls_test_wrap_mutex_lock()
282 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_wrap_mutex_unlock()
297 mutex_functions.unlock(&mbedtls_test_mutex_mutex); in mbedtls_test_wrap_mutex_unlock()
315 mutex_functions.init(&mbedtls_test_mutex_mutex); in mbedtls_test_mutex_usage_init()
320 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_mutex_usage_check()
338 mutex_functions.unlock(&mbedtls_test_mutex_mutex); in mbedtls_test_mutex_usage_check()
349 mutex_functions.free(&mbedtls_test_mutex_mutex); in mbedtls_test_mutex_usage_end()