• Home
  • Raw
  • Download

Lines Matching refs:blk

61 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse)  in ext2fs_block_alloc_stats2()  argument
63 int group = ext2fs_group_of_blk2(fs, blk); in ext2fs_block_alloc_stats2()
65 if (blk >= ext2fs_blocks_count(fs->super)) { in ext2fs_block_alloc_stats2()
68 "Illegal block number: %lu", (unsigned long) blk); in ext2fs_block_alloc_stats2()
73 ext2fs_mark_block_bitmap2(fs->block_map, blk); in ext2fs_block_alloc_stats2()
75 ext2fs_unmark_block_bitmap2(fs->block_map, blk); in ext2fs_block_alloc_stats2()
85 (fs->block_alloc_stats)(fs, (blk64_t) blk, inuse); in ext2fs_block_alloc_stats2()
88 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) in ext2fs_block_alloc_stats() argument
90 ext2fs_block_alloc_stats2(fs, blk, inuse); in ext2fs_block_alloc_stats()
95 blk64_t blk, in ext2fs_set_block_alloc_stats_callback() argument
98 blk64_t blk, in ext2fs_set_block_alloc_stats_callback()
109 void ext2fs_block_alloc_stats_range(ext2_filsys fs, blk64_t blk, in ext2fs_block_alloc_stats_range() argument
113 if (blk + num > ext2fs_blocks_count(fs->super)) { in ext2fs_block_alloc_stats_range()
116 (unsigned long long) blk, num); in ext2fs_block_alloc_stats_range()
123 ext2fs_mark_block_bitmap_range2(fs->block_map, blk, num); in ext2fs_block_alloc_stats_range()
126 ext2fs_unmark_block_bitmap_range2(fs->block_map, blk, num); in ext2fs_block_alloc_stats_range()
130 int group = ext2fs_group_of_blk2(fs, blk); in ext2fs_block_alloc_stats_range()
134 if (blk + num > last_blk) in ext2fs_block_alloc_stats_range()
135 n = last_blk - blk + 1; in ext2fs_block_alloc_stats_range()
143 blk += n; in ext2fs_block_alloc_stats_range()
149 (fs->block_alloc_stats_range)(fs, blk, num, inuse); in ext2fs_block_alloc_stats_range()
153 void (*func)(ext2_filsys fs, blk64_t blk, in ext2fs_set_block_alloc_stats_range_callback() argument
155 void (**old)(ext2_filsys fs, blk64_t blk, in ext2fs_set_block_alloc_stats_range_callback()