Searched refs:mutex (Results 1 – 17 of 17) sorted by relevance
98 pthread_mutex_t *mutex; in ossl_crypto_mutex_new() local100 if ((mutex = OPENSSL_zalloc(sizeof(*mutex))) == NULL) in ossl_crypto_mutex_new()103 OPENSSL_free(mutex); in ossl_crypto_mutex_new()106 return (CRYPTO_MUTEX *)mutex; in ossl_crypto_mutex_new()113 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_try_lock()126 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_lock()136 mutex_p = (pthread_mutex_t *)mutex; in ossl_crypto_mutex_unlock()145 if (mutex == NULL) in ossl_crypto_mutex_free()148 mutex_p = (pthread_mutex_t **)mutex; in ossl_crypto_mutex_free()152 *mutex = NULL; in ossl_crypto_mutex_free()[all …]
99 CRITICAL_SECTION *mutex; in ossl_crypto_mutex_new() local101 if ((mutex = OPENSSL_zalloc(sizeof(*mutex))) == NULL) in ossl_crypto_mutex_new()103 InitializeCriticalSection(mutex); in ossl_crypto_mutex_new()104 return (CRYPTO_MUTEX *)mutex; in ossl_crypto_mutex_new()107 void ossl_crypto_mutex_lock(CRYPTO_MUTEX *mutex) in ossl_crypto_mutex_lock() argument111 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_lock()119 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_try_lock()130 mutex_p = (CRITICAL_SECTION *)mutex; in ossl_crypto_mutex_unlock()138 mutex_p = (CRITICAL_SECTION **)mutex; in ossl_crypto_mutex_free()142 *mutex = NULL; in ossl_crypto_mutex_free()[all …]
39 void ossl_crypto_mutex_lock(CRYPTO_MUTEX *mutex) in ossl_crypto_mutex_lock() argument43 int ossl_crypto_mutex_try_lock(CRYPTO_MUTEX *mutex) in ossl_crypto_mutex_try_lock() argument48 void ossl_crypto_mutex_unlock(CRYPTO_MUTEX *mutex) in ossl_crypto_mutex_unlock() argument52 void ossl_crypto_mutex_free(CRYPTO_MUTEX **mutex) in ossl_crypto_mutex_free() argument61 void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex) in ossl_crypto_condvar_wait() argument65 void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex, in ossl_crypto_condvar_wait_timeout() argument
167 CRYPTO_MUTEX *mutex) in poll_two_fds() argument209 if (mutex != NULL) in poll_two_fds()210 ossl_crypto_mutex_unlock(mutex); in poll_two_fds()236 if (mutex != NULL) in poll_two_fds()237 ossl_crypto_mutex_lock(mutex); in poll_two_fds()270 if (mutex != NULL) in poll_two_fds()271 ossl_crypto_mutex_unlock(mutex); in poll_two_fds()287 if (mutex != NULL) in poll_two_fds()288 ossl_crypto_mutex_lock(mutex); in poll_two_fds()324 CRYPTO_MUTEX *mutex) in poll_two_descriptors() argument[all …]
35 qeng->mutex = args->mutex; in ossl_quic_engine_new()74 return qeng->mutex; in ossl_quic_engine_get0_mutex()
38 CRYPTO_MUTEX *mutex; member96 if ((srv->mutex = ossl_crypto_mutex_new()) == NULL) in ossl_quic_tserver_new()124 engine_args.mutex = srv->mutex; in ossl_quic_tserver_new()162 ossl_crypto_mutex_free(&srv->mutex); in ossl_quic_tserver_new()185 ossl_crypto_mutex_free(&srv->mutex); in ossl_quic_tserver_free()
76 CRYPTO_MUTEX *mutex = ossl_quic_channel_get_mutex(ch); in ossl_quic_thread_assist_init_start() local78 if (mutex == NULL) in ossl_quic_thread_assist_init_start()
41 CRYPTO_MUTEX *mutex; member
157 CRYPTO_MUTEX *mutex; member
74 qc->mutex); in block_until_pred()314 ossl_crypto_mutex_lock(qc->mutex); in quic_lock()337 ossl_crypto_mutex_unlock(qc->mutex); in quic_unlock()392 if ((qc->mutex = ossl_crypto_mutex_new()) == NULL) { in ossl_quic_new()458 ossl_crypto_mutex_free(&qc->mutex); in ossl_quic_new()560 ossl_crypto_mutex_free(&ctx.qc->mutex); in ossl_quic_free()1507 engine_args.mutex = qc->mutex; in create_channel()
44 void ossl_crypto_mutex_lock(CRYPTO_MUTEX *mutex);45 int ossl_crypto_mutex_try_lock(CRYPTO_MUTEX *mutex);46 void ossl_crypto_mutex_unlock(CRYPTO_MUTEX *mutex);47 void ossl_crypto_mutex_free(CRYPTO_MUTEX **mutex);50 void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex);51 void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex,
54 CRYPTO_MUTEX *mutex; member
195 CRYPTO_MUTEX *mutex);
12 per-connection mutex for the duration of any public API call which we forward to
86 critical section (guarded by a mutex) to ensure that the trace output
1891 the mutex attribute `PTHREAD_MUTEX_ERRORCHECK` is used. If this is not
16040 Fix mutex callback return values in crypto/engine/hw_ncipher.c.
Completed in 94 milliseconds