Searched refs:g_lock (Results 1 – 5 of 5) sorted by relevance
26 static struct CRYPTO_STATIC_MUTEX g_lock = CRYPTO_STATIC_MUTEX_INIT; variable35 CRYPTO_STATIC_MUTEX_lock_write(&g_lock); in RAND_enable_fork_unsafe_buffering()37 CRYPTO_STATIC_MUTEX_unlock_write(&g_lock); in RAND_enable_fork_unsafe_buffering()42 CRYPTO_STATIC_MUTEX_lock_read(&g_lock); in rand_fork_unsafe_buffering_enabled()44 CRYPTO_STATIC_MUTEX_unlock_read(&g_lock); in rand_fork_unsafe_buffering_enabled()
12 Lock MockLog::g_lock; member in base::test::MockLog24 AutoLock scoped_lock(g_lock); in StartCapturingLogs()39 AutoLock scoped_lock(g_lock); in StopCapturingLogs()62 AutoLock scoped_lock(g_lock); in LogMessageHandler()
78 static Lock g_lock; variable
39 static LazyInstance<Lock>::Leaky g_lock = LAZY_INSTANCE_INITIALIZER; in GetOrCreateCategoryByName() local43 AutoLock lock(g_lock.Get()); in GetOrCreateCategoryByName()