Lines Matching refs:cv_p
157 pthread_cond_t *cv_p; in ossl_crypto_condvar_new() local
159 if ((cv_p = OPENSSL_zalloc(sizeof(*cv_p))) == NULL) in ossl_crypto_condvar_new()
161 if (pthread_cond_init(cv_p, NULL) != 0) { in ossl_crypto_condvar_new()
162 OPENSSL_free(cv_p); in ossl_crypto_condvar_new()
165 return (CRYPTO_CONDVAR *) cv_p; in ossl_crypto_condvar_new()
170 pthread_cond_t *cv_p; in ossl_crypto_condvar_wait() local
173 cv_p = (pthread_cond_t *)cv; in ossl_crypto_condvar_wait()
175 pthread_cond_wait(cv_p, mutex_p); in ossl_crypto_condvar_wait()
181 pthread_cond_t *cv_p = (pthread_cond_t *)cv; 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()
205 pthread_cond_t *cv_p; in ossl_crypto_condvar_broadcast() local
207 cv_p = (pthread_cond_t *)cv; in ossl_crypto_condvar_broadcast()
208 pthread_cond_broadcast(cv_p); in ossl_crypto_condvar_broadcast()
213 pthread_cond_t *cv_p; in ossl_crypto_condvar_signal() local
215 cv_p = (pthread_cond_t *)cv; in ossl_crypto_condvar_signal()
216 pthread_cond_signal(cv_p); in ossl_crypto_condvar_signal()
221 pthread_cond_t **cv_p; in ossl_crypto_condvar_free() local
226 cv_p = (pthread_cond_t **)cv; in ossl_crypto_condvar_free()
227 if (*cv_p != NULL) in ossl_crypto_condvar_free()
228 pthread_cond_destroy(*cv_p); in ossl_crypto_condvar_free()
229 OPENSSL_free(*cv_p); in ossl_crypto_condvar_free()
230 *cv_p = NULL; in ossl_crypto_condvar_free()