Lines Matching refs:memregions
371 gralloc_memregions_t* memregions = init_gralloc_memregions(); in get_mem_region() local
373 pthread_mutex_lock(&memregions->lock); in get_mem_region()
374 ++memregions->ashmemRegions[ashmemBase]; in get_mem_region()
375 pthread_mutex_unlock(&memregions->lock); in get_mem_region()
381 gralloc_memregions_t* memregions = init_gralloc_memregions(); in put_mem_region() local
384 pthread_mutex_lock(&memregions->lock); in put_mem_region()
385 gralloc_memregions_t::MemRegionMap::iterator i = memregions->ashmemRegions.find(ashmemBase); in put_mem_region()
386 if (i == memregions->ashmemRegions.end()) { in put_mem_region()
392 memregions->ashmemRegions.erase(i); in put_mem_region()
395 pthread_mutex_unlock(&memregions->lock); in put_mem_region()
402 gralloc_memregions_t* memregions = init_gralloc_memregions(); in dump_regions() local
403 gralloc_memregions_t::mem_region_handle_t curr = memregions->ashmemRegions.begin(); in dump_regions()
405 for (; curr != memregions->ashmemRegions.end(); ++curr) { in dump_regions()