Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfcal_leds.c70 pthread_mutex_t g_mutex; variable
127 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 …]
H A Dfcal_leds_thread.c591 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()
H A Dfcal_leds.h288 extern pthread_mutex_t g_mutex;
/titanic_50/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c321 static pthread_mutex_t g_mutex; variable
2229 (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()
/titanic_50/usr/src/uts/common/io/warlock/
H A Dst_with_glm.wlcmd59 assert order scsi_device::sd_mutex glm::g_mutex
H A Dsd_with_glm.wlcmd67 assert order scsi_device::sd_mutex glm::g_mutex
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/
H A Dpiclfrutree.c262 static pthread_mutex_t g_mutex; variable
3783 (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()