Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dzfs.c65 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
88 (void) pthread_mutex_lock(&g_lock); in zfs_init()
91 (void) pthread_mutex_unlock(&g_lock); in zfs_init()
98 (void) pthread_mutex_unlock(&g_lock); in zfs_init()
106 (void) pthread_mutex_lock(&g_lock); in zfs_fini()
112 (void) pthread_mutex_unlock(&g_lock); in zfs_fini()
/titanic_41/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c88 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
94 (void) pthread_mutex_lock(&g_lock); in libzfs_core_init()
98 (void) pthread_mutex_unlock(&g_lock); in libzfs_core_init()
103 (void) pthread_mutex_unlock(&g_lock); in libzfs_core_init()
110 (void) pthread_mutex_lock(&g_lock); in libzfs_core_fini()
115 (void) pthread_mutex_unlock(&g_lock); in libzfs_core_fini()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Ddrmach.c1326 kmutex_t g_lock; /* mutex for getting reply */ member
1917 mutex_enter(&found->g_lock); in drmach_mbox_getmsg()
1926 mutex_exit(&found->g_lock); in drmach_mbox_getmsg()
1942 mutex_enter(&entry->g_lock); in drmach_mbox_getmsg()
1944 mutex_exit(&entry->g_lock); in drmach_mbox_getmsg()
2080 mutex_destroy(&listp->g_lock); in drmach_msglist_destroy()
2097 mutex_init(&listp->g_lock, NULL, MUTEX_DRIVER, NULL); in drmach_msglist_new()
2124 mutex_enter(&listp->g_lock); in drmach_mbox_req_rply()
2148 crv = cv_timedwait(&listp->g_cv, &listp->g_lock, in drmach_mbox_req_rply()
2152 &listp->g_lock, to_val); in drmach_mbox_req_rply()
[all …]