Searched refs:num_alloc (Results 1 – 2 of 2) sorted by relevance
105 unsigned num_alloc = DIV_ROUND_UP(num, 32); in util_idalloc_alloc_range() local112 i < num_elements && i - base < num_alloc && !buf->data[i]; i++); in util_idalloc_alloc_range()114 if (i - base == num_alloc) in util_idalloc_alloc_range()125 util_idalloc_resize(buf, num_elements * 2 + num_alloc); in util_idalloc_alloc_range()129 for (unsigned i = base; i < base + num_alloc - (num % 32 != 0); i++) in util_idalloc_alloc_range()132 buf->data[base + num_alloc - 1] |= BITFIELD_MASK(num % 32); in util_idalloc_alloc_range()
107 uint16 num_alloc; /* Number of objects currently allocated */ member