Lines Matching refs:nbits

63 	int			nbits)  in xfs_buf_item_straddle()  argument
69 offset + ((first_bit + nbits) << XFS_BLF_SHIFT)); in xfs_buf_item_straddle()
71 if (last - first != nbits * XFS_BLF_CHUNK) in xfs_buf_item_straddle()
94 int nbits; in xfs_buf_item_size_segment() local
106 nbits = xfs_contig_bits(blfp->blf_data_map, in xfs_buf_item_size_segment()
108 ASSERT(nbits > 0); in xfs_buf_item_size_segment()
114 if (nbits > 1 && in xfs_buf_item_size_segment()
115 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) in xfs_buf_item_size_segment()
119 *nbytes += nbits * XFS_BLF_CHUNK; in xfs_buf_item_size_segment()
128 (uint)first_bit + nbits + 1); in xfs_buf_item_size_segment()
155 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) { in xfs_buf_item_size_segment()
159 nbits = 1; in xfs_buf_item_size_segment()
162 nbits++; in xfs_buf_item_size_segment()
259 uint nbits) in xfs_buf_item_copy_iovec() argument
264 nbits * XFS_BLF_CHUNK); in xfs_buf_item_copy_iovec()
280 uint nbits; in xfs_buf_item_format_segment() local
321 nbits = xfs_contig_bits(blfp->blf_data_map, in xfs_buf_item_format_segment()
323 ASSERT(nbits > 0); in xfs_buf_item_format_segment()
329 if (nbits > 1 && in xfs_buf_item_format_segment()
330 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) in xfs_buf_item_format_segment()
334 first_bit, nbits); in xfs_buf_item_format_segment()
344 (uint)first_bit + nbits + 1); in xfs_buf_item_format_segment()
352 nbits = 1; in xfs_buf_item_format_segment()
371 first_bit, nbits); in xfs_buf_item_format_segment()
375 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) { in xfs_buf_item_format_segment()
377 first_bit, nbits); in xfs_buf_item_format_segment()
381 nbits = 1; in xfs_buf_item_format_segment()
384 nbits++; in xfs_buf_item_format_segment()