/external/e2fsprogs/lib/ext2fs/ |
D | dblist.c | 36 ext2_dblist dblist = NULL; in make_dblist() local 43 if ((ret_dblist == 0) && fs->dblist && in make_dblist() 44 (fs->dblist->magic == EXT2_ET_MAGIC_DBLIST)) in make_dblist() 47 retval = ext2fs_get_mem(sizeof(struct ext2_struct_dblist), &dblist); in make_dblist() 50 memset(dblist, 0, sizeof(struct ext2_struct_dblist)); in make_dblist() 52 dblist->magic = EXT2_ET_MAGIC_DBLIST; in make_dblist() 53 dblist->fs = fs; in make_dblist() 55 dblist->size = size; in make_dblist() 60 dblist->size = (num_dirs * 2) + 12; in make_dblist() 62 len = (size_t) sizeof(struct ext2_db_entry2) * dblist->size; in make_dblist() [all …]
|
D | freefs.c | 51 if (fs->dblist) in ext2fs_free() 52 ext2fs_free_dblist(fs->dblist); in ext2fs_free() 91 void ext2fs_free_dblist(ext2_dblist dblist) in ext2fs_free_dblist() argument 93 if (!dblist || (dblist->magic != EXT2_ET_MAGIC_DBLIST)) in ext2fs_free_dblist() 96 if (dblist->list) in ext2fs_free_dblist() 97 ext2fs_free_mem(&dblist->list); in ext2fs_free_dblist() 98 dblist->list = 0; in ext2fs_free_dblist() 99 if (dblist->fs && dblist->fs->dblist == dblist) in ext2fs_free_dblist() 100 dblist->fs->dblist = 0; in ext2fs_free_dblist() 101 dblist->magic = 0; in ext2fs_free_dblist() [all …]
|
D | dblist_dir.c | 26 errcode_t ext2fs_dblist_dir_iterate(ext2_dblist dblist, in ext2fs_dblist_dir_iterate() argument 41 EXT2_CHECK_MAGIC(dblist, EXT2_ET_MAGIC_DBLIST); in ext2fs_dblist_dir_iterate() 48 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf); in ext2fs_dblist_dir_iterate() 56 retval = ext2fs_dblist_iterate2(dblist, db_dir_proc, &ctx); in ext2fs_dblist_dir_iterate()
|
D | dupfs.c | 42 fs->dblist = 0; in ext2fs_dup_handle() 88 if (src->dblist) { in ext2fs_dup_handle() 89 retval = ext2fs_copy_dblist(src->dblist, &fs->dblist); in ext2fs_dup_handle()
|
D | bmove.c | 87 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, in process_block() 129 if (fs->dblist) { in ext2fs_move_blocks() 130 ext2fs_free_dblist(fs->dblist); in ext2fs_move_blocks() 131 fs->dblist = NULL; in ext2fs_move_blocks()
|
D | ext2fs.h | 238 ext2_dblist dblist; member 1076 extern errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, 1078 extern errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, 1080 extern void ext2fs_dblist_sort(ext2_dblist dblist, 1083 extern void ext2fs_dblist_sort2(ext2_dblist dblist, 1086 extern errcode_t ext2fs_dblist_iterate(ext2_dblist dblist, 1090 extern errcode_t ext2fs_dblist_iterate2(ext2_dblist dblist, 1094 extern errcode_t ext2fs_dblist_iterate3(ext2_dblist dblist, 1100 extern errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, 1102 extern errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino, [all …]
|
D | Makefile.pq | 18 dblist.obj \
|
D | tst_fs_struct.c | 61 check_field(dblist); in main()
|
D | Android.bp | 28 "dblist.c",
|
D | Makefile.in | 77 dblist.o \ 155 $(srcdir)/dblist.c \ 737 dblist.o: $(srcdir)/dblist.c $(top_builddir)/lib/config.h \
|
/external/e2fsprogs/e2fsck/ |
D | e2fsck.c | 87 if (ctx->fs && ctx->fs->dblist) { in e2fsck_reset_context() 88 ext2fs_free_dblist(ctx->fs->dblist); in e2fsck_reset_context() 89 ctx->fs->dblist = 0; in e2fsck_reset_context()
|
D | readahead.c | 57 ext2_dblist dblist, in e2fsck_readahead_dblist() argument 70 err = ext2fs_dblist_iterate3(dblist, readahead_dir_block, start, in e2fsck_readahead_dblist()
|
D | pass2.c | 139 cd.max = ext2fs_dblist_count2(fs->dblist); in e2fsck_pass2() 148 ext2fs_dblist_sort2(fs->dblist, special_dir_block_cmp); in e2fsck_pass2() 151 cd.pctx.errcode = ext2fs_dblist_iterate2(fs->dblist, check_dir_func, in e2fsck_pass2() 257 ext2fs_free_dblist(fs->dblist); in e2fsck_pass2() 863 fs->dblist, in check_dir_block2()
|
D | pass1.c | 2824 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, in scan_extent_node() 2862 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pctx->ino, blk, blockcnt); in scan_extent_node() 3007 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pb->ino, 0, 0); in check_blocks_inline_data() 3026 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pb->ino, 0, 1); in check_blocks_inline_data() 3380 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, p->ino, 0, 0); in process_block() 3538 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, in process_block() 3547 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, p->ino, in process_block()
|
D | pass1b.c | 474 ext2fs_dblist_dir_iterate(fs->dblist, 0, block_buf, in pass1c() 828 retval = ext2fs_set_dir_block2(fs->dblist, in clone_file_block()
|
D | e2fsck.h | 550 ext2_dblist dblist,
|
/external/e2fsprogs/doc/ |
D | libext2fs.texinfo | 1152 The dblist abstraction stores a list of blocks belonging to 1160 Creates a dblist data structure and return it in @var{ret_dblist}. 1163 @deftypefun void ext2fs_free_dblist (ext2_dblist @var{dblist}) 1165 Free a dblist data structure. 1168 @deftypefun errcode_t ext2fs_add_dir_block (ext2_dblist @var{dblist}, ext2_ino_t @var{ino}, blk_t @… 1170 Add an entry to the dblist data structure. This call records the fact 1175 @deftypefun errcode_t ext2fs_set_dir_block (ext2_dblist @var{dblist}, ext2_ino_t @var{ino}, blk_t @… 1177 Change an entry in the dblist data structure; this changes the location 1182 @deftypefun errcode_t ext2fs_dblist_iterate (ext2_dblist @var{dblist}, int (*func)(ext2_filsys @var… 1184 This iterator calls @var{func} for every entry in the dblist data structure. [all …]
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 1852 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, in process_block() 2131 retval = ext2fs_add_dir_block2(rfs->old_fs->dblist, in inode_scan_and_fix() 2238 is.max_dirs = ext2fs_dblist_count2(rfs->old_fs->dblist); in inode_ref_fix() 2250 retval = ext2fs_dblist_dir_iterate(rfs->old_fs->dblist, in inode_ref_fix()
|
/external/e2fsprogs/ |
D | RELEASE-NOTES | 3531 The ext2fs_add_dir_block() function will now grow the dblist more 7654 Fixed a bug in e2fsck (really in libext2fs's dblist function) where if 7809 directory blocks in dblist. 7948 dblist entry, given the directory inode and blockcnt. 8035 Added new abstraction (defined in dblist.c) for maintaining a list of
|