Home
last modified time | relevance | path

Searched refs:dblist (Results 1 – 18 of 18) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Ddblist.c63 ext2_dblist dblist = NULL; in make_dblist() local
70 if ((ret_dblist == 0) && fs->dblist && in make_dblist()
71 (fs->dblist->magic == EXT2_ET_MAGIC_DBLIST)) in make_dblist()
74 retval = ext2fs_get_mem(sizeof(struct ext2_struct_dblist), &dblist); in make_dblist()
77 memset(dblist, 0, sizeof(struct ext2_struct_dblist)); in make_dblist()
79 dblist->magic = EXT2_ET_MAGIC_DBLIST; in make_dblist()
80 dblist->fs = fs; in make_dblist()
82 dblist->size = size; in make_dblist()
87 dblist->size = (num_dirs * 2) + 12; in make_dblist()
89 len = (size_t) sizeof(struct ext2_db_entry2) * dblist->size; in make_dblist()
[all …]
Dfreefs.c52 if (fs->dblist) in ext2fs_free()
53 ext2fs_free_dblist(fs->dblist); in ext2fs_free()
106 void ext2fs_free_dblist(ext2_dblist dblist) in ext2fs_free_dblist() argument
108 if (!dblist || (dblist->magic != EXT2_ET_MAGIC_DBLIST)) in ext2fs_free_dblist()
111 if (dblist->list) in ext2fs_free_dblist()
112 ext2fs_free_mem(&dblist->list); in ext2fs_free_dblist()
113 dblist->list = 0; in ext2fs_free_dblist()
114 if (dblist->fs && dblist->fs->dblist == dblist) in ext2fs_free_dblist()
115 dblist->fs->dblist = 0; in ext2fs_free_dblist()
116 dblist->magic = 0; in ext2fs_free_dblist()
[all …]
Ddblist_dir.c25 errcode_t ext2fs_dblist_dir_iterate(ext2_dblist dblist, in ext2fs_dblist_dir_iterate() argument
40 EXT2_CHECK_MAGIC(dblist, EXT2_ET_MAGIC_DBLIST); in ext2fs_dblist_dir_iterate()
47 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf); in ext2fs_dblist_dir_iterate()
55 retval = ext2fs_dblist_iterate2(dblist, db_dir_proc, &ctx); in ext2fs_dblist_dir_iterate()
Ddupfs.c41 fs->dblist = 0; in ext2fs_dup_handle()
87 if (src->dblist) { in ext2fs_dup_handle()
88 retval = ext2fs_copy_dblist(src->dblist, &fs->dblist); in ext2fs_dup_handle()
Dbmove.c86 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, in process_block()
128 if (fs->dblist) { in ext2fs_move_blocks()
129 ext2fs_free_dblist(fs->dblist); in ext2fs_move_blocks()
130 fs->dblist = NULL; in ext2fs_move_blocks()
Dext2fs.h233 ext2_dblist dblist; member
958 extern errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino,
960 extern errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino,
962 extern void ext2fs_dblist_sort(ext2_dblist dblist,
965 extern void ext2fs_dblist_sort2(ext2_dblist dblist,
968 extern errcode_t ext2fs_dblist_iterate(ext2_dblist dblist,
972 extern errcode_t ext2fs_dblist_iterate2(ext2_dblist dblist,
976 extern errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino,
978 extern errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino,
982 extern int ext2fs_dblist_count(ext2_dblist dblist);
[all …]
DMakefile.pq18 dblist.obj \
Dtst_fs_struct.c61 check_field(dblist); in main()
DAndroid.mk22 dblist.c \
DMakefile.in39 dblist.o \
111 $(srcdir)/dblist.c \
609 dblist.o: $(srcdir)/dblist.c $(top_builddir)/lib/config.h \
/external/e2fsprogs/e2fsck/
De2fsck.c86 if (ctx->fs && ctx->fs->dblist) { in e2fsck_reset_context()
87 ext2fs_free_dblist(ctx->fs->dblist); in e2fsck_reset_context()
88 ctx->fs->dblist = 0; in e2fsck_reset_context()
Dpass2.c140 cd.max = ext2fs_dblist_count2(fs->dblist); in e2fsck_pass2()
146 ext2fs_dblist_sort2(fs->dblist, special_dir_block_cmp); in e2fsck_pass2()
148 cd.pctx.errcode = ext2fs_dblist_iterate2(fs->dblist, check_dir_block, in e2fsck_pass2()
254 ext2fs_free_dblist(fs->dblist); in e2fsck_pass2()
Dpass1b.c442 ext2fs_dblist_dir_iterate(fs->dblist, 0, block_buf, in pass1c()
752 retval = ext2fs_set_dir_block2(fs->dblist, in clone_file_block()
Dpass1.c1897 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, in scan_extent_node()
1926 pctx->errcode = ext2fs_add_dir_block2(ctx->fs->dblist, pctx->ino, blk, blockcnt); in scan_extent_node()
2381 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, in process_block()
2390 pctx->errcode = ext2fs_add_dir_block2(fs->dblist, p->ino, in process_block()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1152 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/
Dresize2fs.c1400 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, in process_block()
1663 is.max_dirs = ext2fs_dblist_count2(rfs->old_fs->dblist); in inode_ref_fix()
1674 retval = ext2fs_dblist_dir_iterate(rfs->old_fs->dblist, in inode_ref_fix()
/external/e2fsprogs/
DRELEASE-NOTES2675 The ext2fs_add_dir_block() function will now grow the dblist more
6798 Fixed a bug in e2fsck (really in libext2fs's dblist function) where if
6953 directory blocks in dblist.
7092 dblist entry, given the directory inode and blockcnt.
7179 Added new abstraction (defined in dblist.c) for maintaining a list of
/external/chromium_org/third_party/WebKit/PerformanceTests/Parser/resources/
Dfinal-url-en48937 http://www.ilo.org/public/english/support/lib/dblist.htm