Home
last modified time | relevance | path

Searched refs:tdb_dir (Results 1 – 6 of 6) sorted by relevance

/external/e2fsprogs/e2fsck/
Ddirinfo.c44 char *tdb_dir, uuid[40]; in setup_tdb() local
48 &tdb_dir); in setup_tdb()
54 if (!enable || !tdb_dir || access(tdb_dir, W_OK) || in setup_tdb()
58 retval = ext2fs_get_mem(strlen(tdb_dir) + 64, &db->tdb_fn); in setup_tdb()
63 sprintf(db->tdb_fn, "%s/%s-dirinfo-XXXXXX", tdb_dir, uuid); in setup_tdb()
Dpass1.c517 char *tdb_dir; in e2fsck_setup_tdb_icount() local
523 &tdb_dir); in e2fsck_setup_tdb_icount()
533 if (!enable || !tdb_dir || access(tdb_dir, W_OK) || in e2fsck_setup_tdb_icount()
537 retval = ext2fs_create_icount_tdb(ctx->fs, tdb_dir, flags, ret); in e2fsck_setup_tdb_icount()
/external/e2fsprogs/misc/
Dtune2fs.c1823 const char *tdb_dir; in tune2fs_setup_tdb() local
1834 &tdb_dir); in tune2fs_setup_tdb()
1845 tdb_dir = getenv("E2FSPROGS_UNDO_DIR"); in tune2fs_setup_tdb()
1846 if (!tdb_dir) in tune2fs_setup_tdb()
1847 tdb_dir = "/var/lib/e2fsprogs"; in tune2fs_setup_tdb()
1849 if (!strcmp(tdb_dir, "none") || (tdb_dir[0] == 0) || in tune2fs_setup_tdb()
1850 access(tdb_dir, W_OK)) in tune2fs_setup_tdb()
1853 tdb_file = malloc(strlen(tdb_dir) + 9 + strlen(dev_name) + 7 + 1); in tune2fs_setup_tdb()
1856 sprintf(tdb_file, "%s/tune2fs-%s.e2undo", tdb_dir, dev_name); in tune2fs_setup_tdb()
Dmke2fs.c2209 char *tdb_dir = NULL, *tdb_file = NULL; in mke2fs_setup_tdb() local
2217 tdb_dir = getenv("E2FSPROGS_UNDO_DIR"); in mke2fs_setup_tdb()
2218 if (!tdb_dir) { in mke2fs_setup_tdb()
2221 &tdb_dir); in mke2fs_setup_tdb()
2225 if (!strcmp(tdb_dir, "none") || (tdb_dir[0] == 0) || in mke2fs_setup_tdb()
2226 access(tdb_dir, W_OK)) { in mke2fs_setup_tdb()
2228 free(tdb_dir); in mke2fs_setup_tdb()
2236 tdb_file = malloc(strlen(tdb_dir) + 8 + strlen(dev_name) + 7 + 1); in mke2fs_setup_tdb()
2241 sprintf(tdb_file, "%s/mke2fs-%s.e2undo", tdb_dir, dev_name); in mke2fs_setup_tdb()
2261 free(tdb_dir); in mke2fs_setup_tdb()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dicount.c176 errcode_t ext2fs_create_icount_tdb(ext2_filsys fs, char *tdb_dir, in ext2fs_create_icount_tdb() argument
189 retval = ext2fs_get_mem(strlen(tdb_dir) + 64, &fn); in ext2fs_create_icount_tdb()
193 sprintf(fn, "%s/%s-icount-XXXXXX", tdb_dir, uuid); in ext2fs_create_icount_tdb()
Dext2fs.h1251 extern errcode_t ext2fs_create_icount_tdb(ext2_filsys fs, char *tdb_dir,