/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 65 if (ext2fs_blocks_count(sb) < max_blocks / 1024) in calc_reserved_gdt_blocks() 66 max_blocks = ext2fs_blocks_count(sb) * 1024; in calc_reserved_gdt_blocks() 105 if (!param || !ext2fs_blocks_count(param)) in ext2fs_initialize() 244 ext2fs_blocks_count_set(super, ext2fs_blocks_count(param) & in ext2fs_initialize() 247 if (ext2fs_r_blocks_count(super) >= ext2fs_blocks_count(param)) { in ext2fs_initialize() 267 ext2fs_blocks_count(super) - super->s_first_data_block, in ext2fs_initialize() 284 (ext2fs_blocks_count(super) / i) > (1ULL << 32)) in ext2fs_initialize() 287 set_field(s_inodes_count, ext2fs_blocks_count(super) / i); in ext2fs_initialize() 308 ext2fs_blocks_count(param)); in ext2fs_initialize() 397 rem = ((ext2fs_blocks_count(super) - super->s_first_data_block) % in ext2fs_initialize() [all …]
|
D | alloc_sb.c | 70 if (old_desc_blk + num_blocks >= ext2fs_blocks_count(fs->super)) in ext2fs_reserve_super_and_bgd() 71 num_blocks = ext2fs_blocks_count(fs->super) - in ext2fs_reserve_super_and_bgd()
|
D | blknum.c | 40 ext2fs_blocks_count(fs->super) - 1 : in ext2fs_group_last_block2() 53 num_blocks = (ext2fs_blocks_count(fs->super) - in ext2fs_group_blocks_count() 92 blk64_t ext2fs_blocks_count(struct ext2_super_block *super) in ext2fs_blocks_count() function 115 tmp = ext2fs_blocks_count(super) + blk; in ext2fs_blocks_count_add()
|
D | alloc.c | 178 if (!goal || (goal >= ext2fs_blocks_count(fs->super))) in ext2fs_new_block2() 199 if (i >= ext2fs_blocks_count(fs->super)) in ext2fs_new_block2() 297 if (b+num-1 > ext2fs_blocks_count(fs->super)) in ext2fs_get_free_blocks2()
|
D | openfs.c | 60 ext2fs_blocks_count(fs->super))) in ext2fs_descriptor_block_loc2() 324 fs->super->s_first_data_block >= ext2fs_blocks_count(fs->super)) { in ext2fs_open2() 328 fs->group_desc_count = ext2fs_div64_ceil(ext2fs_blocks_count(fs->super) - in ext2fs_open2()
|
D | bitmaps.c | 95 end = EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)-1); in ext2fs_allocate_block_bitmap() 140 end = ext2fs_blocks_count(fs->super)-1; in ext2fs_allocate_subcluster_bitmap()
|
D | read_bb.c | 52 (*block_nr >= ext2fs_blocks_count(fs->super))) in mark_bad_block()
|
D | read_bb_file.c | 65 (blockno >= ext2fs_blocks_count(fs->super)))) { in ext2fs_read_bb_FILE2()
|
D | check_desc.c | 38 blk64_t last_block = ext2fs_blocks_count(fs->super)-1; in ext2fs_check_desc()
|
D | mmp.c | 39 (mmp_blk >= ext2fs_blocks_count(fs->super))) in ext2fs_mmp_read() 104 fs->super->s_mmp_block > ext2fs_blocks_count(fs->super)) in ext2fs_mmp_write()
|
D | alloc_stats.c | 66 if (blk >= ext2fs_blocks_count(fs->super)) { in ext2fs_block_alloc_stats2()
|
D | ext_attr.c | 121 if ((blk >= ext2fs_blocks_count(fs->super)) || in ext2fs_adjust_ea_refcount2()
|
D | bmove.c | 57 if (++block >= ext2fs_blocks_count(fs->super)) in process_block()
|
/external/e2fsprogs/misc/ |
D | findsuper.c | 220 if (ext2fs_r_blocks_count(&ext2) > ext2fs_blocks_count(&ext2)) in main() 223 ext2fs_blocks_count(&ext2)); in main() 224 if (ext2fs_free_blocks_count(&ext2) > ext2fs_blocks_count(&ext2)) in main() 227 ext2fs_blocks_count(&ext2)); in main() 253 sk + ext2fs_blocks_count(&ext2) * bsize - in main() 255 jnl_copy ? "*" : " ", ext2fs_blocks_count(&ext2), bsize, in main()
|
D | e2freefrag.c | 97 unsigned long long blocks_count = ext2fs_blocks_count(fs->super); in scan_block_bitmap() 157 ext2fs_blocks_count(fs->super), fs->super->s_free_blocks_count, in get_chunk_info() 159 ext2fs_blocks_count(fs->super)); in get_chunk_info() 164 total_chunks = (ext2fs_blocks_count(fs->super) + in get_chunk_info()
|
D | mke2fs.c | 222 fs->device_name, ext2fs_blocks_count(fs->super)-1); in test_disk() 507 ext2fs_blocks_count(fs->super), 0, &buf); in create_journal_dev() 519 ext2fs_blocks_count(fs->super)); in create_journal_dev() 521 count = ext2fs_blocks_count(fs->super); in create_journal_dev() 562 if (ext2fs_blocks_count(&fs_param) != ext2fs_blocks_count(s)) in show_stats() 564 ext2fs_blocks_count(&fs_param) - ext2fs_blocks_count(s)); in show_stats() 586 ext2fs_blocks_count(s)); in show_stats() 589 100.0 * ext2fs_r_blocks_count(s) / ext2fs_blocks_count(s)); in show_stats() 782 if (resize <= ext2fs_blocks_count(param)) { in parse_extended_opts() 796 ext2fs_blocks_count(param), bpg); in parse_extended_opts() [all …]
|
D | e2image.c | 564 blk64_t end = ext2fs_blocks_count(fs->super); in output_meta_data_blocks() 593 if (distance < ext2fs_blocks_count(fs->super)) in output_meta_data_blocks() 594 start = ext2fs_blocks_count(fs->super) - distance; in output_meta_data_blocks() 605 if (distance >= ext2fs_blocks_count(fs->super) || in output_meta_data_blocks() 606 start == ext2fs_blocks_count(fs->super) - distance) in output_meta_data_blocks() 719 fs->blocksize * ext2fs_blocks_count(fs->super) + dest_offset); in output_meta_data_blocks() 876 total_size = ext2fs_blocks_count(sb) << cluster_bits; in initialize_qcow2_image() 1170 for (blk = 0; blk < ext2fs_blocks_count(fs->super); blk++) { in output_qcow2_meta_data_blocks()
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 135 *new_size = ext2fs_blocks_count(rfs->new_fs->super); in resize_fs() 283 (blk < ext2fs_blocks_count(fs->super))) { in free_gdp_blocks() 290 (blk < ext2fs_blocks_count(fs->super))) { in free_gdp_blocks() 297 (blk >= ext2fs_blocks_count(fs->super))) in free_gdp_blocks() 302 if (blk >= ext2fs_blocks_count(fs->super)) in free_gdp_blocks() 331 fs->group_desc_count = ext2fs_div64_ceil(ext2fs_blocks_count(fs->super) - in adjust_fs_info() 356 rem = (ext2fs_blocks_count(fs->super) - fs->super->s_first_data_block) % in adjust_fs_info() 362 ext2fs_blocks_count(fs->super) - rem); in adjust_fs_info() 380 blk = ext2fs_blocks_count(old_fs->super); in adjust_fs_info() 381 if (blk > ext2fs_blocks_count(fs->super)) in adjust_fs_info() [all …]
|
D | online.c | 81 if (*new_size < ext2fs_blocks_count(sb)) { in online_resize_fs() 120 if ((ext2fs_blocks_count(sb) > MAX_32_NUM) || in online_resize_fs() 167 size = ext2fs_blocks_count(sb); in online_resize_fs() 183 ext2fs_blocks_count(sb); in online_resize_fs()
|
/external/e2fsprogs/ext2ed/ |
D | super_com.c | 32 if (ext2fs_blocks_count(super) != 0) { in type_ext2_super_block___show() 33 … (show_pad,"%2.2f%%",100*(float) ext2fs_r_blocks_count(super)/ (float) ext2fs_blocks_count(super)); in type_ext2_super_block___show() 34 …how_pad,"%2.2f%%",100*(float) ext2fs_free_blocks_count(super)/ (float) ext2fs_blocks_count(super)); in type_ext2_super_block___show()
|
/external/e2fsprogs/e2fsck/ |
D | pass5.c | 201 blk64_t first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps() 228 (B2C(ext2fs_blocks_count(fs->super)-1) > in check_block_bitmaps() 232 pctx.blk2 = B2C(ext2fs_blocks_count(fs->super) - 1); in check_block_bitmaps() 243 (B2C(ext2fs_blocks_count(fs->super)-1) > in check_block_bitmaps() 247 pctx.blk2 = B2C(ext2fs_blocks_count(fs->super) - 1); in check_block_bitmaps() 266 i < ext2fs_blocks_count(fs->super); in check_block_bitmaps() 439 first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps() 444 EXT2FS_B2C(fs, ext2fs_blocks_count(fs->super)-1))) { in check_block_bitmaps() 453 first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps() 465 (i != ext2fs_blocks_count(fs->super)-1) && in check_block_bitmaps()
|
D | badblocks.c | 78 fs->device_name, ext2fs_blocks_count(fs->super)-1); in read_bad_blocks_file() 128 if (*block_nr >= ext2fs_blocks_count(fs->super) || in check_bb_inode_blocks()
|
D | super.c | 82 (blk >= ext2fs_blocks_count(fs->super))) { in release_inode_block() 385 blk >= ext2fs_blocks_count(fs->super))) { in check_resize_inode() 509 check_super_value(ctx, "blocks_count", ext2fs_blocks_count(sb), in check_super_block() 512 MAX_CHECK, 0, ext2fs_blocks_count(sb)); in check_super_block() 528 MAX_CHECK, 0, ext2fs_blocks_count(sb) / 2); in check_super_block() 553 (ctx->num_blocks < ext2fs_blocks_count(sb))) { in check_super_block() 554 pctx.blk = ext2fs_blocks_count(sb); in check_super_block() 597 last_block = ext2fs_blocks_count(sb)-1; in check_super_block() 705 if ((ext2fs_free_blocks_count(sb) > ext2fs_blocks_count(sb)) || in check_super_block()
|
D | pass1.c | 197 (extent.e_pblk >= ext2fs_blocks_count(fs->super))) in e2fsck_pass1_check_symlink() 210 (inode->i_block[0] >= ext2fs_blocks_count(fs->super))) in e2fsck_pass1_check_symlink() 462 blk >= ext2fs_blocks_count(ctx->fs->super) || in check_is_really_dir() 725 fs->super->s_mmp_block < ext2fs_blocks_count(fs->super)) in e2fsck_pass1() 1543 (blk >= ext2fs_blocks_count(fs->super))) { in check_ext_attr() 1720 (blk >= ext2fs_blocks_count(fs->super))) { in handle_htree() 1813 extent.e_pblk >= ext2fs_blocks_count(ctx->fs->super)) in scan_extent_node() 1825 ext2fs_blocks_count(ctx->fs->super)) in scan_extent_node() 2233 } else if (block >= ext2fs_blocks_count(fs->super)) { 2234 sprintf(problem, "> BLOCKS (%u)", ext2fs_blocks_count(fs->super)); [all …]
|
/external/e2fsprogs/debugfs/ |
D | unused.c | 39 blk < ext2fs_blocks_count(current_fs->super); blk++) { in do_dump_unused()
|