Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c81 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs->desc_blocks; in calc_reserved_gdt_blocks()
229 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_initialize()
323 fs->desc_blocks + super->s_reserved_gdt_blocks); in ext2fs_initialize()
340 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; in ext2fs_initialize()
376 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_initialize()
381 memset(fs->group_desc, 0, (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_initialize()
Dclosefs.c79 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc()
247 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_flush()
252 fs->desc_blocks); in ext2fs_flush()
293 old_desc_blocks = fs->desc_blocks; in ext2fs_flush()
391 meta_blks = fs->desc_blocks + 1; in ext2fs_close()
Dres_gdt.c94 blk_t goal = sb->s_first_data_block + fs->desc_blocks + in ext2fs_create_resize_inode()
121 for (rsv_off = 0, gdt_off = fs->desc_blocks, in ext2fs_create_resize_inode()
122 gdt_blk = sb->s_first_data_block + 1 + fs->desc_blocks; in ext2fs_create_resize_inode()
Ddupfs.c62 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_dup_handle()
67 (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_dup_handle()
Dopenfs.c299 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_open2()
301 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_open2()
312 first_meta_bg = fs->desc_blocks; in ext2fs_open2()
325 for (i=first_meta_bg ; i < fs->desc_blocks; i++) { in ext2fs_open2()
Dalloc_sb.c57 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_reserve_super_and_bgd()
Dimager.c215 actual = write(fd, cp, fs->blocksize * fs->desc_blocks); in ext2fs_image_super_write()
220 if (actual != (ssize_t) (fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write()
Dalloc.c53 old_desc_blocks = fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in check_block_uninit()
Dext2fs.h208 unsigned long desc_blocks; member
/external/e2fsprogs/resize/
Dresize2fs.c69 #define SUPER_OVERHEAD(fs) (1 + (fs)->desc_blocks +\
214 old_desc_blocks = fs->desc_blocks + in fix_uninit_block_bitmaps()
317 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in adjust_fs_info()
329 overhead += 1 + fs->desc_blocks + in adjust_fs_info()
395 if (old_fs->desc_blocks != fs->desc_blocks) { in adjust_fs_info()
396 retval = ext2fs_resize_mem(old_fs->desc_blocks * in adjust_fs_info()
398 fs->desc_blocks * fs->blocksize, in adjust_fs_info()
402 if (fs->desc_blocks > old_fs->desc_blocks) in adjust_fs_info()
404 (old_fs->desc_blocks * fs->blocksize), 0, in adjust_fs_info()
405 (fs->desc_blocks - old_fs->desc_blocks) * in adjust_fs_info()
[all …]
Donline.c55 fs->desc_blocks, new_desc_blocks); in online_resize_fs()
58 new_desc_blocks != fs->desc_blocks) { in online_resize_fs()
130 overhead += 1 + new_fs->desc_blocks + in online_resize_fs()
/external/e2fsprogs/misc/
Dmke2fs.c249 must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks; in handle_bad_blocks()
272 for (j=0; j < fs->desc_blocks+1; j++) { in handle_bad_blocks()
635 (s->s_reserved_gdt_blocks + fs->desc_blocks) * in show_stats()
751 unsigned long group_desc_count, desc_blocks; in parse_extended_opts() local
786 desc_blocks = (group_desc_count + in parse_extended_opts()
790 desc_blocks; in parse_extended_opts()
Ddumpe2fs.c174 old_desc_blocks = fs->desc_blocks; in list_desc()
De2image.c261 for (j = 0; j < fs->desc_blocks; j++) { in mark_table_blocks()
/external/e2fsprogs/e2fsck/
Dsuper.c399 gdt_off = fs->desc_blocks; in check_resize_inode()
400 pblk = fs->super->s_first_data_block + 1 + fs->desc_blocks; in check_resize_inode()
Dpass5.c178 old_desc_blocks = fs->desc_blocks + in check_block_bitmaps()
Dpass1b.c825 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block()
Dpass1.c2089 block <= (super + fs->desc_blocks)) {
2367 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()