Home
last modified time | relevance | path

Searched refs:first_block (Results 1 – 10 of 10) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dcheck_desc.c35 blk_t first_block = fs->super->s_first_data_block; in ext2fs_check_desc() local
41 first_block = ext2fs_group_first_block(fs, i); in ext2fs_check_desc()
48 if (fs->group_desc[i].bg_block_bitmap < first_block || in ext2fs_check_desc()
55 if (fs->group_desc[i].bg_inode_bitmap < first_block || in ext2fs_check_desc()
62 if (fs->group_desc[i].bg_inode_table < first_block || in ext2fs_check_desc()
/external/e2fsprogs/misc/
Ddumpe2fs.c133 blk_t first_block, last_block; in list_desc() local
150 first_block = fs->super->s_first_data_block; in list_desc()
156 first_block = ext2fs_group_first_block(fs, i); in list_desc()
163 print_range(first_block, last_block); in list_desc()
192 diff = fs->group_desc[i].bg_block_bitmap - first_block; in list_desc()
197 diff = fs->group_desc[i].bg_inode_bitmap - first_block; in list_desc()
204 diff = fs->group_desc[i].bg_inode_table - first_block; in list_desc()
De2image.c247 blk_t first_block, b; in mark_table_blocks() local
250 first_block = fs->super->s_first_data_block; in mark_table_blocks()
254 ext2fs_mark_block_bitmap(meta_block_map, first_block); in mark_table_blocks()
261 ext2fs_descriptor_block_loc(fs, first_block, j)); in mark_table_blocks()
/external/e2fsprogs/e2fsck/
Dsuper.c458 blk_t first_block, last_block; in check_super_block() local
577 first_block = sb->s_first_data_block; in check_super_block()
582 first_block = ext2fs_group_first_block(fs, i); in check_super_block()
585 if ((gd->bg_block_bitmap < first_block) || in check_super_block()
595 if ((gd->bg_inode_bitmap < first_block) || in check_super_block()
605 if ((gd->bg_inode_table < first_block) || in check_super_block()
Dpass1.c1866 blk_t first_block; in process_bad_block() local
1934 first_block = fs->super->s_first_data_block; in process_bad_block()
1941 if (blk == first_block) { in process_bad_block()
1954 if ((blk > first_block) && in process_bad_block()
1955 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()
1993 first_block += fs->super->s_blocks_per_group; in process_bad_block()
2021 static void new_table_block(e2fsck_t ctx, blk_t first_block, int group, in new_table_block() argument
2038 pctx.errcode = ext2fs_get_free_blocks(fs, first_block, last_block, in new_table_block()
2089 blk_t first_block; in handle_fs_bad_blocks() local
2092 first_block = ext2fs_group_first_block(fs, i); in handle_fs_bad_blocks()
[all …]
Dpass1b.c805 blk_t first_block; in check_if_fs_block() local
808 first_block = fs->super->s_first_data_block; in check_if_fs_block()
813 if (test_block >= first_block && in check_if_fs_block()
814 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block()
830 first_block += fs->super->s_blocks_per_group; in check_if_fs_block()
/external/zlib/contrib/minizip/
Dzip.c108 linkedlist_datablock_internal* first_block; member
189 ll->first_block = ll->last_block = NULL;
195 free_datablock(ll->first_block);
196 ll->first_block = ll->last_block = NULL;
213 ll->first_block = ll->last_block = allocate_new_datablock();
214 if (ll->first_block == NULL)
1163 linkedlist_datablock_internal* ldi = zi->central_dir.first_block ;
1176 free_datablock(zi->central_dir.first_block);
/external/e2fsprogs/debugfs/
Ddebugfs.c367 blk_t first_block, last_block; member
374 if (lb->first_block == 0) in finish_range()
380 if (lb->first_block == lb->last_block) in finish_range()
382 (long long)lb->first_bcnt, lb->first_block); in finish_range()
386 lb->first_block, lb->last_block); in finish_range()
387 lb->first_block = 0; in finish_range()
403 if (lb->first_block && in list_blocks_proc()
414 lb->first_block = lb->last_block = *blocknr; in list_blocks_proc()
509 lb.first_block = 0; in dump_blocks()
Dlogdump.c551 __u32 first_block) in show_extent() argument
553 if (start_extent >= 0 && first_block != 0) in show_extent()
555 start_extent, end_extent-start_extent, first_block); in show_extent()
/external/genext2fs/
Dgenext2fs.c1965 uint32 nod, first_block; in init_fs() local
1988 first_block = (BLOCKSIZE == 1024); in init_fs()
1989 nbgroups = (nbblocks - first_block + BLOCKS_PER_GROUP - 1) / BLOCKS_PER_GROUP; in init_fs()
1991 nbblocks_per_group = rndup((nbblocks - first_block + nbgroups - 1)/nbgroups, 8); in init_fs()
2014 fs->sb.s_first_data_block = first_block; in init_fs()