Searched refs:tm_lock (Results 1 – 6 of 6) sorted by relevance
62 (void) pthread_mutex_lock(&mod->tm_lock); in topo_mod_hold()65 (void) pthread_mutex_unlock(&mod->tm_lock); in topo_mod_hold()73 (void) pthread_mutex_lock(&mod->tm_lock); in topo_mod_rele()81 (void) pthread_mutex_unlock(&mod->tm_lock); in topo_mod_rele()87 (void) pthread_mutex_lock(&mod->tm_lock); in topo_mod_enter()90 (void) pthread_cond_wait(&mod->tm_cv, &mod->tm_lock); in topo_mod_enter()94 (void) pthread_mutex_unlock(&mod->tm_lock); in topo_mod_enter()100 (void) pthread_mutex_lock(&mod->tm_lock); in topo_mod_exit()106 (void) pthread_mutex_unlock(&mod->tm_lock); in topo_mod_exit()188 assert(!MUTEX_HELD(&mod->tm_lock)); in topo_mod_destroy()[all …]
62 pthread_mutex_t tm_lock; /* Lock for tm_cv/owner/flags/refs */ member
81 tm_lock(int fd) in tm_lock() function
61 extern int tm_lock();
318 if (tm_lock(0) != 0) {
185 addr + offsetof(topo_mod_t, tm_lock), in topo_module()