Lines Matching refs:start_bit
220 /* Initialize a single bitmap iterator. START_BIT is the first bit to
225 unsigned start_bit, unsigned *bit_no)
230 /* Advance elt1 until it is not before the block containing start_bit. */
239 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS)
245 if (bi->elt1->indx != start_bit / BITMAP_ELEMENT_ALL_BITS)
246 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS;
248 /* Initialize for what is now start_bit. */
249 bi->word_no = start_bit / BITMAP_WORD_BITS % BITMAP_ELEMENT_WORDS;
251 bi->bits >>= start_bit % BITMAP_WORD_BITS;
257 start_bit += !bi->bits;
259 *bit_no = start_bit;
263 bitmaps. START_BIT is the bit to commence from. */
267 unsigned start_bit, unsigned *bit_no)
273 start_bit. */
282 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS)
304 /* We might have advanced beyond the start_bit, so reinitialize
306 if (bi->elt1->indx != start_bit / BITMAP_ELEMENT_ALL_BITS)
307 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS;
309 bi->word_no = start_bit / BITMAP_WORD_BITS % BITMAP_ELEMENT_WORDS;
311 bi->bits >>= start_bit % BITMAP_WORD_BITS;
325 start_bit += !bi->bits;
327 *bit_no = start_bit;
335 unsigned start_bit, unsigned *bit_no)
340 /* Advance elt1 until it is not before the block containing start_bit. */
349 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS)
358 /* We might have advanced beyond the start_bit, so reinitialize for
360 if (bi->elt1->indx != start_bit / BITMAP_ELEMENT_ALL_BITS)
361 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS;
363 bi->word_no = start_bit / BITMAP_WORD_BITS % BITMAP_ELEMENT_WORDS;
367 bi->bits >>= start_bit % BITMAP_WORD_BITS;
373 start_bit += !bi->bits;
375 *bit_no = start_bit;