Searched refs:cv_p (Results 1 – 2 of 2) sorted by relevance
157 pthread_cond_t *cv_p; in ossl_crypto_condvar_new() local159 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() local173 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() local190 pthread_cond_wait(cv_p, mutex_p); in ossl_crypto_condvar_wait_timeout()[all …]
333 void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv_p) in ossl_crypto_condvar_free() argument335 if (*cv_p != NULL) { in ossl_crypto_condvar_free()336 LEGACY_CONDVAR *cv = *(LEGACY_CONDVAR **)cv_p; in ossl_crypto_condvar_free()344 *cv_p = NULL; in ossl_crypto_condvar_free()536 CONDITION_VARIABLE *cv_p; in ossl_crypto_condvar_new() local538 if ((cv_p = OPENSSL_zalloc(sizeof(*cv_p))) == NULL) in ossl_crypto_condvar_new()540 InitializeConditionVariable(cv_p); in ossl_crypto_condvar_new()541 return (CRYPTO_CONDVAR *)cv_p; in ossl_crypto_condvar_new()546 CONDITION_VARIABLE *cv_p; in ossl_crypto_condvar_wait() local549 cv_p = (CONDITION_VARIABLE *)cv; in ossl_crypto_condvar_wait()[all …]