Home
last modified time | relevance | path

Searched refs:end_bit (Results 1 – 5 of 5) sorted by relevance

/fs/xfs/
Dxfs_buf_item.c866 uint end_bit; in xfs_buf_item_log_segment() local
904 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()
905 mask = ((1U << (end_bit - bit)) - 1) << bit; in xfs_buf_item_log_segment()
908 bits_set = end_bit - bit; in xfs_buf_item_log_segment()
926 end_bit = bits_to_set - bits_set; in xfs_buf_item_log_segment()
927 if (end_bit) { in xfs_buf_item_log_segment()
928 mask = (1U << end_bit) - 1; in xfs_buf_item_log_segment()
/fs/ufs/
Dballoc.c45 unsigned cgno, bit, end_bit, bbase, blkmap, i; in ufs_free_fragments() local
75 end_bit = bit + count; in ufs_free_fragments()
79 for (i = bit; i < end_bit; i++) { in ufs_free_fragments()
141 unsigned overflow, cgno, bit, end_bit, i; in ufs_free_blocks() local
167 end_bit = bit + count; in ufs_free_blocks()
168 if (end_bit > uspi->s_fpg) { in ufs_free_blocks()
171 end_bit -= overflow; in ufs_free_blocks()
183 for (i = bit; i < end_bit; i += uspi->s_fpb) { in ufs_free_blocks()
/fs/btrfs/
Dfree-space-tree.c350 unsigned long nrbits, start_bit, end_bit; in convert_free_space_to_extents() local
435 end_bit = find_next_zero_bit_le(bitmap, nrbits, start_bit); in convert_free_space_to_extents()
436 ASSERT(start_bit < end_bit); in convert_free_space_to_extents()
440 key.offset = (end_bit - start_bit) * block_group->fs_info->sectorsize; in convert_free_space_to_extents()
449 start_bit = find_next_bit_le(bitmap, nrbits, end_bit); in convert_free_space_to_extents()
/fs/ext4/
Dialloc.c55 void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap) in ext4_mark_bitmap_end() argument
59 if (start_bit >= end_bit) in ext4_mark_bitmap_end()
62 ext4_debug("mark end bits +%d through +%d used\n", start_bit, end_bit); in ext4_mark_bitmap_end()
65 if (i < end_bit) in ext4_mark_bitmap_end()
66 memset(bitmap + (i >> 3), 0xff, (end_bit - i) >> 3); in ext4_mark_bitmap_end()
Dext4.h2874 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);