Searched refs:EXT2FS_B2C (Results 1 – 14 of 14) sorted by relevance
/external/e2fsprogs/e2fsck/ |
D | pass1b.c | 390 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 …]
|
D | pass5.c | 165 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()
|
D | pass1.c | 2791 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()
|
D | pass3.c | 819 (EXT2FS_B2C(fs, last_blk) == EXT2FS_B2C(fs, last_blk + 1))) in expand_dir_proc()
|
D | super.c | 93 blk64_t cluster = EXT2FS_B2C(fs, *block_nr); in release_inode_block()
|
D | pass2.c | 1657 blk64_t cluster = EXT2FS_B2C(fs, *block_nr); in deallocate_inode_block()
|
/external/e2fsprogs/lib/ext2fs/ |
D | expanddir.c | 49 (EXT2FS_B2C(fs, es->goal) == EXT2FS_B2C(fs, es->goal+1))) in expand_dir_proc()
|
D | bitmaps.c | 95 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()
|
D | rw_bitmaps.c | 41 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()
|
D | ext2fs.h | 663 #define EXT2FS_B2C(fs, blk) ((blk) >> (fs)->cluster_ratio_bits) macro
|
/external/e2fsprogs/misc/ |
D | dumpe2fs.c | 163 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in list_desc()
|
D | mke2fs.c | 347 ext2fs_mark_block_bitmap2(fs->block_map, EXT2FS_B2C(fs, blk)); in handle_bad_blocks()
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 84 #define B2C(x) EXT2FS_B2C(fs, (x)) 406 for (b = EXT2FS_B2C(rfs->old_fs, in move_bg_metadata()
|
/external/e2fsprogs/debugfs/ |
D | debugfs.c | 1834 blk64_t cluster = EXT2FS_B2C(fs, block); in release_blocks_proc()
|