Lines Matching defs:lock
97 * "IDLE" -> "LOCKED" [label="lock"];
117 * by an attempt to lock the mutex as well. A limitation of this framework is
141 int (*lock)(mbedtls_threading_mutex_t *);
157 * 2. Any failure to lock is unlikely to be intermittent, and will thus not
206 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) {
218 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) {
248 int ret = mutex_functions.lock(mutex);
251 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) {
254 mbedtls_test_mutex_usage_error(mutex, "lock without init");
262 mbedtls_test_mutex_usage_error(mutex, "double lock");
282 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) {
288 mbedtls_test_mutex_usage_error(mutex, "unlock without lock");
308 mutex_functions.lock = mbedtls_mutex_lock;
320 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) {
346 mbedtls_mutex_lock = mutex_functions.lock;