Lines Matching refs:mutex_p
111 pthread_mutex_t *mutex_p; in ossl_crypto_mutex_try_lock() local
113 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_try_lock()
115 if (pthread_mutex_trylock(mutex_p) == EBUSY) in ossl_crypto_mutex_try_lock()
124 pthread_mutex_t *mutex_p; in ossl_crypto_mutex_lock() local
126 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_lock()
127 rc = pthread_mutex_lock(mutex_p); in ossl_crypto_mutex_lock()
134 pthread_mutex_t *mutex_p; in ossl_crypto_mutex_unlock() local
136 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_unlock()
137 rc = pthread_mutex_unlock(mutex_p); in ossl_crypto_mutex_unlock()
143 pthread_mutex_t **mutex_p; in ossl_crypto_mutex_free() local
148 mutex_p = (pthread_mutex_t **)mutex; in ossl_crypto_mutex_free()
149 if (*mutex_p != NULL) in ossl_crypto_mutex_free()
150 pthread_mutex_destroy(*mutex_p); in ossl_crypto_mutex_free()
151 OPENSSL_free(*mutex_p); in ossl_crypto_mutex_free()
171 pthread_mutex_t *mutex_p; in ossl_crypto_condvar_wait() local
174 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_condvar_wait()
175 pthread_cond_wait(cv_p, mutex_p); in ossl_crypto_condvar_wait()
182 pthread_mutex_t *mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_condvar_wait_timeout() local
190 pthread_cond_wait(cv_p, mutex_p); in ossl_crypto_condvar_wait_timeout()
199 pthread_cond_timedwait(cv_p, mutex_p, &deadline_ts); in ossl_crypto_condvar_wait_timeout()