Home
last modified time | relevance | path

Searched refs:start_bit (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/libxfs/
Dxfs_bit.c49 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits() argument
51 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); in xfs_contig_bits()
57 ASSERT(start_bit < size); in xfs_contig_bits()
58 size -= start_bit & ~(NBWORD - 1); in xfs_contig_bits()
59 start_bit &= (NBWORD - 1); in xfs_contig_bits()
60 if (start_bit) { in xfs_contig_bits()
63 tmp |= (~0U >> (NBWORD-start_bit)); in xfs_contig_bits()
75 return result - start_bit; in xfs_contig_bits()
77 return result + ffz(tmp) - start_bit; in xfs_contig_bits()
88 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit() argument
[all …]
Dxfs_bit.h82 extern int xfs_contig_bits(uint *map, uint size, uint start_bit);
85 extern int xfs_next_bit(uint *map, uint size, uint start_bit);
/fs/ntfs/
Dbitmap.h32 extern int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit,
48 const s64 start_bit, const s64 count, const u8 value) in ntfs_bitmap_set_bits_in_run() argument
50 return __ntfs_bitmap_set_bits_in_run(vi, start_bit, count, value, in ntfs_bitmap_set_bits_in_run()
65 static inline int ntfs_bitmap_set_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_set_run() argument
68 return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 1); in ntfs_bitmap_set_run()
82 static inline int ntfs_bitmap_clear_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_clear_run() argument
85 return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 0); in ntfs_bitmap_clear_run()
Dbitmap.c47 int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit, in __ntfs_bitmap_set_bits_in_run() argument
60 "value %u.%s", vi->i_ino, (unsigned long long)start_bit, in __ntfs_bitmap_set_bits_in_run()
63 BUG_ON(start_bit < 0); in __ntfs_bitmap_set_bits_in_run()
70 index = start_bit >> (3 + PAGE_CACHE_SHIFT); in __ntfs_bitmap_set_bits_in_run()
71 end_index = (start_bit + cnt - 1) >> (3 + PAGE_CACHE_SHIFT); in __ntfs_bitmap_set_bits_in_run()
85 pos = (start_bit >> 3) & ~PAGE_CACHE_MASK; in __ntfs_bitmap_set_bits_in_run()
88 bit = start_bit & 7; in __ntfs_bitmap_set_bits_in_run()
174 pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt, in __ntfs_bitmap_set_bits_in_run()
/fs/ocfs2/
Docfs2_trace.h835 unsigned int start_bit, unsigned int count),
836 TP_ARGS(inode, group, start_bit, count),
840 __field(unsigned int, start_bit)
846 __entry->start_bit = start_bit;
850 __entry->start_bit, __entry->count)
855 unsigned int start_bit, unsigned int count),
856 TP_ARGS(bg_blkno, start_blk, start_bit, count),
860 __field(unsigned int, start_bit)
866 __entry->start_bit = start_bit;
870 __entry->start_bit, __entry->count)
Dsuballoc.c2437 unsigned int start_bit, in _ocfs2_free_suballoc_bits() argument
2456 BUG_ON((count + start_bit) > ocfs2_bits_per_group(cl)); in _ocfs2_free_suballoc_bits()
2461 start_bit, count); in _ocfs2_free_suballoc_bits()
2471 BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits)); in _ocfs2_free_suballoc_bits()
2475 start_bit, count, undo_fn); in _ocfs2_free_suballoc_bits()
2486 start_bit, count); in _ocfs2_free_suballoc_bits()
2507 unsigned int start_bit, in ocfs2_free_suballoc_bits() argument
2512 start_bit, bg_blkno, count, NULL); in ocfs2_free_suballoc_bits()
Dsuballoc.h138 unsigned int start_bit,
/fs/ext4/
Dialloc.c52 void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap) in ext4_mark_bitmap_end() argument
56 if (start_bit >= end_bit) in ext4_mark_bitmap_end()
59 ext4_debug("mark end bits +%d through +%d used\n", start_bit, end_bit); in ext4_mark_bitmap_end()
60 for (i = start_bit; i < ((start_bit + 7) & ~7UL); i++) in ext4_mark_bitmap_end()
Dext4.h2451 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);