Searched refs:g_mutex (Results 1 – 7 of 7) sorted by relevance
70 pthread_mutex_t g_mutex; variable127 r = pthread_mutex_lock(&g_mutex); in piclfcal_evhandler()136 (void) pthread_mutex_unlock(&g_mutex); in piclfcal_evhandler()430 c = pthread_mutex_lock(&g_mutex); in fcal_poll_thread()438 (void) pthread_cond_wait(&g_cv, &g_mutex); in fcal_poll_thread()440 (void) pthread_mutex_unlock(&g_mutex); in fcal_poll_thread()486 c = pthread_mutex_lock(&g_mutex); in fcal_poll_thread()498 (void) pthread_mutex_unlock(&g_mutex); in fcal_poll_thread()537 (pthread_mutex_init(&g_mutex, NULL) == 0)) { in fcal_leds_init()555 err = pthread_mutex_lock(&g_mutex); in fcal_leds_init()[all …]
591 r = pthread_mutex_lock(&g_mutex); in wait_a_while()601 r = pthread_cond_wait(&g_cv, &g_mutex); in wait_a_while()604 (void) pthread_mutex_unlock(&g_mutex); in wait_a_while()613 (void) pthread_mutex_unlock(&g_mutex); in wait_a_while()
288 extern pthread_mutex_t g_mutex;
321 static pthread_mutex_t g_mutex; variable2229 (pthread_mutex_init(&g_mutex, NULL) == 0)) { in disk_leds_init()2248 err = pthread_mutex_lock(&g_mutex); in disk_leds_init()2255 (void) pthread_mutex_unlock(&g_mutex); in disk_leds_init()2294 err = pthread_mutex_lock(&g_mutex); in disk_leds_fini()2307 (void) pthread_cond_wait(&g_cv_ack, &g_mutex); in disk_leds_fini()2309 (void) pthread_mutex_unlock(&g_mutex); in disk_leds_fini()2678 (void) pthread_mutex_lock(&g_mutex); in disk_leds_thread()2690 (void) pthread_cond_wait(&g_cv, &g_mutex); in disk_leds_thread()2692 (void) pthread_mutex_unlock(&g_mutex); in disk_leds_thread()
59 assert order scsi_device::sd_mutex glm::g_mutex
67 assert order scsi_device::sd_mutex glm::g_mutex
262 static pthread_mutex_t g_mutex; variable3783 (pthread_mutex_init(&g_mutex, NULL) == 0)) { in disk_leds_init()3794 err = pthread_mutex_lock(&g_mutex); in disk_leds_init()3801 (void) pthread_mutex_unlock(&g_mutex); in disk_leds_init()3830 err = pthread_mutex_lock(&g_mutex); in disk_leds_fini()3843 (void) pthread_cond_wait(&g_cv_ack, &g_mutex); in disk_leds_fini()3845 (void) pthread_mutex_unlock(&g_mutex); in disk_leds_fini()4048 err = pthread_mutex_lock(&g_mutex); in disk_leds_thread()4059 (void) pthread_cond_wait(&g_cv, &g_mutex); in disk_leds_thread()4061 (void) pthread_mutex_unlock(&g_mutex); in disk_leds_thread()