Home
last modified time | relevance | path

Searched refs:buffer_lock (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c60 static pthread_mutex_t buffer_lock = PTHREAD_MUTEX_INITIALIZER; variable
547 (void) pthread_mutex_lock(&buffer_lock); in get_seqnum()
551 (void) pthread_mutex_unlock(&buffer_lock); in get_seqnum()
576 (void) pthread_mutex_lock(&buffer_lock); in add_buffer()
581 (void) pthread_mutex_unlock(&buffer_lock); in add_buffer()
594 (void) pthread_mutex_lock(&buffer_lock); in free_buffer()
615 (void) pthread_mutex_unlock(&buffer_lock); in free_buffer()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dswrand.c90 static kmutex_t buffer_lock; /* protects r/w accesses to buffer */ variable
204 mutex_init(&buffer_lock, NULL, MUTEX_DEFAULT, NULL); in _init()
257 mutex_destroy(&buffer_lock); in _init()
460 ASSERT(MUTEX_HELD(&buffer_lock)); in swrand_add_bytes_later()
480 mutex_enter(&buffer_lock); in swrand_mix_pool()
499 mutex_exit(&buffer_lock); in swrand_mix_pool()
538 mutex_enter(&buffer_lock); in swrand_add_entropy_later()
540 mutex_exit(&buffer_lock); in swrand_add_entropy_later()