Home
last modified time | relevance | path

Searched refs:s_first_data_block (Results 1 – 25 of 48) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Dalloc.c179 goal = fs->super->s_first_data_block; in ext2fs_new_block2()
185 (i - fs->super->s_first_data_block) / in ext2fs_new_block2()
188 if (((i - fs->super->s_first_data_block) % in ext2fs_new_block2()
191 (i - fs->super->s_first_data_block) / in ext2fs_new_block2()
200 i = fs->super->s_first_data_block; in ext2fs_new_block2()
288 b = fs->super->s_first_data_block; in ext2fs_get_free_blocks2()
298 b = fs->super->s_first_data_block; in ext2fs_get_free_blocks2()
Dopenfs.c58 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2()
324 fs->super->s_first_data_block >= ext2fs_blocks_count(fs->super)) { in ext2fs_open2()
329 fs->super->s_first_data_block, in ext2fs_open2()
343 group_block = fs->super->s_first_data_block; in ext2fs_open2()
Dinitialize.c71 rsv_groups = ext2fs_div_ceil(max_blocks - sb->s_first_data_block, bpg); in calc_reserved_gdt_blocks()
163 set_field(s_first_data_block, super->s_log_cluster_size ? 0 : 1); in ext2fs_initialize()
267 ext2fs_blocks_count(super) - super->s_first_data_block, in ext2fs_initialize()
397 rem = ((ext2fs_blocks_count(super) - super->s_first_data_block) % in ext2fs_initialize()
Drw_bitmaps.c40 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in write_bitmaps()
86 - (__u64) fs->super->s_first_data_block) in write_bitmaps()
158 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in read_bitmaps()
Dblknum.c21 return (blk - fs->super->s_first_data_block) / in ext2fs_group_of_blk2()
30 return fs->super->s_first_data_block + in ext2fs_group_first_block2()
54 fs->super->s_first_data_block) % in ext2fs_group_blocks_count()
Dbitmaps.c94 start = EXT2FS_B2C(fs, fs->super->s_first_data_block); in ext2fs_allocate_block_bitmap()
139 start = fs->super->s_first_data_block; in ext2fs_allocate_subcluster_bitmap()
Dread_bb_file.c64 ((blockno < fs->super->s_first_data_block) || in ext2fs_read_bb_FILE2()
Dread_bb.c51 if ((*block_nr < fs->super->s_first_data_block) || in mark_bad_block()
Dcheck_desc.c37 blk64_t first_block = fs->super->s_first_data_block; in ext2fs_check_desc()
Dimager.c309 itr = fs->super->s_first_data_block; in ext2fs_image_bitmap_write()
384 itr = fs->super->s_first_data_block; in ext2fs_image_bitmap_read()
Dmmp.c38 if ((mmp_blk <= fs->super->s_first_data_block) || in ext2fs_mmp_read()
103 if (fs->super->s_mmp_block < fs->super->s_first_data_block || in ext2fs_mmp_write()
Dext_attr.c122 (blk < fs->super->s_first_data_block)) in ext2fs_adjust_ea_refcount2()
Dblock.c82 *ind_block < ctx->fs->super->s_first_data_block) { in block_iterate_ind()
171 *dind_block < ctx->fs->super->s_first_data_block) { in block_iterate_dind()
257 *tind_block < ctx->fs->super->s_first_data_block) { in block_iterate_tind()
Dbmove.c58 block = fs->super->s_first_data_block; in process_block()
Dtst_super_size.c59 check_field(s_first_data_block, 4); in main()
/external/e2fsprogs/e2fsck/
Dsuper.c81 if ((blk < fs->super->s_first_data_block) || in release_inode_block()
384 (blk < fs->super->s_first_data_block || in check_resize_inode()
408 pblk = fs->super->s_first_data_block + 1 + fs->desc_blocks; in check_resize_inode()
409 if (fs->blocksize == 1024 && fs->super->s_first_data_block == 0) in check_resize_inode()
511 check_super_value(ctx, "first_data_block", sb->s_first_data_block, in check_super_block()
564 if (sb->s_first_data_block != should_be) { in check_super_block()
565 pctx.blk = sb->s_first_data_block; in check_super_block()
596 first_block = sb->s_first_data_block; in check_super_block()
Dpass5.c226 if ((B2C(fs->super->s_first_data_block) < in check_block_bitmaps()
231 pctx.blk = B2C(fs->super->s_first_data_block); in check_block_bitmaps()
241 if ((B2C(fs->super->s_first_data_block) < in check_block_bitmaps()
246 pctx.blk = B2C(fs->super->s_first_data_block); in check_block_bitmaps()
265 for (i = B2C(fs->super->s_first_data_block); in check_block_bitmaps()
269 B2C(fs->super->s_first_data_block)) % in check_block_bitmaps()
352 EXT2FS_B2C(fs, fs->super->s_first_data_block)) % in check_block_bitmaps()
Dbadblocks.c129 *block_nr < fs->super->s_first_data_block) { in check_bb_inode_blocks()
Dpass1.c196 (extent.e_pblk < fs->super->s_first_data_block) || in e2fsck_pass1_check_symlink()
209 (inode->i_block[0] < fs->super->s_first_data_block) || in e2fsck_pass1_check_symlink()
461 if (blk < ctx->fs->super->s_first_data_block || in check_is_really_dir()
724 fs->super->s_mmp_block > fs->super->s_first_data_block && in e2fsck_pass1()
1542 (blk < fs->super->s_first_data_block) || in check_ext_attr()
1719 (blk < fs->super->s_first_data_block) || in handle_htree()
1812 extent.e_pblk < ctx->fs->super->s_first_data_block || in scan_extent_node()
2228 super = fs->super->s_first_data_block;
2353 if (blk < fs->super->s_first_data_block || in process_block()
2460 if ((blk < fs->super->s_first_data_block) || in process_bad_block()
[all …]
/external/e2fsprogs/misc/
Ddumpe2fs.c162 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in list_desc()
184 first_block = fs->super->s_first_data_block; in list_desc()
267 fs->super->s_first_data_block, in list_desc()
411 fs->super->s_first_data_block + 1, in print_journal_information()
Dmke2fs.c259 must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks; in handle_bad_blocks()
260 for (i = fs->super->s_first_data_block; i <= must_be_good; i++) { in handle_bad_blocks()
266 fs->super->s_first_data_block, must_be_good); in handle_bad_blocks()
277 group_block = fs->super->s_first_data_block + in handle_bad_blocks()
544 fs->super->s_first_data_block+1, in create_journal_dev()
590 printf(_("First data block=%u\n"), s->s_first_data_block); in show_stats()
616 group_block = s->s_first_data_block; in show_stats()
2330 for (cluster = EXT2FS_B2C(fs, fs->super->s_first_data_block); in fix_cluster_bg_counts()
/external/e2fsprogs/debugfs/
Dunused.c38 for (blk=current_fs->super->s_first_data_block; in do_dump_unused()
Dlsdel.c61 if (*block_nr < fs->super->s_first_data_block || in lsdel_proc()
/external/e2fsprogs/resize/
Dresize2fs.c332 fs->super->s_first_data_block, in adjust_fs_info()
356 rem = (ext2fs_blocks_count(fs->super) - fs->super->s_first_data_block) % in adjust_fs_info()
409 fs->super->s_first_data_block; in adjust_fs_info()
481 old_fs->super->s_first_data_block) % in adjust_fs_info()
487 fs->super->s_first_data_block) % in adjust_fs_info()
962 group_blk = old_fs->super->s_first_data_block; in blocks_to_move()
1149 rfs->new_blk = rfs->new_fs->super->s_first_data_block; in init_block_alloc()
1173 rfs->new_blk = fs->super->s_first_data_block; in get_new_block()
1230 new_blk = fs->super->s_first_data_block; in block_mover()
1248 for (blk = B2C(old_fs->super->s_first_data_block); in block_mover()
[all …]
Donline.c92 fs->super->s_first_data_block, in online_resize_fs()
218 sb->s_first_data_block; in online_resize_fs()

12