Searched defs:buffer_lock (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c60 static pthread_mutex_t buffer_lock = PTHREAD_MUTEX_INITIALIZER; variable
545 (void) pthread_mutex_lock(&buffer_lock);
549 (void) pthread_mutex_unlock(&buffer_lock);
574 (void) pthread_mutex_lock(&buffer_lock);
579 (void) pthread_mutex_unlock(&buffer_lock);
592 (void) pthread_mutex_lock(&buffer_lock);
613 (void) pthread_mutex_unlock(&buffer_lock);
/illumos-gate/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);
257 mutex_destroy(&buffer_lock);
460 ASSERT(MUTEX_HELD(&buffer_lock));
480 mutex_enter(&buffer_lock);
499 mutex_exit(&buffer_lock);
538 mutex_enter(&buffer_lock);
540 mutex_exit(&buffer_lock);

Completed in 64 milliseconds