Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Dralloc.c596 struct list_head free_link; member
720 list_del(&slab->free_link); in alloc_from_slab()
727 if (list_is_linked(&slab->free_link)) in free_slab()
728 list_del(&slab->free_link); in free_slab()
738 if (slab->num_allocated == 1 && !(keep_empty_slabs && list_is_singular(&slab->free_link))) { in free_from_slab()
743 list_add(&slab->free_link, &slab->ctx->slabs[header->bucket].free_slabs); in free_from_slab()
749 while (slab->free_link.next != &slab->ctx->slabs[header->bucket].free_slabs && in free_from_slab()
750 slab->num_free > list_entry(slab->free_link.next, gc_slab, free_link)->num_free) { in free_from_slab()
751 gc_slab *next = list_entry(slab->free_link.next, gc_slab, free_link); in free_from_slab()
754 list_move_to(&slab->free_link, &next->free_link); in free_from_slab()
[all …]