Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Ddblist.c60 ext2_dblist dblist; in make_dblist() local
66 if ((ret_dblist == 0) && fs->dblist && in make_dblist()
67 (fs->dblist->magic == EXT2_ET_MAGIC_DBLIST)) in make_dblist()
70 retval = ext2fs_get_mem(sizeof(struct ext2_struct_dblist), &dblist); in make_dblist()
73 memset(dblist, 0, sizeof(struct ext2_struct_dblist)); in make_dblist()
75 dblist->magic = EXT2_ET_MAGIC_DBLIST; in make_dblist()
76 dblist->fs = fs; in make_dblist()
78 dblist->size = size; in make_dblist()
80 retval = ext2fs_get_num_dirs(fs, &dblist->size); in make_dblist()
83 dblist->size = (dblist->size * 2) + 12; in make_dblist()
[all …]
Dfreefs.c50 if (fs->dblist) in ext2fs_free()
51 ext2fs_free_dblist(fs->dblist); in ext2fs_free()
99 void ext2fs_free_dblist(ext2_dblist dblist) in ext2fs_free_dblist() argument
101 if (!dblist || (dblist->magic != EXT2_ET_MAGIC_DBLIST)) in ext2fs_free_dblist()
104 if (dblist->list) in ext2fs_free_dblist()
105 ext2fs_free_mem(&dblist->list); in ext2fs_free_dblist()
106 dblist->list = 0; in ext2fs_free_dblist()
107 if (dblist->fs && dblist->fs->dblist == dblist) in ext2fs_free_dblist()
108 dblist->fs->dblist = 0; in ext2fs_free_dblist()
109 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_iterate(dblist, db_dir_proc, &ctx); in ext2fs_dblist_dir_iterate()
Ddupfs.c41 fs->dblist = 0; in ext2fs_dup_handle()
84 if (src->dblist) { in ext2fs_dup_handle()
85 retval = ext2fs_copy_dblist(src->dblist, &fs->dblist); in ext2fs_dup_handle()
Dbmove.c84 retval = ext2fs_add_dir_block(fs->dblist, pb->ino, in process_block()
126 if (fs->dblist) { in ext2fs_move_blocks()
127 ext2fs_free_dblist(fs->dblist); in ext2fs_move_blocks()
128 fs->dblist = NULL; in ext2fs_move_blocks()
Dext2fs.h221 ext2_dblist dblist; member
759 extern errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino,
761 extern void ext2fs_dblist_sort(ext2_dblist dblist,
764 extern errcode_t ext2fs_dblist_iterate(ext2_dblist dblist,
768 extern errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino,
772 extern int ext2fs_dblist_count(ext2_dblist dblist);
773 extern errcode_t ext2fs_dblist_get_last(ext2_dblist dblist,
775 extern errcode_t ext2fs_dblist_drop_last(ext2_dblist dblist);
779 ext2fs_dblist_dir_iterate(ext2_dblist dblist,
906 extern void ext2fs_free_dblist(ext2_dblist dblist);
DAndroid.mk19 dblist.c \
DMakefile.in35 dblist.o \
96 $(srcdir)/dblist.c \
466 dblist.o: $(srcdir)/dblist.c $(srcdir)/ext2_fs.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.c135 cd.max = ext2fs_dblist_count(fs->dblist); in e2fsck_pass2()
141 ext2fs_dblist_sort(fs->dblist, special_dir_block_cmp); in e2fsck_pass2()
143 cd.pctx.errcode = ext2fs_dblist_iterate(fs->dblist, check_dir_block, in e2fsck_pass2()
249 ext2fs_free_dblist(fs->dblist); in e2fsck_pass2()
Dpass1b.c423 ext2fs_dblist_dir_iterate(fs->dblist, 0, block_buf, in pass1c()
683 retval = ext2fs_set_dir_block(fs->dblist, in clone_file_block()
Dpass1.c1780 pctx->errcode = ext2fs_add_dir_block(ctx->fs->dblist, in scan_extent_node()
1795 pctx->errcode = ext2fs_add_dir_block(ctx->fs->dblist, pctx->ino, blk, blockcnt); in scan_extent_node()
2245 pctx->errcode = ext2fs_add_dir_block(fs->dblist, in process_block()
2254 pctx->errcode = ext2fs_add_dir_block(fs->dblist, p->ino, in process_block()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1155 The dblist abstraction stores a list of blocks belonging to
1163 Creates a dblist data structure and return it in @var{ret_dblist}.
1166 @deftypefun void ext2fs_free_dblist (ext2_dblist @var{dblist})
1168 Free a dblist data structure.
1171 @deftypefun errcode_t ext2fs_add_dir_block (ext2_dblist @var{dblist}, ext2_ino_t @var{ino}, blk_t @…
1173 Add an entry to the dblist data structure. This call records the fact
1178 @deftypefun errcode_t ext2fs_set_dir_block (ext2_dblist @var{dblist}, ext2_ino_t @var{ino}, blk_t @…
1180 Change an entry in the dblist data structure; this changes the location
1185 @deftypefun errcode_t ext2fs_dblist_iterate (ext2_dblist @var{dblist}, int (*func)(ext2_filsys @var…
1187 This iterator calls @var{func} for every entry in the dblist data structure.
[all …]
/external/e2fsprogs/resize/
Dresize2fs.c1268 retval = ext2fs_add_dir_block(fs->dblist, pb->ino, in process_block()
1529 is.max_dirs = ext2fs_dblist_count(rfs->old_fs->dblist); in inode_ref_fix()
1540 retval = ext2fs_dblist_dir_iterate(rfs->old_fs->dblist, in inode_ref_fix()
/external/e2fsprogs/
DRELEASE-NOTES1423 The ext2fs_add_dir_block() function will now grow the dblist more
5546 Fixed a bug in e2fsck (really in libext2fs's dblist function) where if
5701 directory blocks in dblist.
5840 dblist entry, given the directory inode and blockcnt.
5927 Added new abstraction (defined in dblist.c) for maintaining a list of
/external/webkit/PerformanceTests/Parser/resources/
Dfinal-url-en48937 http://www.ilo.org/public/english/support/lib/dblist.htm