Searched refs:grdma (Results 1 – 1 of 1) sorted by relevance
243 gralloc_dmaregion_t* grdma = init_gralloc_dmaregion(rcEnc); in get_gralloc_region() local245 pthread_mutex_lock(&grdma->lock); in get_gralloc_region()246 grdma->refcount++; in get_gralloc_region()247 D("%s: call. refcount: %u\n", __func__, grdma->refcount); in get_gralloc_region()248 pthread_mutex_unlock(&grdma->lock); in get_gralloc_region()251 static void resize_gralloc_dmaregion_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in resize_gralloc_dmaregion_locked() argument252 if (grdma->goldfish_dma.mapped_addr) { in resize_gralloc_dmaregion_locked()253 goldfish_dma_unmap(&grdma->goldfish_dma); in resize_gralloc_dmaregion_locked()255 close(grdma->goldfish_dma.fd); in resize_gralloc_dmaregion_locked()256 goldfish_dma_create_region(new_sz, &grdma->goldfish_dma); in resize_gralloc_dmaregion_locked()[all …]