Home
last modified time | relevance | path

Searched refs:lock_count (Results 1 – 5 of 5) sorted by relevance

/NextBSD/crypto/openssl/crypto/threads/
HDth-lock.c164 static long *lock_count; variable
179 lock_count = OPENSSL_malloc(CRYPTO_num_locks() * sizeof(long)); in CRYPTO_thread_setup()
181 lock_count[i] = 0; in CRYPTO_thread_setup()
206 OPENSSL_free(lock_count); in CRYPTO_thread_cleanup()
232 lock_count[type]++; in solaris_locking_callback()
323 static long *lock_count; variable
330 lock_count = OPENSSL_malloc(CRYPTO_num_locks() * sizeof(long)); in CRYPTO_thread_setup()
331 if (!lock_cs || !lock_count) { in CRYPTO_thread_setup()
335 if (lock_count) in CRYPTO_thread_setup()
336 OPENSSL_free(lock_count); in CRYPTO_thread_setup()
[all …]
HDmttest.c124 static long *lock_count; variable
756 static long *lock_count; variable
763 lock_count = OPENSSL_malloc(CRYPTO_num_locks() * sizeof(long)); in thread_setup()
765 lock_count[i] = 0; in thread_setup()
785 BIO_printf(bio_err, "%8ld:%s\n", lock_count[i], CRYPTO_get_lock_name(i)); in thread_cleanup()
788 OPENSSL_free(lock_count); in thread_cleanup()
817 lock_count[type]++; in solaris_locking_callback()
949 static long *lock_count; variable
956 lock_count = OPENSSL_malloc(CRYPTO_num_locks() * sizeof(long)); in thread_setup()
958 lock_count[i] = 0; in thread_setup()
[all …]
/NextBSD/sys/dev/drm2/
HDdrm_lock.c64 ++file_priv->lock_count; in drm_lock()
377 return (file_priv->lock_count && master->lock.hw_lock && in drm_i_have_hw_lock()
HDdrm_fops.c203 priv->lock_count = 0; in drm_open_helper()
HDdrmP.h409 unsigned long lock_count; member