Home
last modified time | relevance | path

Searched refs:num_allocated (Results 1 – 1 of 1) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dralloc.c601 unsigned num_allocated; member
717 slab->num_allocated++; in alloc_from_slab()
738 if (slab->num_allocated == 1 && !(keep_empty_slabs && list_is_singular(&slab->free_link))) { in free_from_slab()
761 slab->num_allocated--; in free_from_slab()
786 slab->num_allocated = 0; in create_slab()
906 if (!slab->num_allocated) { in gc_sweep_end()
918 bool last = slab->num_allocated == 1; in gc_sweep_end()
931 assert(slab->num_allocated > 0); /* free_from_slab() should free it otherwise */ in gc_sweep_end()