Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Du_idalloc.c70 for (unsigned i = buf->lowest_free_idx; i < num_elements; i++) { in util_idalloc_alloc()
76 buf->lowest_free_idx = i; in util_idalloc_alloc()
83 buf->lowest_free_idx = num_elements; in util_idalloc_alloc()
107 unsigned base = find_free_block(buf, buf->lowest_free_idx); in util_idalloc_alloc_range()
134 if (buf->lowest_free_idx == base) in util_idalloc_alloc_range()
135 buf->lowest_free_idx = base + num / 32; in util_idalloc_alloc_range()
149 buf->lowest_free_idx = MIN2(idx, buf->lowest_free_idx); in util_idalloc_free()
Du_idalloc.h49 unsigned lowest_free_idx; member