Searched refs:num_references_ (Results 1 – 1 of 1) sorted by relevance
/device/google/cuttlefish/guest/hals/gralloc/legacy/ |
D | region_registry.cpp | 55 int num_references_; member 57 GrallocRegion() : base_(0), num_references_(0) { } in GrallocRegion() 213 ++region->num_references_; in reference_region() 215 name_buf, op, region->base_, region->num_references_); in reference_region() 230 if (region->num_references_ < 1) { in unreference_region() 232 "unmap with hnd=%p, numReferences=%d", hnd, region->num_references_); in unreference_region() 236 --region->num_references_; in unreference_region() 237 if (!region->num_references_) { in unreference_region() 246 name_buf, op, region->base_, region->num_references_); in unreference_region()
|