Searched refs:start_bit (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_bit.c171 * start_bit. Size is the size of the bitmap in words.
179 xfs_count_bits(uint *map, uint size, uint start_bit) argument
188 bytep = (char*)(map + (start_bit & ~0x7));
189 byte_bit = start_bit & 0x7;
199 * If start_bit is not byte aligned, then process the
224 * start_bit. Size is the size of the bitmap in words.
227 xfs_contig_bits(uint *map, uint size, uint start_bit) argument
229 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT);
235 ASSERT(start_bit < size);
236 size -= start_bit
266 xfs_next_bit(uint *map, uint size, uint start_bit) argument
[all...]
H A Dxfs_bit.h58 /* Count set bits in map starting with start_bit */
59 extern int xfs_count_bits(uint *map, uint size, uint start_bit);
61 /* Count continuous one bits in map starting with start_bit */
62 extern int xfs_contig_bits(uint *map, uint size, uint start_bit);
65 extern int xfs_next_bit(uint *map, uint size, uint start_bit);
/freebsd-9.3-release/contrib/gcc/
H A Dbitmap.h205 unsigned start_bit, unsigned *bit_no)
210 /* Advance elt1 until it is not before the block containing start_bit. */
219 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS)
225 if (bi->elt1->indx != start_bit / BITMAP_ELEMENT_ALL_BITS)
226 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS;
228 /* Initialize for what is now start_bit. */
229 bi->word_no = start_bit / BITMAP_WORD_BITS % BITMAP_ELEMENT_WORDS;
231 bi->bits >>= start_bit % BITMAP_WORD_BITS;
237 start_bit += !bi->bits;
239 *bit_no = start_bit;
204 bmp_iter_set_init(bitmap_iterator *bi, bitmap map, unsigned start_bit, unsigned *bit_no) argument
246 bmp_iter_and_init(bitmap_iterator *bi, bitmap map1, bitmap map2, unsigned start_bit, unsigned *bit_no) argument
314 bmp_iter_and_compl_init(bitmap_iterator *bi, bitmap map1, bitmap map2, unsigned start_bit, unsigned *bit_no) argument
[all...]
H A Dggc-zone.c614 unsigned int start_bit = zone_get_object_alloc_bit (object); local
616 page->alloc_bits[start_word] |= 1L << start_bit;
627 unsigned int start_bit = zone_get_object_alloc_bit (object); local
630 page->alloc_bits[start_word] &= ~(1L << start_bit);
639 size_t start_word, size_t start_bit,
651 if (start_bit)
653 indx = alloc_ffs (alloc_word >> start_bit);
660 /* The extra 1 accounts for the starting unit, before start_bit. */
661 size = (sizeof (alloc_type) * 8 - start_bit + 1) * BYTES_PER_ALLOC_BIT;
691 unsigned int start_bit local
638 zone_object_size_1(alloc_type *alloc_bits, size_t start_word, size_t start_bit, size_t max_size) argument
[all...]

Completed in 73 milliseconds