/fs/xfs/libxfs/ |
D | xfs_bit.c | 37 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits() argument 39 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); in xfs_contig_bits() 45 ASSERT(start_bit < size); in xfs_contig_bits() 46 size -= start_bit & ~(NBWORD - 1); in xfs_contig_bits() 47 start_bit &= (NBWORD - 1); in xfs_contig_bits() 48 if (start_bit) { in xfs_contig_bits() 51 tmp |= (~0U >> (NBWORD-start_bit)); in xfs_contig_bits() 63 return result - start_bit; in xfs_contig_bits() 65 return result + ffz(tmp) - start_bit; in xfs_contig_bits() 76 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit() argument [all …]
|
D | xfs_bit.h | 70 extern int xfs_contig_bits(uint *map, uint size, uint start_bit); 73 extern int xfs_next_bit(uint *map, uint size, uint start_bit);
|
/fs/btrfs/ |
D | subpage.c | 393 unsigned int start_bit; \ 396 start_bit = offset_in_page(start) >> fs_info->sectorsize_bits; \ 397 start_bit += fs_info->subpage_info->name##_offset; \ 398 start_bit; \ 415 unsigned int start_bit = subpage_calc_start_bit(fs_info, page, in btrfs_subpage_set_uptodate() local 420 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_uptodate() 430 unsigned int start_bit = subpage_calc_start_bit(fs_info, page, in btrfs_subpage_clear_uptodate() local 435 bitmap_clear(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_clear_uptodate() 444 unsigned int start_bit = subpage_calc_start_bit(fs_info, page, in btrfs_subpage_set_error() local 449 bitmap_set(subpage->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_error() [all …]
|
D | free-space-tree.c | 350 unsigned long nrbits, start_bit, end_bit; in convert_free_space_to_extents() local 432 start_bit = find_next_bit_le(bitmap, nrbits, 0); in convert_free_space_to_extents() 434 while (start_bit < nrbits) { in convert_free_space_to_extents() 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() 438 key.objectid = start + start_bit * block_group->fs_info->sectorsize; 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/ntfs/ |
D | bitmap.h | 18 extern int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit, 34 const s64 start_bit, const s64 count, const u8 value) in ntfs_bitmap_set_bits_in_run() argument 36 return __ntfs_bitmap_set_bits_in_run(vi, start_bit, count, value, in ntfs_bitmap_set_bits_in_run() 51 static inline int ntfs_bitmap_set_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_set_run() argument 54 return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 1); in ntfs_bitmap_set_run() 68 static inline int ntfs_bitmap_clear_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_clear_run() argument 71 return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 0); in ntfs_bitmap_clear_run()
|
D | bitmap.c | 33 int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit, in __ntfs_bitmap_set_bits_in_run() argument 46 "value %u.%s", vi->i_ino, (unsigned long long)start_bit, in __ntfs_bitmap_set_bits_in_run() 49 BUG_ON(start_bit < 0); in __ntfs_bitmap_set_bits_in_run() 56 index = start_bit >> (3 + PAGE_SHIFT); in __ntfs_bitmap_set_bits_in_run() 57 end_index = (start_bit + cnt - 1) >> (3 + PAGE_SHIFT); in __ntfs_bitmap_set_bits_in_run() 71 pos = (start_bit >> 3) & ~PAGE_MASK; in __ntfs_bitmap_set_bits_in_run() 74 bit = start_bit & 7; in __ntfs_bitmap_set_bits_in_run() 160 pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt, in __ntfs_bitmap_set_bits_in_run()
|
/fs/ocfs2/ |
D | ocfs2_trace.h | 838 unsigned int start_bit, unsigned int count), 839 TP_ARGS(inode, group, start_bit, count), 843 __field(unsigned int, start_bit) 849 __entry->start_bit = start_bit; 853 __entry->start_bit, __entry->count) 858 unsigned int start_bit, unsigned int count), 859 TP_ARGS(bg_blkno, start_blk, start_bit, count), 863 __field(unsigned int, start_bit) 869 __entry->start_bit = start_bit; 873 __entry->start_bit, __entry->count)
|
D | suballoc.c | 2450 unsigned int start_bit, in _ocfs2_free_suballoc_bits() argument 2469 BUG_ON((count + start_bit) > ocfs2_bits_per_group(cl)); in _ocfs2_free_suballoc_bits() 2474 start_bit, count); in _ocfs2_free_suballoc_bits() 2484 BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits)); in _ocfs2_free_suballoc_bits() 2488 start_bit, count, undo_fn); in _ocfs2_free_suballoc_bits() 2499 start_bit, count); in _ocfs2_free_suballoc_bits() 2517 unsigned int start_bit, in ocfs2_free_suballoc_bits() argument 2522 start_bit, bg_blkno, count, NULL); in ocfs2_free_suballoc_bits()
|
D | suballoc.h | 122 unsigned int start_bit,
|
/fs/ext4/ |
D | ialloc.c | 55 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() 63 for (i = start_bit; i < ((start_bit + 7) & ~7UL); i++) in ext4_mark_bitmap_end()
|
D | ext4.h | 2874 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
|