/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 | 52 if (fs->dblist) in ext2fs_free() 53 ext2fs_free_dblist(fs->dblist); in ext2fs_free() 95 void ext2fs_free_dblist(ext2_dblist dblist) in ext2fs_free_dblist() argument 97 if (!dblist || (dblist->magic != EXT2_ET_MAGIC_DBLIST)) in ext2fs_free_dblist() 100 if (dblist->list) in ext2fs_free_dblist() 101 ext2fs_free_mem(&dblist->list); in ext2fs_free_dblist() 102 dblist->list = 0; in ext2fs_free_dblist() 103 if (dblist->fs && dblist->fs->dblist == dblist) in ext2fs_free_dblist() 104 dblist->fs->dblist = 0; in ext2fs_free_dblist() 105 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 | 249 ext2_dblist dblist; member 1109 extern errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, 1111 extern errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, 1113 extern void ext2fs_dblist_sort(ext2_dblist dblist, 1116 extern void ext2fs_dblist_sort2(ext2_dblist dblist, 1119 extern errcode_t ext2fs_dblist_iterate(ext2_dblist dblist, 1123 extern errcode_t ext2fs_dblist_iterate2(ext2_dblist dblist, 1127 extern errcode_t ext2fs_dblist_iterate3(ext2_dblist dblist, 1133 extern errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, 1135 extern errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino, [all …]
|
D | tst_fs_struct.c | 61 check_field(dblist); in main()
|
D | Android.bp | 46 "dblist.c",
|
D | Makefile.in | 77 dblist.o \ 157 $(srcdir)/dblist.c \ 760 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 | 172 cd.max = ext2fs_dblist_count2(fs->dblist); in e2fsck_pass2() 181 ext2fs_dblist_sort2(fs->dblist, special_dir_block_cmp); in e2fsck_pass2() 184 cd.pctx.errcode = ext2fs_dblist_iterate2(fs->dblist, check_dir_func, in e2fsck_pass2() 277 ext2fs_free_dblist(fs->dblist); in e2fsck_pass2() 896 fs->dblist, in check_dir_block2()
|
D | pass1b.c | 492 ext2fs_dblist_dir_iterate(fs->dblist, 0, block_buf, in pass1c() 868 retval = ext2fs_set_dir_block2(fs->dblist, in clone_file_block()
|
D | pass1.c | 3088 ctx->fs->dblist, in scan_extent_node() 3100 ctx->fs->dblist, in scan_extent_node() 3277 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pb->ino, 0, 0); in check_blocks_inline_data() 3296 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pb->ino, 0, 1); in check_blocks_inline_data() 3652 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, p->ino, 0, 0); in process_block() 3815 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, in process_block() 3824 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, p->ino, in process_block()
|
D | e2fsck.h | 572 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 returns 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/doc/RelNotes/ |
D | v1.11.txt | 60 directory blocks in dblist.
|
D | v1.08.txt | 67 dblist entry, given the directory inode and blockcnt.
|
D | v1.07.txt | 79 Added new abstraction (defined in dblist.c) for maintaining a list of
|
D | v1.12.txt | 59 Fixed a bug in e2fsck (really in libext2fs's dblist function) where if
|
D | v1.41.txt | 1424 The ext2fs_add_dir_block() function will now grow the dblist more
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 1853 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, in process_block() 2217 retval = ext2fs_add_dir_block2(rfs->old_fs->dblist, in inode_scan_and_fix() 2342 is.max_dirs = ext2fs_dblist_count2(rfs->old_fs->dblist); in inode_ref_fix() 2354 retval = ext2fs_dblist_dir_iterate(rfs->old_fs->dblist, in inode_ref_fix()
|