Searched refs:grdma (Results 1 – 1 of 1) sorted by relevance
270 gralloc_dmaregion_t* grdma = init_gralloc_dmaregion(rcEnc); in get_gralloc_region() local272 pthread_mutex_lock(&grdma->lock); in get_gralloc_region()273 grdma->refcount++; in get_gralloc_region()274 D("%s: call. refcount: %u\n", __func__, grdma->refcount); in get_gralloc_region()275 pthread_mutex_unlock(&grdma->lock); in get_gralloc_region()278 static void resize_gralloc_dmaregion_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in resize_gralloc_dmaregion_locked() argument279 grdma->sz = new_sz; in resize_gralloc_dmaregion_locked()285 static bool put_gralloc_region_direct_mem_locked(gralloc_dmaregion_t* grdma, uint32_t /* sz, unused… in put_gralloc_region_direct_mem_locked() argument286 const bool shouldDelete = !grdma->refcount; in put_gralloc_region_direct_mem_locked()288 grdma->host_memory_allocator.hostFree(&grdma->address_space_block); in put_gralloc_region_direct_mem_locked()[all …]