Searched refs:mbedtls_threading_mutex_t (Results 1 – 17 of 17) sorted by relevance
53 static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_init_pthread()68 static void threading_mutex_free_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_free_pthread()77 static int threading_mutex_lock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_lock_pthread()90 static int threading_mutex_unlock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_unlock_pthread()103 void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *) = threading_mutex_init_pthread;104 void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *) = threading_mutex_free_pthread;105 int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *) = threading_mutex_lock_pthread;106 int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *) = threading_mutex_unlock_pthread;116 static int threading_mutex_fail(mbedtls_threading_mutex_t *mutex) in threading_mutex_fail()121 static void threading_mutex_dummy(mbedtls_threading_mutex_t *mutex) in threading_mutex_dummy()[all …]
63 mbedtls_threading_mutex_t mutex;
29 typedef struct mbedtls_threading_mutex_t { struct39 } mbedtls_threading_mutex_t; typedef64 void mbedtls_threading_set_alt(void (*mutex_init)(mbedtls_threading_mutex_t *),65 void (*mutex_free)(mbedtls_threading_mutex_t *),66 int (*mutex_lock)(mbedtls_threading_mutex_t *),67 int (*mutex_unlock)(mbedtls_threading_mutex_t *));81 extern void (*mbedtls_mutex_init)(mbedtls_threading_mutex_t *mutex);82 extern void (*mbedtls_mutex_free)(mbedtls_threading_mutex_t *mutex);83 extern int (*mbedtls_mutex_lock)(mbedtls_threading_mutex_t *mutex);84 extern int (*mbedtls_mutex_unlock)(mbedtls_threading_mutex_t *mutex);[all …]
59 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
72 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
82 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
100 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
113 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
214 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
120 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< Thread-safety mutex. */
139 void (*init)(mbedtls_threading_mutex_t *);140 void (*free)(mbedtls_threading_mutex_t *);141 int (*lock)(mbedtls_threading_mutex_t *);142 int (*unlock)(mbedtls_threading_mutex_t *);162 mbedtls_threading_mutex_t mbedtls_test_mutex_mutex;173 static void mbedtls_test_mutex_usage_error(mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()186 static int mbedtls_test_mutex_can_test(mbedtls_threading_mutex_t *mutex) in mbedtls_test_mutex_can_test()201 static void mbedtls_test_wrap_mutex_init(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_init()215 static void mbedtls_test_wrap_mutex_free(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_free()243 static int mbedtls_test_wrap_mutex_lock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_lock()[all …]
33 mbedtls_threading_mutex_t mbedtls_test_info_mutex;306 mbedtls_threading_mutex_t *mbedtls_test_get_info_mutex(void) in mbedtls_test_get_info_mutex()
261 mbedtls_threading_mutex_t mutex; in mutex_lock_not_initialized()277 mbedtls_threading_mutex_t mutex; in mutex_unlock_not_initialized()293 mbedtls_threading_mutex_t mutex; in mutex_free_not_initialized()307 mbedtls_threading_mutex_t mutex; in mutex_double_init()322 mbedtls_threading_mutex_t mutex; in mutex_double_free()337 mbedtls_threading_mutex_t mutex; in mutex_leak()
10 typedef struct mbedtls_threading_mutex_t { struct12 } mbedtls_threading_mutex_t; typedef
257 mbedtls_threading_mutex_t *mbedtls_test_get_info_mutex(void);
64 mbedtls_threading_mutex_t debug_mutex;
1350 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(key_loaded_mutex);