Searched refs:g_lock (Results 1 – 3 of 3) sorted by relevance
65 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable88 (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()
88 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable94 (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()
1326 kmutex_t g_lock; /* mutex for getting reply */ member1917 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 …]