Searched refs:desc_blocks (Results 1 – 19 of 19) sorted by relevance
/external/e2fsprogs/resize/ |
D | online.c | 96 fs->desc_blocks, new_desc_blocks); in online_resize_fs() 105 (new_desc_blocks != fs->desc_blocks)) { in online_resize_fs() 113 new_desc_blocks > (fs->desc_blocks + in online_resize_fs() 234 overhead += 1 + new_fs->desc_blocks + in online_resize_fs()
|
D | resize2fs.c | 336 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in adjust_fs_info() 348 overhead += 1 + fs->desc_blocks + in adjust_fs_info() 427 if (old_fs->desc_blocks != fs->desc_blocks) { in adjust_fs_info() 428 retval = ext2fs_resize_mem(old_fs->desc_blocks * in adjust_fs_info() 430 fs->desc_blocks * fs->blocksize, in adjust_fs_info() 434 if (fs->desc_blocks > old_fs->desc_blocks) in adjust_fs_info() 436 (old_fs->desc_blocks * fs->blocksize), 0, in adjust_fs_info() 437 (fs->desc_blocks - old_fs->desc_blocks) * in adjust_fs_info() 449 (old_fs->desc_blocks != fs->desc_blocks)) { in adjust_fs_info() 453 (old_fs->desc_blocks - fs->desc_blocks); in adjust_fs_info() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 72 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs->desc_blocks; in calc_reserved_gdt_blocks() 278 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_initialize() 379 fs->desc_blocks + super->s_reserved_gdt_blocks); in ext2fs_initialize() 396 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; in ext2fs_initialize() 442 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_initialize() 447 memset(fs->group_desc, 0, (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_initialize()
|
D | closefs.c | 84 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc2() 296 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_flush2() 301 fs->desc_blocks); in ext2fs_flush2() 341 old_desc_blocks = fs->desc_blocks; in ext2fs_flush2() 454 meta_blks = fs->desc_blocks + 1; in ext2fs_close2()
|
D | res_gdt.c | 104 blk_t goal = sb_blk + fs->desc_blocks + in ext2fs_create_resize_inode() 131 for (rsv_off = 0, gdt_off = fs->desc_blocks, in ext2fs_create_resize_inode() 132 gdt_blk = sb_blk + 1 + fs->desc_blocks; in ext2fs_create_resize_inode()
|
D | dupfs.c | 65 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_dup_handle() 70 (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_dup_handle()
|
D | openfs.c | 336 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_open2() 338 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_open2() 353 first_meta_bg = fs->desc_blocks; in ext2fs_open2() 368 for (i=first_meta_bg ; i < fs->desc_blocks; i++) { in ext2fs_open2()
|
D | alloc_sb.c | 58 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_reserve_super_and_bgd()
|
D | tst_fs_struct.c | 50 check_field(desc_blocks); in main()
|
D | imager.c | 220 actual = write(fd, cp, fs->blocksize * fs->desc_blocks); in ext2fs_image_super_write() 225 if (actual != (ssize_t) (fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write()
|
D | alloc.c | 52 old_desc_blocks = fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in check_block_uninit()
|
D | ext2fs.h | 219 unsigned long desc_blocks; member
|
/external/e2fsprogs/misc/ |
D | mke2fs.c | 259 must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks; in handle_bad_blocks() 282 for (j=0; j < fs->desc_blocks+1; j++) { in handle_bad_blocks() 595 (s->s_reserved_gdt_blocks + fs->desc_blocks) * in show_stats() 762 unsigned long group_desc_count, desc_blocks; in parse_extended_opts() local 797 desc_blocks = (group_desc_count + in parse_extended_opts() 801 desc_blocks; in parse_extended_opts()
|
D | dumpe2fs.c | 188 old_desc_blocks = fs->desc_blocks; in list_desc()
|
D | e2image.c | 404 for (j = 0; j < fs->desc_blocks; j++) { in mark_table_blocks() 408 meta_blocks_count += fs->desc_blocks; in mark_table_blocks()
|
/external/e2fsprogs/e2fsck/ |
D | super.c | 407 gdt_off = fs->desc_blocks; in check_resize_inode() 408 pblk = fs->super->s_first_data_block + 1 + fs->desc_blocks; in check_resize_inode()
|
D | pass1b.c | 892 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block() 930 fs->desc_blocks))) in check_if_fs_cluster()
|
D | pass5.c | 326 old_desc_blocks = fs->desc_blocks + in check_block_bitmaps()
|
D | pass1.c | 2243 block <= (super + fs->desc_blocks)) { 2528 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()
|