Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_bit.c51 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits() argument
53 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); in xfs_contig_bits()
59 ASSERT(start_bit < size); in xfs_contig_bits()
60 size -= start_bit & ~(NBWORD - 1); in xfs_contig_bits()
61 start_bit &= (NBWORD - 1); in xfs_contig_bits()
62 if (start_bit) { in xfs_contig_bits()
65 tmp |= (~0U >> (NBWORD-start_bit)); in xfs_contig_bits()
77 return result - start_bit; in xfs_contig_bits()
79 return result + ffz(tmp) - start_bit; in xfs_contig_bits()
90 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit() argument
[all …]
Dxfs_bit.h79 extern int xfs_contig_bits(uint *map, uint size, uint start_bit);
82 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/ext3/
Dresize.c139 static void mark_bitmap_end(int start_bit, int end_bit, char *bitmap) in mark_bitmap_end() argument
143 if (start_bit >= end_bit) in mark_bitmap_end()
146 ext3_debug("mark end bits +%d through +%d used\n", start_bit, end_bit); in mark_bitmap_end()
147 for (i = start_bit; i < ((start_bit + 7) & ~7UL); i++) in mark_bitmap_end()
/fs/ext4/
Dialloc.c53 void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap) in ext4_mark_bitmap_end() argument
57 if (start_bit >= end_bit) in ext4_mark_bitmap_end()
60 ext4_debug("mark end bits +%d through +%d used\n", start_bit, end_bit); in ext4_mark_bitmap_end()
61 for (i = start_bit; i < ((start_bit + 7) & ~7UL); i++) in ext4_mark_bitmap_end()
Dext4.h1858 extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
/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.h122 unsigned int start_bit,
Dsuballoc.c2445 unsigned int start_bit, in _ocfs2_free_suballoc_bits() argument
2464 BUG_ON((count + start_bit) > ocfs2_bits_per_group(cl)); in _ocfs2_free_suballoc_bits()
2469 start_bit, count); in _ocfs2_free_suballoc_bits()
2479 BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits)); in _ocfs2_free_suballoc_bits()
2483 start_bit, count, undo_fn); in _ocfs2_free_suballoc_bits()
2513 unsigned int start_bit, in ocfs2_free_suballoc_bits() argument
2518 start_bit, bg_blkno, count, NULL); in ocfs2_free_suballoc_bits()