Lines Matching refs:lock
91 pthread_mutex_t lock; member
249 pthread_mutex_lock(&qdev->lock); in fingerprint_get_auth_id()
251 pthread_mutex_unlock(&qdev->lock); in fingerprint_get_auth_id()
261 pthread_mutex_lock(&qdev->lock); in fingerprint_set_active_group()
278 pthread_mutex_unlock(&qdev->lock); in fingerprint_set_active_group()
294 pthread_mutex_lock(&qdev->lock); in fingerprint_authenticate()
297 pthread_mutex_unlock(&qdev->lock); in fingerprint_authenticate()
345 pthread_mutex_lock(&dev->lock); in fingerprint_enroll()
348 pthread_mutex_unlock(&dev->lock); in fingerprint_enroll()
373 pthread_mutex_lock(&qdev->lock); in fingerprint_pre_enroll()
375 pthread_mutex_unlock(&qdev->lock); in fingerprint_pre_enroll()
384 pthread_mutex_lock(&qdev->lock); in fingerprint_post_enroll()
386 pthread_mutex_unlock(&qdev->lock); in fingerprint_post_enroll()
399 pthread_mutex_lock(&qdev->lock); in fingerprint_cancel()
401 pthread_mutex_unlock(&qdev->lock); in fingerprint_cancel()
472 pthread_mutex_lock(&qdev->lock); in fingerprint_remove()
483 pthread_mutex_unlock(&qdev->lock); in fingerprint_remove()
498 pthread_mutex_unlock(&qdev->lock); in fingerprint_remove()
506 pthread_mutex_lock(&qdev->lock); in fingerprint_remove()
516 pthread_mutex_unlock(&qdev->lock); in fingerprint_remove()
534 pthread_mutex_unlock(&qdev->lock); in fingerprint_remove()
554 pthread_mutex_lock(&qdev->lock); in set_notify_callback()
557 pthread_mutex_unlock(&qdev->lock); in set_notify_callback()
619 pthread_mutex_lock(&qdev->lock); in send_enroll_notice()
630 pthread_mutex_unlock(&qdev->lock); in send_enroll_notice()
642 pthread_mutex_unlock(&qdev->lock); in send_enroll_notice()
656 pthread_mutex_lock(&dev->lock); in getListenerState()
658 pthread_mutex_unlock(&dev->lock); in getListenerState()
691 pthread_mutex_lock(&qdev->lock); in listenerFunction()
695 pthread_mutex_unlock(&qdev->lock); in listenerFunction()
699 pthread_mutex_unlock(&qdev->lock); in listenerFunction()
814 pthread_mutex_lock(&qdev->lock); in fingerprint_close()
817 pthread_mutex_unlock(&qdev->lock); in fingerprint_close()
820 pthread_mutex_destroy(&qdev->lock); in fingerprint_close()
862 pthread_mutex_init(&qdev->lock, NULL); in fingerprint_open()