Lines Matching refs:cv_p
333 void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv_p) in ossl_crypto_condvar_free() argument
335 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() local
538 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() local
549 cv_p = (CONDITION_VARIABLE *)cv; in ossl_crypto_condvar_wait()
551 SleepConditionVariableCS(cv_p, mutex_p, INFINITE); in ossl_crypto_condvar_wait()
558 CONDITION_VARIABLE *cv_p = (CONDITION_VARIABLE *)cv; in ossl_crypto_condvar_wait_timeout() local
564 SleepConditionVariableCS(cv_p, mutex_p, timeout); in ossl_crypto_condvar_wait_timeout()
569 CONDITION_VARIABLE *cv_p; in ossl_crypto_condvar_broadcast() local
571 cv_p = (CONDITION_VARIABLE *)cv; in ossl_crypto_condvar_broadcast()
572 WakeAllConditionVariable(cv_p); in ossl_crypto_condvar_broadcast()
577 CONDITION_VARIABLE *cv_p; in ossl_crypto_condvar_signal() local
579 cv_p = (CONDITION_VARIABLE *)cv; in ossl_crypto_condvar_signal()
580 WakeConditionVariable(cv_p); in ossl_crypto_condvar_signal()
585 CONDITION_VARIABLE **cv_p; in ossl_crypto_condvar_free() local
587 cv_p = (CONDITION_VARIABLE **)cv; in ossl_crypto_condvar_free()
588 OPENSSL_free(*cv_p); in ossl_crypto_condvar_free()
589 *cv_p = NULL; in ossl_crypto_condvar_free()