Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c44 static pthread_mutex_t _libsmp_lock = PTHREAD_MUTEX_INITIALIZER; variable
65 ASSERT(MUTEX_HELD(&_libsmp_lock)); in smp_engine_destroy()
87 (void) pthread_mutex_lock(&_libsmp_lock); in smp_engine_init()
89 (void) pthread_mutex_unlock(&_libsmp_lock); in smp_engine_init()
97 (void) pthread_mutex_lock(&_libsmp_lock); in smp_engine_fini()
106 (void) pthread_mutex_unlock(&_libsmp_lock); in smp_engine_fini()
115 ASSERT(MUTEX_HELD(&_libsmp_lock)); in smp_engine_loadone()
146 ASSERT(MUTEX_HELD(&_libsmp_lock)); in smp_engine_register()
168 ASSERT(MUTEX_HELD(&_libsmp_lock)); in smp_engine_hold_cached()
190 (void) pthread_mutex_lock(&_libsmp_lock); in smp_engine_hold()
[all …]