Home
last modified time | relevance | path

Searched refs:EXT2FS_B2C (Results 1 – 14 of 14) sorted by relevance

/third_party/e2fsprogs/e2fsck/
Dpass1b.c391 lc = EXT2FS_B2C(fs, blockcnt); in process_pass1b_block()
392 pc = EXT2FS_B2C(fs, *block_nr); in process_pass1b_block()
422 add_dupe(ctx, p->ino, EXT2FS_B2C(fs, *block_nr), p->inode); in process_pass1b_block()
636 if (check_if_fs_cluster(ctx, EXT2FS_B2C(ctx->fs, block))) in decrement_badcount()
661 c = EXT2FS_B2C(fs, *block_nr); in delete_file_block()
662 lc = EXT2FS_B2C(fs, blockcnt); in delete_file_block()
817 c = EXT2FS_B2C(fs, blockcnt); in clone_file_block()
818 if (check_if_fs_cluster(ctx, EXT2FS_B2C(fs, *block_nr))) in clone_file_block()
828 INT_TO_VOIDPTR(EXT2FS_B2C(fs, *block_nr))); in clone_file_block()
850 EXT2FS_B2C(ctx->fs, new_block) != in clone_file_block()
[all …]
Dpass5.c165 blk_itr = EXT2FS_B2C(ctx->fs, in check_block_bitmap_checksum()
304 #define B2C(x) EXT2FS_B2C(fs, (x))
479 (EXT2FS_B2C(fs, i) == in check_block_bitmaps()
480 EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)-1))) { in check_block_bitmaps()
Dpass1.c2812 EXT2FS_B2C(ctx->fs, lblk) == EXT2FS_B2C(ctx->fs, last_lblk) && in has_unaligned_cluster_map()
2813 EXT2FS_B2C(ctx->fs, pblk) != EXT2FS_B2C(ctx->fs, last_pblk)) in has_unaligned_cluster_map()
3176 (EXT2FS_B2C(ctx->fs, extent.e_pblk) == in scan_extent_node()
3177 EXT2FS_B2C(ctx->fs, pb->previous_block))) in scan_extent_node()
3181 EXT2FS_B2C(ctx->fs, extent.e_pblk) + 1); in scan_extent_node()
3185 EXT2FS_B2C(ctx->fs, extent.e_pblk)); in scan_extent_node()
3368 pb.num_blocks = EXT2FS_B2C(ctx->fs, in check_blocks()
3395 pb.num_blocks += EXT2FS_B2C(ctx->fs, ea_block_quota.blocks); in check_blocks()
3836 (EXT2FS_B2C(ctx->fs, blk) == in process_block()
3837 EXT2FS_B2C(ctx->fs, p->previous_block)) && in process_block()
Dpass3.c819 (EXT2FS_B2C(fs, last_blk) == EXT2FS_B2C(fs, last_blk + 1))) in expand_dir_proc()
Dsuper.c93 blk64_t cluster = EXT2FS_B2C(fs, *block_nr); in release_inode_block()
Dpass2.c1821 blk64_t cluster = EXT2FS_B2C(fs, *block_nr); in deallocate_inode_block()
/third_party/e2fsprogs/lib/ext2fs/
Dexpanddir.c49 (EXT2FS_B2C(fs, es->goal) == EXT2FS_B2C(fs, es->goal+1))) in expand_dir_proc()
Dbitmaps.c96 start = EXT2FS_B2C(fs, fs->super->s_first_data_block); in ext2fs_allocate_block_bitmap()
97 end = EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)-1); in ext2fs_allocate_block_bitmap()
Drw_bitmaps.c63 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in write_bitmaps()
297 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in read_bitmaps_range_start()
Dgen_bitmap64.c827 i = EXT2FS_C2B(fs, EXT2FS_B2C(fs, next) + 1); in ext2fs_convert_subcluster_bitmap()
Dext2fs.h683 #define EXT2FS_B2C(fs, blk) ((blk) >> (fs)->cluster_ratio_bits) macro
/third_party/e2fsprogs/misc/
Ddumpe2fs.c163 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in list_desc()
/third_party/e2fsprogs/resize/
Dresize2fs.c84 #define B2C(x) EXT2FS_B2C(fs, (x))
406 for (b = EXT2FS_B2C(rfs->old_fs, in move_bg_metadata()
/third_party/e2fsprogs/debugfs/
Ddebugfs.c1851 blk64_t cluster = EXT2FS_B2C(fs, block); in release_blocks_proc()