/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 | 247 ext2_dblist dblist; member 1093 extern errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, 1095 extern errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, 1097 extern void ext2fs_dblist_sort(ext2_dblist dblist, 1100 extern void ext2fs_dblist_sort2(ext2_dblist dblist, 1103 extern errcode_t ext2fs_dblist_iterate(ext2_dblist dblist, 1107 extern errcode_t ext2fs_dblist_iterate2(ext2_dblist dblist, 1111 extern errcode_t ext2fs_dblist_iterate3(ext2_dblist dblist, 1117 extern errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, 1119 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 | 30 "dblist.c",
|
D | Makefile.in | 77 dblist.o \ 155 $(srcdir)/dblist.c \ 744 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() 890 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 | 3042 ctx->fs->dblist, in scan_extent_node() 3054 ctx->fs->dblist, in scan_extent_node() 3231 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pb->ino, 0, 0); in check_blocks_inline_data() 3250 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pb->ino, 0, 1); in check_blocks_inline_data() 3606 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, p->ino, 0, 0); in process_block() 3766 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, in process_block() 3775 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, p->ino, in process_block()
|
D | e2fsck.h | 567 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() 2281 retval = ext2fs_add_dir_block2(rfs->old_fs->dblist, in inode_scan_and_fix() 2396 is.max_dirs = ext2fs_dblist_count2(rfs->old_fs->dblist); in inode_ref_fix() 2408 retval = ext2fs_dblist_dir_iterate(rfs->old_fs->dblist, in inode_ref_fix()
|