Lines Matching refs:lock

177     pthread_mutex_t lock;  member
185 pthread_mutex_init(&lock, NULL); in gralloc_memregions_t()
189 pthread_mutex_t lock; member
201 pthread_mutex_init(&lock, NULL); in gralloc_dmaregion_t()
215 pthread_mutex_t lock; member
245 pthread_mutex_lock(&grdma->lock); in get_gralloc_region()
248 pthread_mutex_unlock(&grdma->lock); in get_gralloc_region()
292 pthread_mutex_lock(&grdma->lock); in put_gralloc_region()
300 pthread_mutex_unlock(&grdma->lock); in put_gralloc_region()
334 pthread_mutex_lock(&grdma->lock); in gralloc_dmaregion_register_ashmem()
346 pthread_mutex_unlock(&grdma->lock); in gralloc_dmaregion_register_ashmem()
354 pthread_mutex_lock(&memregions->lock); in get_mem_region()
356 pthread_mutex_unlock(&memregions->lock); in get_mem_region()
365 pthread_mutex_lock(&memregions->lock); in put_mem_region()
376 pthread_mutex_unlock(&memregions->lock); in put_mem_region()
536 pthread_mutex_lock(&grdma->lock); in updateHostColorBuffer()
541 pthread_mutex_unlock(&grdma->lock); in updateHostColorBuffer()
873 hostCon->lock(); in gralloc_alloc()
903 pthread_mutex_lock(&grdev->lock); in gralloc_alloc()
905 pthread_mutex_unlock(&grdev->lock); in gralloc_alloc()
919 hostCon->lock(); in gralloc_alloc()
952 hostCon->lock(); in gralloc_free()
980 pthread_mutex_lock(&grdev->lock); in gralloc_free()
982 pthread_mutex_unlock(&grdev->lock); in gralloc_free()
1034 hostCon->lock(); in gralloc_register_buffer()
1088 hostCon->lock(); in gralloc_unregister_buffer()
1135 return sFallback->lock(sFallback, handle, usage, l, t, w, h, vaddr); in gralloc_lock()
1214 hostCon->lock(); in gralloc_lock()
1326 hostCon->lock(); in gralloc_unlock()
1495 pthread_mutex_init(&dev->lock, NULL); in gralloc_device_open()
1534 lock: gralloc_lock,