Searched refs:desc_blocks (Results 1 – 18 of 18) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 81 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()
|
D | closefs.c | 79 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()
|
D | res_gdt.c | 94 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()
|
D | dupfs.c | 62 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()
|
D | openfs.c | 299 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()
|
D | alloc_sb.c | 57 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_reserve_super_and_bgd()
|
D | imager.c | 215 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()
|
D | alloc.c | 53 old_desc_blocks = fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in check_block_uninit()
|
D | ext2fs.h | 208 unsigned long desc_blocks; member
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 69 #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 …]
|
D | online.c | 55 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/ |
D | mke2fs.c | 249 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()
|
D | dumpe2fs.c | 174 old_desc_blocks = fs->desc_blocks; in list_desc()
|
D | e2image.c | 261 for (j = 0; j < fs->desc_blocks; j++) { in mark_table_blocks()
|
/external/e2fsprogs/e2fsck/ |
D | super.c | 399 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()
|
D | pass5.c | 178 old_desc_blocks = fs->desc_blocks + in check_block_bitmaps()
|
D | pass1b.c | 825 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block()
|
D | pass1.c | 2089 block <= (super + fs->desc_blocks)) { 2367 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()
|