Lines Matching refs:next_bit
163 int next_bit; in xfs_buf_item_size() local
191 next_bit = xfs_next_bit(bip->bli_format.blf_data_map, in xfs_buf_item_size()
199 if (next_bit == -1) { in xfs_buf_item_size()
201 } else if (next_bit != last_bit + 1) { in xfs_buf_item_size()
202 last_bit = next_bit; in xfs_buf_item_size()
204 } else if (xfs_buf_offset(bp, next_bit * XFS_BLF_CHUNK) != in xfs_buf_item_size()
207 last_bit = next_bit; in xfs_buf_item_size()
235 int next_bit; in xfs_buf_item_format() local
300 next_bit = xfs_next_bit(bip->bli_format.blf_data_map, in xfs_buf_item_format()
312 if (next_bit == -1) { in xfs_buf_item_format()
319 } else if (next_bit != last_bit + 1) { in xfs_buf_item_format()
326 first_bit = next_bit; in xfs_buf_item_format()
327 last_bit = next_bit; in xfs_buf_item_format()
329 } else if (xfs_buf_offset(bp, next_bit << XFS_BLF_SHIFT) != in xfs_buf_item_format()
342 first_bit = next_bit; in xfs_buf_item_format()
343 last_bit = next_bit; in xfs_buf_item_format()