Lines Matching refs:mbedtls_threading_mutex_t

33 static void threading_mutex_init_pthread( mbedtls_threading_mutex_t *mutex )  in threading_mutex_init_pthread()
41 static void threading_mutex_free_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_free_pthread()
50 static int threading_mutex_lock_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_lock_pthread()
61 static int threading_mutex_unlock_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_unlock_pthread()
72 void (*mbedtls_mutex_init)( mbedtls_threading_mutex_t * ) = threading_mutex_init_pthread;
73 void (*mbedtls_mutex_free)( mbedtls_threading_mutex_t * ) = threading_mutex_free_pthread;
74 int (*mbedtls_mutex_lock)( mbedtls_threading_mutex_t * ) = threading_mutex_lock_pthread;
75 int (*mbedtls_mutex_unlock)( mbedtls_threading_mutex_t * ) = threading_mutex_unlock_pthread;
85 static int threading_mutex_fail( mbedtls_threading_mutex_t *mutex ) in threading_mutex_fail()
90 static void threading_mutex_dummy( mbedtls_threading_mutex_t *mutex ) in threading_mutex_dummy()
96 void (*mbedtls_mutex_init)( mbedtls_threading_mutex_t * ) = threading_mutex_dummy;
97 void (*mbedtls_mutex_free)( mbedtls_threading_mutex_t * ) = threading_mutex_dummy;
98 int (*mbedtls_mutex_lock)( mbedtls_threading_mutex_t * ) = threading_mutex_fail;
99 int (*mbedtls_mutex_unlock)( mbedtls_threading_mutex_t * ) = threading_mutex_fail;
104 void mbedtls_threading_set_alt( void (*mutex_init)( mbedtls_threading_mutex_t * ), in mbedtls_threading_set_alt() argument
105 void (*mutex_free)( mbedtls_threading_mutex_t * ), in mbedtls_threading_set_alt()
106 int (*mutex_lock)( mbedtls_threading_mutex_t * ), in mbedtls_threading_set_alt()
107 int (*mutex_unlock)( mbedtls_threading_mutex_t * ) ) in mbedtls_threading_set_alt()
134 mbedtls_threading_mutex_t mbedtls_threading_readdir_mutex MUTEX_INIT;
135 mbedtls_threading_mutex_t mbedtls_threading_gmtime_mutex MUTEX_INIT;