Home
last modified time | relevance | path

Searched refs:desc_blocks (Results 1 – 17 of 17) 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()
218 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_initialize()
310 fs->desc_blocks + super->s_reserved_gdt_blocks); in ext2fs_initialize()
325 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; in ext2fs_initialize()
357 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_initialize()
362 memset(fs->group_desc, 0, (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_initialize()
Dres_gdt.c97 fs->desc_blocks + fs->inode_blocks_per_group; in ext2fs_create_resize_inode()
122 for (rsv_off = 0, gdt_off = fs->desc_blocks, in ext2fs_create_resize_inode()
123 gdt_blk = sb->s_first_data_block + 1 + fs->desc_blocks; in ext2fs_create_resize_inode()
Dclosefs.c67 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc()
231 retval = ext2fs_get_array(fs->blocksize, fs->desc_blocks, in ext2fs_flush()
236 fs->desc_blocks); in ext2fs_flush()
283 old_desc_blocks = fs->desc_blocks; in ext2fs_flush()
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.c281 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_open2()
283 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_open2()
291 for (i=0 ; i < fs->desc_blocks; i++) { in ext2fs_open2()
Dalloc_sb.c44 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()
Dext2fs.h215 unsigned long desc_blocks; member
/external/e2fsprogs/resize/
Dresize2fs.c200 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in adjust_fs_info()
212 overhead += 1 + fs->desc_blocks + in adjust_fs_info()
278 if (old_fs->desc_blocks != fs->desc_blocks) { in adjust_fs_info()
279 retval = ext2fs_resize_mem(old_fs->desc_blocks * in adjust_fs_info()
281 fs->desc_blocks * fs->blocksize, in adjust_fs_info()
285 if (fs->desc_blocks > old_fs->desc_blocks) in adjust_fs_info()
287 (old_fs->desc_blocks * fs->blocksize), 0, in adjust_fs_info()
288 (fs->desc_blocks - old_fs->desc_blocks) * in adjust_fs_info()
300 (old_fs->desc_blocks != fs->desc_blocks)) { in adjust_fs_info()
304 (old_fs->desc_blocks - fs->desc_blocks); in adjust_fs_info()
[all …]
Donline.c53 fs->desc_blocks, new_desc_blocks); in online_resize_fs()
56 new_desc_blocks != fs->desc_blocks) { in online_resize_fs()
117 overhead += 1 + new_fs->desc_blocks + in online_resize_fs()
/external/e2fsprogs/misc/
Dmke2fs.c235 must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks; in handle_bad_blocks()
258 for (j=0; j < fs->desc_blocks+1; j++) { in handle_bad_blocks()
698 (s->s_reserved_gdt_blocks + fs->desc_blocks) * in show_stats()
817 unsigned long group_desc_count, desc_blocks; in parse_extended_opts() local
852 desc_blocks = (group_desc_count + in parse_extended_opts()
856 desc_blocks; in parse_extended_opts()
Ddumpe2fs.c154 old_desc_blocks = fs->desc_blocks; in list_desc()
De2image.c259 for (j = 0; j < fs->desc_blocks; j++) { in mark_table_blocks()
/external/e2fsprogs/e2fsck/
Dsuper.c400 gdt_off = fs->desc_blocks; in check_resize_inode()
401 pblk = fs->super->s_first_data_block + 1 + fs->desc_blocks; in check_resize_inode()
Dpass5.c179 (i <= super + fs->desc_blocks) && in check_block_bitmaps()
Dpass1b.c814 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block()
Dpass1.c1681 block <= (super + fs->desc_blocks)) {
1955 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()