Searched refs:desc_blocks (Results 1 – 18 of 18) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | closefs.c | 92 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc2() 331 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_flush2() 337 fs->desc_blocks); in ext2fs_flush2() 363 if (old_desc_blocks > fs->desc_blocks) in ext2fs_flush2() 364 old_desc_blocks = fs->desc_blocks; in ext2fs_flush2() 366 old_desc_blocks = fs->desc_blocks; in ext2fs_flush2() 492 meta_blks = fs->desc_blocks + 1; in ext2fs_close2()
|
D | openfs.c | 395 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_open2() 397 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_open2() 423 if (first_meta_bg > fs->desc_blocks) in ext2fs_open2() 424 first_meta_bg = fs->desc_blocks; in ext2fs_open2() 426 first_meta_bg = fs->desc_blocks; in ext2fs_open2() 443 for (i = first_meta_bg ; i < fs->desc_blocks; i++) { in ext2fs_open2() 448 for (i=first_meta_bg ; i < fs->desc_blocks; i++) { in ext2fs_open2()
|
D | initialize.c | 77 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs->desc_blocks; in calc_reserved_gdt_blocks() 292 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_initialize() 386 if (super->s_reserved_gdt_blocks + fs->desc_blocks > in ext2fs_initialize() 405 overhead += fs->desc_blocks; in ext2fs_initialize() 434 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; in ext2fs_initialize() 495 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_initialize() 500 memset(fs->group_desc, 0, (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_initialize()
|
D | res_gdt.c | 117 blk_t goal = sb_blk + fs->desc_blocks + in ext2fs_create_resize_inode() 141 for (rsv_off = 0, gdt_off = fs->desc_blocks, in ext2fs_create_resize_inode() 142 gdt_blk = sb_blk + 1 + fs->desc_blocks; in ext2fs_create_resize_inode()
|
D | imager.c | 246 for (j=0; j < groups_per_block*fs->desc_blocks; j++) { in ext2fs_image_super_write() 252 actual = write(fd, cp, fs->blocksize * fs->desc_blocks); in ext2fs_image_super_write() 258 for (j=0; j < groups_per_block*fs->desc_blocks; j++) { in ext2fs_image_super_write() 268 if (actual != (ssize_t) (fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write()
|
D | dupfs.c | 66 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_dup_handle() 71 (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_dup_handle()
|
D | alloc_sb.c | 59 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 | ext2fs.h | 233 unsigned long desc_blocks; member
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 272 (old_fs->desc_blocks != fs->desc_blocks)) { in adjust_reserved_gdt_blocks() 276 (old_fs->desc_blocks - fs->desc_blocks); in adjust_reserved_gdt_blocks() 315 rfs->new_fs->desc_blocks = ext2fs_div_ceil( in resize_group_descriptors() 318 retval = ext2fs_get_arrayzero(rfs->new_fs->desc_blocks, in resize_group_descriptors() 372 old_desc_blocks = rfs->old_fs->desc_blocks + in move_bg_metadata() 374 new_desc_blocks = rfs->new_fs->desc_blocks + in move_bg_metadata() 713 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in adjust_fs_info() 737 overhead += 1 + fs->desc_blocks + in adjust_fs_info() 816 old_fs->desc_blocks != fs->desc_blocks) { in adjust_fs_info() 817 retval = ext2fs_resize_mem(old_fs->desc_blocks * in adjust_fs_info() [all …]
|
D | online.c | 104 fs->desc_blocks, new_desc_blocks); in online_resize_fs() 112 (new_desc_blocks != fs->desc_blocks)) { in online_resize_fs() 119 new_desc_blocks > (fs->desc_blocks + in online_resize_fs()
|
/external/e2fsprogs/e2fsck/ |
D | super.c | 523 gdt_off = fs->desc_blocks; in check_resize_inode() 524 pblk = fs->super->s_first_data_block + 1 + fs->desc_blocks; in check_resize_inode() 797 (fs->super->s_first_meta_bg > fs->desc_blocks)) { in check_super_block() 798 pctx.group = fs->desc_blocks; in check_super_block()
|
D | pass1b.c | 1029 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block() 1067 fs->desc_blocks))) in check_if_fs_cluster()
|
D | pass1.c | 3553 block <= (super + fs->desc_blocks)) { 3883 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()
|
/external/e2fsprogs/misc/ |
D | mke2fs.c | 296 must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks; in handle_bad_blocks() 319 for (j=0; j < fs->desc_blocks+1; j++) { in handle_bad_blocks() 704 (s->s_reserved_gdt_blocks + fs->desc_blocks) * in show_stats() 941 unsigned long group_desc_count, desc_blocks; in parse_extended_opts() local 976 desc_blocks = (group_desc_count + in parse_extended_opts() 980 desc_blocks; in parse_extended_opts()
|
D | dumpe2fs.c | 188 old_desc_blocks = fs->desc_blocks; in list_desc()
|
D | e2image.c | 413 for (j = 0; j < fs->desc_blocks; j++) { in mark_table_blocks() 417 meta_blocks_count += fs->desc_blocks; in mark_table_blocks()
|
D | fuse2fs.c | 2364 overhead = fs->desc_blocks + in op_statfs()
|