Lines Matching defs:filled
59 unsigned filled;
80 bm->filled = 0;
134 * Check if we can increment the filled counter.
140 assert(bm->filled <= bm->size);
143 if (index == bm->filled) {
144 ++bm->filled;
145 assert(bm->filled <= bm->size);
151 * Check if we need to decrement the filled counter.
157 assert(bm->filled <= bm->size);
160 if (index < bm->filled)
161 bm->filled = index;
174 /* linear search for an empty index, starting at filled position */
175 word = bm->filled / UTIL_BITMASK_BITS_PER_WORD;
176 bit = bm->filled % UTIL_BITMASK_BITS_PER_WORD;
182 ++bm->filled;
193 if (!util_bitmask_resize(bm, bm->filled))
199 return bm->filled++;
262 if (index < bm->filled) {
287 if (index < bm->filled) {
300 if (index == bm->filled) {
301 ++bm->filled;
302 assert(bm->filled <= bm->size);