Lines Matching refs:last_bit
166 int last_bit; in xfs_buf_item_size() local
182 last_bit = xfs_next_bit(bip->bli_format.blf_data_map, in xfs_buf_item_size()
184 ASSERT(last_bit != -1); in xfs_buf_item_size()
186 while (last_bit != -1) { in xfs_buf_item_size()
195 last_bit + 1); in xfs_buf_item_size()
202 last_bit = -1; in xfs_buf_item_size()
203 } else if (next_bit != last_bit + 1) { in xfs_buf_item_size()
204 last_bit = next_bit; in xfs_buf_item_size()
207 (xfs_buf_offset(bp, last_bit * XFS_BLF_CHUNK) + in xfs_buf_item_size()
209 last_bit = next_bit; in xfs_buf_item_size()
212 last_bit++; in xfs_buf_item_size()
236 int last_bit; in xfs_buf_item_format() local
293 last_bit = first_bit; in xfs_buf_item_format()
304 (uint)last_bit + 1); in xfs_buf_item_format()
321 } else if (next_bit != last_bit + 1) { in xfs_buf_item_format()
329 last_bit = next_bit; in xfs_buf_item_format()
332 (xfs_buf_offset(bp, last_bit << XFS_BLF_SHIFT) + in xfs_buf_item_format()
345 last_bit = next_bit; in xfs_buf_item_format()
348 last_bit++; in xfs_buf_item_format()
762 uint last_bit; in xfs_buf_item_log() local
781 last_bit = last >> XFS_BLF_SHIFT; in xfs_buf_item_log()
786 bits_to_set = last_bit - first_bit + 1; in xfs_buf_item_log()