Home
last modified time | relevance | path

Searched refs:desc_blocks (Results 1 – 19 of 19) sorted by relevance

/external/e2fsprogs/resize/
Donline.c96 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()
Dresize2fs.c336 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/
Dinitialize.c72 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()
Dclosefs.c84 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()
Dres_gdt.c104 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()
Ddupfs.c65 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()
Dopenfs.c336 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()
Dalloc_sb.c58 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_reserve_super_and_bgd()
Dtst_fs_struct.c50 check_field(desc_blocks); in main()
Dimager.c220 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()
Dalloc.c52 old_desc_blocks = fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in check_block_uninit()
Dext2fs.h219 unsigned long desc_blocks; member
/external/e2fsprogs/misc/
Dmke2fs.c259 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()
Ddumpe2fs.c188 old_desc_blocks = fs->desc_blocks; in list_desc()
De2image.c404 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/
Dsuper.c407 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()
Dpass1b.c892 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block()
930 fs->desc_blocks))) in check_if_fs_cluster()
Dpass5.c326 old_desc_blocks = fs->desc_blocks + in check_block_bitmaps()
Dpass1.c2243 block <= (super + fs->desc_blocks)) {
2528 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()