Lines Matching refs:lock
50 CRYPTO_RWLOCK *lock; member
64 glob_tevent_reg->lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
65 if (glob_tevent_reg->skhands == NULL || glob_tevent_reg->lock == NULL) { in DEFINE_RUN_ONCE_STATIC()
67 CRYPTO_THREAD_lock_free(glob_tevent_reg->lock); in DEFINE_RUN_ONCE_STATIC()
162 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_push_handlers()
165 CRYPTO_THREAD_unlock(gtr->lock); in init_thread_push_handlers()
178 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_remove_handlers()
186 CRYPTO_THREAD_unlock(gtr->lock); in init_thread_remove_handlers()
190 CRYPTO_THREAD_unlock(gtr->lock); in init_thread_remove_handlers()
325 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_stop()
348 CRYPTO_THREAD_unlock(gtr->lock); in init_thread_stop()
420 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_deregister()
432 CRYPTO_THREAD_unlock(gtr->lock); in init_thread_deregister()
454 CRYPTO_THREAD_lock_free(gtr->lock); in init_thread_deregister()
458 CRYPTO_THREAD_unlock(gtr->lock); in init_thread_deregister()