Searched refs:num_allocated (Results 1 – 1 of 1) sorted by relevance
601 unsigned num_allocated; member717 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()