Home
last modified time | relevance | path

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

/external/e2fsprogs/e2fsck/
Dpass1b.c372 lc = EXT2FS_B2C(fs, blockcnt); in process_pass1b_block()
373 pc = EXT2FS_B2C(fs, *block_nr); in process_pass1b_block()
403 add_dupe(ctx, p->ino, EXT2FS_B2C(fs, *block_nr), p->inode); in process_pass1b_block()
610 if (check_if_fs_cluster(ctx, EXT2FS_B2C(ctx->fs, block))) in decrement_badcount()
635 c = EXT2FS_B2C(fs, *block_nr); in delete_file_block()
636 lc = EXT2FS_B2C(fs, blockcnt); in delete_file_block()
779 c = EXT2FS_B2C(fs, blockcnt); in clone_file_block()
780 if (check_if_fs_cluster(ctx, EXT2FS_B2C(fs, *block_nr))) in clone_file_block()
790 INT_TO_VOIDPTR(EXT2FS_B2C(fs, *block_nr))); in clone_file_block()
812 EXT2FS_B2C(ctx->fs, new_block) != in clone_file_block()
[all …]
Dpass5.c167 blk_itr = EXT2FS_B2C(ctx->fs, in check_block_bitmap_checksum()
306 #define B2C(x) EXT2FS_B2C(fs, (x))
481 (EXT2FS_B2C(fs, i) == in check_block_bitmaps()
482 EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)-1))) { in check_block_bitmaps()
Dpass3.c813 (EXT2FS_B2C(fs, last_blk) == EXT2FS_B2C(fs, last_blk + 1))) in expand_dir_proc()
Dpass1.c2545 EXT2FS_B2C(ctx->fs, lblk) == EXT2FS_B2C(ctx->fs, last_lblk) && in has_unaligned_cluster_map()
2546 EXT2FS_B2C(ctx->fs, pblk) != EXT2FS_B2C(ctx->fs, last_pblk)) in has_unaligned_cluster_map()
2847 (EXT2FS_B2C(ctx->fs, blk) == in scan_extent_node()
2848 EXT2FS_B2C(ctx->fs, pb->previous_block)) && in scan_extent_node()
3523 (EXT2FS_B2C(ctx->fs, blk) == in process_block()
3524 EXT2FS_B2C(ctx->fs, p->previous_block)) && in process_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()
207 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in read_bitmaps()
Dext2fs.h630 #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()