Searched refs:g_refcount_lock (Results 1 – 1 of 1) sorted by relevance
27 static struct CRYPTO_STATIC_MUTEX g_refcount_lock = CRYPTO_STATIC_MUTEX_INIT; variable30 CRYPTO_STATIC_MUTEX_lock_write(&g_refcount_lock); in CRYPTO_refcount_inc()34 CRYPTO_STATIC_MUTEX_unlock(&g_refcount_lock); in CRYPTO_refcount_inc()40 CRYPTO_STATIC_MUTEX_lock_write(&g_refcount_lock); in CRYPTO_refcount_dec_and_test_zero()48 CRYPTO_STATIC_MUTEX_unlock(&g_refcount_lock); in CRYPTO_refcount_dec_and_test_zero()