Lines Matching refs:g_lock
45 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
89 pthread_mutex_init(&g_lock, NULL); in init_globals()
140 pthread_mutex_lock(&g_lock); in set_light_backlight()
164 pthread_mutex_unlock(&g_lock); in set_light_backlight()
179 pthread_mutex_lock(&g_lock); in set_light_backlight_ext()
185 pthread_mutex_unlock(&g_lock); in set_light_backlight_ext()
277 pthread_mutex_lock(&g_lock); in set_light_battery()
280 pthread_mutex_unlock(&g_lock); in set_light_battery()
288 pthread_mutex_lock(&g_lock); in set_light_notifications()
291 pthread_mutex_unlock(&g_lock); in set_light_notifications()
299 pthread_mutex_lock(&g_lock); in set_light_attention()
306 pthread_mutex_unlock(&g_lock); in set_light_attention()
318 pthread_mutex_lock(&g_lock); in set_light_buttons()
320 pthread_mutex_unlock(&g_lock); in set_light_buttons()