Searched refs:mbedtls_threading_mutex_t (Results 1 – 13 of 13) sorted by relevance
65 static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_init_pthread()80 static void threading_mutex_free_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_free_pthread()90 static int threading_mutex_lock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_lock_pthread()103 static int threading_mutex_unlock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_unlock_pthread()116 void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *) = threading_mutex_init_pthread;117 void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *) = threading_mutex_free_pthread;118 int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *) = threading_mutex_lock_pthread;119 int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *) = threading_mutex_unlock_pthread;129 static int threading_mutex_fail(mbedtls_threading_mutex_t *mutex) in threading_mutex_fail()134 static void threading_mutex_dummy(mbedtls_threading_mutex_t *mutex) in threading_mutex_dummy()[all …]
75 mbedtls_threading_mutex_t mutex;
41 typedef struct mbedtls_threading_mutex_t { struct47 } mbedtls_threading_mutex_t; typedef72 void mbedtls_threading_set_alt(void (*mutex_init)(mbedtls_threading_mutex_t *),73 void (*mutex_free)(mbedtls_threading_mutex_t *),74 int (*mutex_lock)(mbedtls_threading_mutex_t *),75 int (*mutex_unlock)(mbedtls_threading_mutex_t *));89 extern void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *mutex);90 extern void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *mutex);91 extern int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *mutex);92 extern int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *mutex);[all …]
71 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
84 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
90 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
112 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
131 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
210 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
126 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< Thread-safety mutex. */
85 void (*init)(mbedtls_threading_mutex_t *);86 void (*free)(mbedtls_threading_mutex_t *);87 int (*lock)(mbedtls_threading_mutex_t *);88 int (*unlock)(mbedtls_threading_mutex_t *);99 static void mbedtls_test_mutex_usage_error(mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()113 static void mbedtls_test_wrap_mutex_init(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_init()121 static void mbedtls_test_wrap_mutex_free(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_free()144 static int mbedtls_test_wrap_mutex_lock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_lock()166 static int mbedtls_test_wrap_mutex_unlock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_unlock()
22 typedef struct mbedtls_threading_mutex_t { struct24 } mbedtls_threading_mutex_t; argument
76 mbedtls_threading_mutex_t debug_mutex;