Lines Matching refs:size
34 xfs_bitmap_empty(uint *map, uint size) in xfs_bitmap_empty() argument
39 for (i = 0; i < size; i++) { in xfs_bitmap_empty()
51 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits() argument
57 size <<= BIT_TO_WORD_SHIFT; in xfs_contig_bits()
59 ASSERT(start_bit < size); in xfs_contig_bits()
60 size -= start_bit & ~(NBWORD - 1); in xfs_contig_bits()
69 size -= NBWORD; in xfs_contig_bits()
71 while (size) { in xfs_contig_bits()
75 size -= NBWORD; in xfs_contig_bits()
90 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit() argument
96 size <<= BIT_TO_WORD_SHIFT; in xfs_next_bit()
98 if (start_bit >= size) in xfs_next_bit()
100 size -= result; in xfs_next_bit()
109 size -= NBWORD; in xfs_next_bit()
111 while (size) { in xfs_next_bit()
115 size -= NBWORD; in xfs_next_bit()