Home
last modified time | relevance | path

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

/external/e2fsprogs/e2fsck/
Dpass1b.c390 lc = EXT2FS_B2C(fs, blockcnt); in process_pass1b_block()
391 pc = EXT2FS_B2C(fs, *block_nr); in process_pass1b_block()
421 add_dupe(ctx, p->ino, EXT2FS_B2C(fs, *block_nr), p->inode); in process_pass1b_block()
635 if (check_if_fs_cluster(ctx, EXT2FS_B2C(ctx->fs, block))) in decrement_badcount()
660 c = EXT2FS_B2C(fs, *block_nr); in delete_file_block()
661 lc = EXT2FS_B2C(fs, blockcnt); in delete_file_block()
812 c = EXT2FS_B2C(fs, blockcnt); in clone_file_block()
813 if (check_if_fs_cluster(ctx, EXT2FS_B2C(fs, *block_nr))) in clone_file_block()
823 INT_TO_VOIDPTR(EXT2FS_B2C(fs, *block_nr))); in clone_file_block()
845 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.c2791 EXT2FS_B2C(ctx->fs, lblk) == EXT2FS_B2C(ctx->fs, last_lblk) && in has_unaligned_cluster_map()
2792 EXT2FS_B2C(ctx->fs, pblk) != EXT2FS_B2C(ctx->fs, last_pblk)) in has_unaligned_cluster_map()
3135 (EXT2FS_B2C(ctx->fs, extent.e_pblk) == in scan_extent_node()
3136 EXT2FS_B2C(ctx->fs, pb->previous_block))) in scan_extent_node()
3140 EXT2FS_B2C(ctx->fs, extent.e_pblk) + 1); in scan_extent_node()
3144 EXT2FS_B2C(ctx->fs, extent.e_pblk)); in scan_extent_node()
3327 pb.num_blocks = EXT2FS_B2C(ctx->fs, in check_blocks()
3354 pb.num_blocks += EXT2FS_B2C(ctx->fs, ea_block_quota.blocks); in check_blocks()
3795 (EXT2FS_B2C(ctx->fs, blk) == in process_block()
3796 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.c1657 blk64_t cluster = EXT2FS_B2C(fs, *block_nr); in deallocate_inode_block()
/external/e2fsprogs/lib/ext2fs/
Dexpanddir.c49 (EXT2FS_B2C(fs, es->goal) == EXT2FS_B2C(fs, es->goal+1))) in expand_dir_proc()
Dbitmaps.c95 start = EXT2FS_B2C(fs, fs->super->s_first_data_block); in ext2fs_allocate_block_bitmap()
96 end = EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)-1); in ext2fs_allocate_block_bitmap()
Drw_bitmaps.c41 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in write_bitmaps()
220 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in read_bitmaps()
Dext2fs.h663 #define EXT2FS_B2C(fs, blk) ((blk) >> (fs)->cluster_ratio_bits) macro
/external/e2fsprogs/misc/
Ddumpe2fs.c163 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in list_desc()
Dmke2fs.c347 ext2fs_mark_block_bitmap2(fs->block_map, EXT2FS_B2C(fs, blk)); in handle_bad_blocks()
/external/e2fsprogs/resize/
Dresize2fs.c84 #define B2C(x) EXT2FS_B2C(fs, (x))
406 for (b = EXT2FS_B2C(rfs->old_fs, in move_bg_metadata()
/external/e2fsprogs/debugfs/
Ddebugfs.c1834 blk64_t cluster = EXT2FS_B2C(fs, block); in release_blocks_proc()