Searched refs:is_valid (Results 1 – 5 of 5) sorted by relevance
117 if( mutex->is_valid ) in mbedtls_test_wrap_mutex_init()123 switch( mutex->is_valid ) in mbedtls_test_wrap_mutex_free()139 if( mutex->is_valid ) in mbedtls_test_wrap_mutex_free()147 switch( mutex->is_valid ) in mbedtls_test_wrap_mutex_lock()154 mutex->is_valid = 2; in mbedtls_test_wrap_mutex_lock()169 switch( mutex->is_valid ) in mbedtls_test_wrap_mutex_unlock()179 mutex->is_valid = MUTEX_IDLE; in mbedtls_test_wrap_mutex_unlock()
76 mutex->is_valid = pthread_mutex_init( &mutex->mutex, NULL ) == 0; in threading_mutex_init_pthread()81 if( mutex == NULL || !mutex->is_valid ) in threading_mutex_free_pthread()85 mutex->is_valid = 0; in threading_mutex_free_pthread()90 if( mutex == NULL || ! mutex->is_valid ) in threading_mutex_lock_pthread()101 if( mutex == NULL || ! mutex->is_valid ) in threading_mutex_unlock_pthread()
4015 if( hs_buf->is_valid == 1 ) in ssl_load_buffered_message()4028 if( ( hs_buf->is_valid == 1 ) && ( hs_buf->is_complete == 1 ) ) in ssl_load_buffered_message()4163 if( !hs_buf->is_valid ) in ssl_buffer_message()4250 hs_buf->is_valid = 1; in ssl_buffer_message()5858 if( hs_buf->is_valid == 1 ) in ssl_buffering_free_slot()
55 char is_valid; member
557 unsigned is_valid : 1; member