Searched refs:desc_blocks (Results 1 – 18 of 18) sorted by relevance
/third_party/e2fsprogs/lib/ext2fs/ |
D | closefs.c | 92 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc2() 341 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_flush2() 346 fs->desc_blocks); in ext2fs_flush2() 372 if (old_desc_blocks > fs->desc_blocks) in ext2fs_flush2() 373 old_desc_blocks = fs->desc_blocks; in ext2fs_flush2() 375 old_desc_blocks = fs->desc_blocks; in ext2fs_flush2() 501 meta_blks = fs->desc_blocks + 1; in ext2fs_close2()
|
D | openfs.c | 401 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_open2() 405 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_open2() 431 if (first_meta_bg > fs->desc_blocks) in ext2fs_open2() 432 first_meta_bg = fs->desc_blocks; in ext2fs_open2() 434 first_meta_bg = fs->desc_blocks; in ext2fs_open2() 452 for (i = first_meta_bg ; i < fs->desc_blocks; i++) { in ext2fs_open2() 457 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() 299 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_initialize() 393 if (super->s_reserved_gdt_blocks + fs->desc_blocks > in ext2fs_initialize() 412 overhead += fs->desc_blocks; in ext2fs_initialize() 441 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; in ext2fs_initialize() 502 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_initialize() 507 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 | 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 | imager.c | 252 for (j=0; j < groups_per_block*fs->desc_blocks; j++) { in ext2fs_image_super_write() 259 actual = write(fd, cp, (ssize_t)fs->blocksize * fs->desc_blocks); in ext2fs_image_super_write() 264 for (j=0; j < groups_per_block*fs->desc_blocks; j++) { in ext2fs_image_super_write() 275 if (actual != (ssize_t)(fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write()
|
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 | 254 unsigned long desc_blocks; member
|
/third_party/e2fsprogs/resize/ |
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()
|
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() 714 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in adjust_fs_info() 738 overhead += 1 + fs->desc_blocks + in adjust_fs_info() 817 old_fs->desc_blocks != fs->desc_blocks) { in adjust_fs_info() 818 retval = ext2fs_resize_mem(old_fs->desc_blocks * in adjust_fs_info() [all …]
|
/third_party/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 | 1036 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block() 1074 fs->desc_blocks))) in check_if_fs_cluster()
|
D | pass1.c | 3639 block <= (super + fs->desc_blocks)) { 3973 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()
|
/third_party/e2fsprogs/misc/ |
D | e2image.c | 416 for (j = 0; j < fs->desc_blocks; j++) { in mark_table_blocks() 420 meta_blocks_count += fs->desc_blocks; in mark_table_blocks() 1317 for (j = 0; j < fs->desc_blocks; j++) { in write_raw_image_file() 1321 meta_blocks_count += fs->desc_blocks; in write_raw_image_file()
|
D | mke2fs.c | 298 must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks; in handle_bad_blocks() 321 for (j=0; j < fs->desc_blocks+1; j++) { in handle_bad_blocks() 715 (s->s_reserved_gdt_blocks + fs->desc_blocks) * in show_stats() 954 unsigned long group_desc_count, desc_blocks; in parse_extended_opts() local 989 desc_blocks = (group_desc_count + in parse_extended_opts() 993 desc_blocks; in parse_extended_opts()
|
D | dumpe2fs.c | 188 old_desc_blocks = fs->desc_blocks; in list_desc()
|
D | fuse2fs.c | 2360 overhead = fs->desc_blocks + in op_statfs()
|