Searched refs:mutex_p (Results 1 – 2 of 2) sorted by relevance
111 pthread_mutex_t *mutex_p; in ossl_crypto_mutex_try_lock() local113 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() local126 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() local136 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[all …]
109 CRITICAL_SECTION *mutex_p; in ossl_crypto_mutex_lock() local111 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() local119 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() local130 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[all …]