Lines Matching refs:first_bit

64 	int			first_bit,  in xfs_buf_item_straddle()  argument
69 first = xfs_buf_offset(bp, offset + (first_bit << XFS_BLF_SHIFT)); in xfs_buf_item_straddle()
71 offset + ((first_bit + nbits) << XFS_BLF_SHIFT)); in xfs_buf_item_straddle()
95 int first_bit; in xfs_buf_item_size_segment() local
100 first_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, 0); in xfs_buf_item_size_segment()
101 if (first_bit == -1) in xfs_buf_item_size_segment()
109 blfp->blf_map_size, first_bit); in xfs_buf_item_size_segment()
117 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) in xfs_buf_item_size_segment()
129 first_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_size_segment()
130 (uint)first_bit + nbits + 1); in xfs_buf_item_size_segment()
131 } while (first_bit != -1); in xfs_buf_item_size_segment()
139 last_bit = first_bit; in xfs_buf_item_size_segment()
157 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) { in xfs_buf_item_size_segment()
159 first_bit = next_bit; in xfs_buf_item_size_segment()
260 int first_bit, in xfs_buf_item_copy_iovec() argument
263 offset += first_bit * XFS_BLF_CHUNK; in xfs_buf_item_copy_iovec()
279 int first_bit; in xfs_buf_item_format_segment() local
294 first_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, 0); in xfs_buf_item_format_segment()
295 if (!(bip->bli_flags & XFS_BLI_STALE) && first_bit == -1) { in xfs_buf_item_format_segment()
322 ASSERT(first_bit >= 0); in xfs_buf_item_format_segment()
324 blfp->blf_map_size, first_bit); in xfs_buf_item_format_segment()
332 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) in xfs_buf_item_format_segment()
336 first_bit, nbits); in xfs_buf_item_format_segment()
345 first_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_format_segment()
346 (uint)first_bit + nbits + 1); in xfs_buf_item_format_segment()
347 } while (first_bit != -1); in xfs_buf_item_format_segment()
353 last_bit = first_bit; in xfs_buf_item_format_segment()
373 first_bit, nbits); in xfs_buf_item_format_segment()
377 xfs_buf_item_straddle(bp, offset, first_bit, nbits)) { in xfs_buf_item_format_segment()
379 first_bit, nbits); in xfs_buf_item_format_segment()
381 first_bit = next_bit; in xfs_buf_item_format_segment()
933 uint first_bit; in xfs_buf_item_log_segment() local
949 first_bit = first >> XFS_BLF_SHIFT; in xfs_buf_item_log_segment()
955 bits_to_set = last_bit - first_bit + 1; in xfs_buf_item_log_segment()
961 word_num = first_bit >> BIT_TO_WORD_SHIFT; in xfs_buf_item_log_segment()
967 bit = first_bit & (uint)(NBWORD - 1); in xfs_buf_item_log_segment()