Lines Matching refs:g_mutex
50 static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER; variable
94 pthread_mutex_lock(&g_mutex); in mm_camera_cfg_is_parm_supported()
96 pthread_mutex_unlock(&g_mutex); in mm_camera_cfg_is_parm_supported()
134 pthread_mutex_lock(&g_mutex); in mm_camera_cfg_set_parm()
136 pthread_mutex_unlock(&g_mutex); in mm_camera_cfg_set_parm()
155 pthread_mutex_lock(&g_mutex); in mm_camera_cfg_get_parm()
157 pthread_mutex_unlock(&g_mutex); in mm_camera_cfg_get_parm()
173 pthread_mutex_lock(&g_mutex); in mm_camera_cfg_request_buf()
175 pthread_mutex_unlock(&g_mutex); in mm_camera_cfg_request_buf()
191 pthread_mutex_lock(&g_mutex); in mm_camera_cfg_enqueue_buf()
193 pthread_mutex_unlock(&g_mutex); in mm_camera_cfg_enqueue_buf()
209 pthread_mutex_lock(&g_mutex); in mm_camera_cfg_prepare_buf()
211 pthread_mutex_unlock(&g_mutex); in mm_camera_cfg_prepare_buf()
226 pthread_mutex_lock(&g_mutex); in mm_camera_cfg_unprepare_buf()
228 pthread_mutex_unlock(&g_mutex); in mm_camera_cfg_unprepare_buf()
294 pthread_mutex_lock(&g_mutex); in mm_camera_ops_is_op_supported()
296 pthread_mutex_unlock(&g_mutex); in mm_camera_ops_is_op_supported()
316 pthread_mutex_lock(&g_mutex); in mm_camera_ops_action()
318 pthread_mutex_unlock(&g_mutex); in mm_camera_ops_action()
335 pthread_mutex_lock(&g_mutex); in mm_camera_ops_open()
369 pthread_mutex_unlock(&g_mutex); in mm_camera_ops_open()
380 pthread_mutex_lock(&g_mutex); in mm_camera_ops_close()
394 pthread_mutex_unlock(&g_mutex); in mm_camera_ops_close()
402 pthread_mutex_lock(&g_mutex); in mm_camera_ops_ch_acquire()
404 pthread_mutex_unlock(&g_mutex); in mm_camera_ops_ch_acquire()
416 pthread_mutex_lock(&g_mutex); in mm_camera_ops_ch_release()
418 pthread_mutex_unlock(&g_mutex); in mm_camera_ops_ch_release()
432 pthread_mutex_lock(&g_mutex); in mm_camera_ops_ch_attr()
434 pthread_mutex_unlock(&g_mutex); in mm_camera_ops_ch_attr()
451 pthread_mutex_lock(&g_mutex); in mm_camera_ops_sendmsg()
453 pthread_mutex_unlock(&g_mutex); in mm_camera_ops_sendmsg()
497 pthread_mutex_lock(&g_mutex); in mm_camera_notify_register_event_cb()
499 pthread_mutex_unlock(&g_mutex); in mm_camera_notify_register_event_cb()
524 pthread_mutex_lock(&g_mutex); in mm_camera_register_buf_notify()
526 pthread_mutex_unlock(&g_mutex); in mm_camera_register_buf_notify()
601 pthread_mutex_lock(&g_mutex); in mm_camera_query()
697 pthread_mutex_unlock(&g_mutex); in mm_camera_query()