Lines Matching refs:mutex_p
109 CRITICAL_SECTION *mutex_p; in ossl_crypto_mutex_lock() local
111 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_lock()
112 EnterCriticalSection(mutex_p); in ossl_crypto_mutex_lock()
117 CRITICAL_SECTION *mutex_p; in ossl_crypto_mutex_try_lock() local
119 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_try_lock()
120 if (TryEnterCriticalSection(mutex_p)) in ossl_crypto_mutex_try_lock()
128 CRITICAL_SECTION *mutex_p; in ossl_crypto_mutex_unlock() local
130 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_unlock()
131 LeaveCriticalSection(mutex_p); in ossl_crypto_mutex_unlock()
136 CRITICAL_SECTION **mutex_p; in ossl_crypto_mutex_free() local
138 mutex_p = (CRITICAL_SECTION **)mutex; in ossl_crypto_mutex_free()
139 if (*mutex_p != NULL) in ossl_crypto_mutex_free()
140 DeleteCriticalSection(*mutex_p); in ossl_crypto_mutex_free()
141 OPENSSL_free(*mutex_p); in ossl_crypto_mutex_free()
547 CRITICAL_SECTION *mutex_p; in ossl_crypto_condvar_wait() local
550 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_condvar_wait()
551 SleepConditionVariableCS(cv_p, mutex_p, INFINITE); in ossl_crypto_condvar_wait()
559 CRITICAL_SECTION *mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_condvar_wait_timeout() local
564 SleepConditionVariableCS(cv_p, mutex_p, timeout); in ossl_crypto_condvar_wait_timeout()