Home
last modified time | relevance | path

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

123

/third_party/e2fsprogs/lib/ext2fs/
Dalloc.c185 goal = fs->super->s_first_data_block; in ext2fs_new_block3()
190 if ((retval == ENOENT) && (goal != fs->super->s_first_data_block)) in ext2fs_new_block3()
192 fs->super->s_first_data_block, goal - 1, &b); in ext2fs_new_block3()
296 b = fs->super->s_first_data_block; in ext2fs_get_free_blocks2()
308 b = fs->super->s_first_data_block; in ext2fs_get_free_blocks2()
443 goal = fs->super->s_first_data_block; in ext2fs_new_range()
458 start == fs->super->s_first_data_block) in ext2fs_new_range()
460 start = fs->super->s_first_data_block; in ext2fs_new_range()
500 start = fs->super->s_first_data_block; in ext2fs_new_range()
Dinitialize.c76 rsv_groups = ext2fs_div_ceil(max_blocks - sb->s_first_data_block, bpg); in calc_reserved_gdt_blocks()
175 set_field(s_first_data_block, super->s_log_cluster_size ? 0 : 1); in ext2fs_initialize()
288 ext2fs_blocks_count(super) - super->s_first_data_block, in ext2fs_initialize()
442 rem = ((ext2fs_blocks_count(super) - super->s_first_data_block) % in ext2fs_initialize()
594 for (blk = fs->super->s_first_data_block; in ext2fs_calculate_summary_stats()
Dopenfs.c65 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2()
383 fs->super->s_first_data_block >= ext2fs_blocks_count(fs->super)) { in ext2fs_open2()
388 fs->super->s_first_data_block, in ext2fs_open2()
410 group_block = fs->super->s_first_data_block; in ext2fs_open2()
Dblknum.c22 return (blk - fs->super->s_first_data_block) / in ext2fs_group_of_blk2()
31 return fs->super->s_first_data_block + in ext2fs_group_first_block2()
55 fs->super->s_first_data_block) % in ext2fs_group_blocks_count()
229 blk = ext2fs_descriptor_block_loc2(fs, fs->super->s_first_data_block, in ext2fs_group_desc()
Dbitmaps.c96 start = EXT2FS_B2C(fs, fs->super->s_first_data_block); in ext2fs_allocate_block_bitmap()
142 start = fs->super->s_first_data_block; in ext2fs_allocate_subcluster_bitmap()
Dread_bb.c52 if ((*block_nr < fs->super->s_first_data_block) || in mark_bad_block()
Dread_bb_file.c65 ((blockno < fs->super->s_first_data_block) || in ext2fs_read_bb_FILE2()
Dcheck_desc.c38 blk64_t first_block = fs->super->s_first_data_block; in ext2fs_check_desc()
Dinode.c185 ((scan->current_block < fs->super->s_first_data_block) || in ext2fs_open_inode_scan()
302 ((scan->current_block < fs->super->s_first_data_block) || in get_next_blockgroup()
409 (inode->i_block[i] < fs->super->s_first_data_block || in block_map_looks_insane()
813 if ((block_nr < fs->super->s_first_data_block) || in ext2fs_read_inode2()
964 if ((block_nr < fs->super->s_first_data_block) || in ext2fs_write_inode2()
Drw_bitmaps.c63 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in write_bitmaps()
107 - (__u64) fs->super->s_first_data_block) in write_bitmaps()
297 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in read_bitmaps_range_start()
Dmmp.c50 if ((mmp_blk <= fs->super->s_first_data_block) || in ext2fs_mmp_read()
137 if (fs->super->s_mmp_block < fs->super->s_first_data_block || in ext2fs_mmp_write()
Dimager.c360 itr = fs->super->s_first_data_block; in ext2fs_image_bitmap_write()
436 itr = fs->super->s_first_data_block; in ext2fs_image_bitmap_read()
Dblock.c83 *ind_block < ctx->fs->super->s_first_data_block) { in block_iterate_ind()
172 *dind_block < ctx->fs->super->s_first_data_block) { in block_iterate_dind()
258 *tind_block < ctx->fs->super->s_first_data_block) { in block_iterate_tind()
Dbmove.c59 block = fs->super->s_first_data_block; in process_block()
Dtst_super_size.c60 check_field(s_first_data_block, 4); in main()
/third_party/e2fsprogs/e2fsck/
Dpass5.c166 ctx->fs->super->s_first_data_block) + in check_block_bitmap_checksum()
336 if ((B2C(fs->super->s_first_data_block) < in check_block_bitmaps()
341 pctx.blk = B2C(fs->super->s_first_data_block); in check_block_bitmaps()
351 if ((B2C(fs->super->s_first_data_block) < in check_block_bitmaps()
356 pctx.blk = B2C(fs->super->s_first_data_block); in check_block_bitmaps()
370 for (i = B2C(fs->super->s_first_data_block); in check_block_bitmaps()
374 B2C(fs->super->s_first_data_block)) % in check_block_bitmaps()
Dsuper.c111 if ((blk < fs->super->s_first_data_block) || in release_inode_block()
500 (blk < fs->super->s_first_data_block || in check_resize_inode()
524 pblk = fs->super->s_first_data_block + 1 + fs->desc_blocks; in check_resize_inode()
525 if (fs->blocksize == 1024 && fs->super->s_first_data_block == 0) in check_resize_inode()
639 if (!check_super_value(ctx, "first_data_block", sb->s_first_data_block, in check_super_block()
726 if (sb->s_first_data_block != should_be) { in check_super_block()
727 pctx.blk = sb->s_first_data_block; in check_super_block()
810 first_block = sb->s_first_data_block; in check_super_block()
Dbadblocks.c133 *block_nr < fs->super->s_first_data_block) { in check_bb_inode_blocks()
/third_party/e2fsprogs/resize/
Donline.c100 fs->super->s_first_data_block, in online_resize_fs()
225 sb->s_first_data_block; in online_resize_fs()
Dresize2fs.c407 rfs->old_fs->super->s_first_data_block); in move_bg_metadata()
710 fs->super->s_first_data_block, in adjust_fs_info()
746 rem = (ext2fs_blocks_count(fs->super) - fs->super->s_first_data_block) % in adjust_fs_info()
798 fs->super->s_first_data_block; in adjust_fs_info()
892 old_fs->super->s_first_data_block) % in adjust_fs_info()
898 fs->super->s_first_data_block) % in adjust_fs_info()
1182 fs->super->s_mmp_block > fs->super->s_first_data_block && in mark_table_blocks()
1384 group_blk = old_fs->super->s_first_data_block; in blocks_to_move()
1601 rfs->new_blk = rfs->new_fs->super->s_first_data_block; in init_block_alloc()
1625 rfs->new_blk = fs->super->s_first_data_block; in get_new_block()
[all …]
/third_party/e2fsprogs/debugfs/
Dunused.c41 for (blk=current_fs->super->s_first_data_block; in do_dump_unused()
/third_party/e2fsprogs/misc/
Ddumpe2fs.c163 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()
298 fs->super->s_first_data_block, in list_desc()
410 fs->super->s_first_data_block + 1, in print_journal_information()
Dmke2fs.c298 must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks; in handle_bad_blocks()
299 for (i = fs->super->s_first_data_block; i <= must_be_good; i++) { in handle_bad_blocks()
305 fs->super->s_first_data_block, must_be_good); in handle_bad_blocks()
316 group_block = fs->super->s_first_data_block + in handle_bad_blocks()
657 fs->super->s_first_data_block+1, in create_journal_dev()
710 printf(_("First data block=%u\n"), s->s_first_data_block); in show_stats()
738 group_block = s->s_first_data_block; in show_stats()
2885 block = fs->super->s_first_data_block; in fix_cluster_bg_counts()
3304 retval = ext2fs_count_used_clusters(fs, fs->super->s_first_data_block, in main()
3466 overhead += fs->super->s_first_data_block; in main()
/third_party/e2fsprogs/contrib/android/
Dbasefs_allocator.c52 blk64_t start = fs->super->s_first_data_block; in fs_free_blocks_bitmap()
329 fs->super->s_first_data_block, in basefs_block_allocator()
/third_party/e2fsprogs/ext2ed/
Dblockbitmap_com.c254 block_num+=file_system_info.super_block.s_first_data_block; in type_ext2_block_bitmap___show()

123