Home
last modified time | relevance | path

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

/external/e2fsprogs/e2fsck/
Dpass1b.c358 lc = EXT2FS_B2C(fs, blockcnt); in process_pass1b_block()
372 add_dupe(ctx, p->ino, EXT2FS_B2C(fs, *block_nr), p->inode); in process_pass1b_block()
574 if (check_if_fs_cluster(ctx, EXT2FS_B2C(ctx->fs, block))) in decrement_badcount()
599 c = EXT2FS_B2C(fs, *block_nr); in delete_file_block()
600 lc = EXT2FS_B2C(fs, blockcnt); in delete_file_block()
715 c = EXT2FS_B2C(fs, blockcnt); in clone_file_block()
716 if (check_if_fs_cluster(ctx, EXT2FS_B2C(fs, *block_nr))) in clone_file_block()
726 INT_TO_VOIDPTR(EXT2FS_B2C(fs, *block_nr))); in clone_file_block()
839 INT_TO_VOIDPTR(EXT2FS_B2C(fs, blk))); in clone_file()
928 if (cluster >= EXT2FS_B2C(fs, first_block) && in check_if_fs_cluster()
[all …]
Dpass5.c188 #define B2C(x) EXT2FS_B2C(fs, (x))
351 } else if ((EXT2FS_B2C(fs, i) - count - in check_block_bitmaps()
352 EXT2FS_B2C(fs, fs->super->s_first_data_block)) % in check_block_bitmaps()
361 EXT2FS_B2C(fs, i), in check_block_bitmaps()
443 (EXT2FS_B2C(fs, i) == in check_block_bitmaps()
444 EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)-1))) { in check_block_bitmaps()
Dpass3.c717 (EXT2FS_B2C(fs, last_blk) == EXT2FS_B2C(fs, last_blk + 1))) in expand_dir_proc()
Dpass1.c1940 (EXT2FS_B2C(ctx->fs, blk) == in scan_extent_node()
1941 EXT2FS_B2C(ctx->fs, pb->previous_block)) && in scan_extent_node()
2393 (EXT2FS_B2C(ctx->fs, blk) == in process_block()
2394 EXT2FS_B2C(ctx->fs, p->previous_block)) && in process_block()
/external/e2fsprogs/lib/ext2fs/
Dexpanddir.c46 (EXT2FS_B2C(fs, es->goal) == EXT2FS_B2C(fs, es->goal+1))) in expand_dir_proc()
Dbitmaps.c94 start = EXT2FS_B2C(fs, fs->super->s_first_data_block); in ext2fs_allocate_block_bitmap()
95 end = EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)-1); in ext2fs_allocate_block_bitmap()
Drw_bitmaps.c40 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in write_bitmaps()
158 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in read_bitmaps()
Dmkjournal.c243 (EXT2FS_B2C(fs, es->goal) == EXT2FS_B2C(fs, es->goal+1))) in mkjournal_proc()
Dext2fs.h614 #define EXT2FS_B2C(fs, blk) ((blk) >> (fs)->cluster_ratio_bits) macro
/external/e2fsprogs/misc/
Ddumpe2fs.c162 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in list_desc()
Dmke2fs.c310 ext2fs_mark_block_bitmap2(fs->block_map, EXT2FS_B2C(fs, blk)); in handle_bad_blocks()
2328 num_clusters = EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)); in fix_cluster_bg_counts()
2330 for (cluster = EXT2FS_B2C(fs, fs->super->s_first_data_block); in fix_cluster_bg_counts()
/external/e2fsprogs/resize/
Dresize2fs.c67 #define B2C(x) EXT2FS_B2C(fs, (x))