Searched refs:lowest_free_idx (Results 1 – 3 of 3) sorted by relevance
70 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()
49 unsigned lowest_free_idx; member
3920 - util/idalloc: add lowest_free_idx to avoid iterating from 0