Searched refs:tdb_dir (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/e2fsck/ |
D | dirinfo.c | 44 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()
|
D | pass1.c | 518 char *tdb_dir; in e2fsck_setup_tdb_icount() local 524 &tdb_dir); in e2fsck_setup_tdb_icount() 534 if (!enable || !tdb_dir || access(tdb_dir, W_OK) || in e2fsck_setup_tdb_icount() 538 retval = ext2fs_create_icount_tdb(ctx->fs, tdb_dir, flags, ret); in e2fsck_setup_tdb_icount()
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 1527 const char *tdb_dir; in tune2fs_setup_tdb() local 1538 &tdb_dir); in tune2fs_setup_tdb() 1549 tdb_dir = getenv("E2FSPROGS_UNDO_DIR"); in tune2fs_setup_tdb() 1550 if (!tdb_dir) in tune2fs_setup_tdb() 1551 tdb_dir = "/var/lib/e2fsprogs"; in tune2fs_setup_tdb() 1553 if (!strcmp(tdb_dir, "none") || (tdb_dir[0] == 0) || in tune2fs_setup_tdb() 1554 access(tdb_dir, W_OK)) in tune2fs_setup_tdb() 1557 tdb_file = malloc(strlen(tdb_dir) + 9 + strlen(dev_name) + 7 + 1); in tune2fs_setup_tdb() 1560 sprintf(tdb_file, "%s/tune2fs-%s.e2undo", tdb_dir, dev_name); in tune2fs_setup_tdb()
|
D | mke2fs.c | 1956 char *tdb_dir, *tdb_file; in mke2fs_setup_tdb() local 1963 tdb_dir = getenv("E2FSPROGS_UNDO_DIR"); in mke2fs_setup_tdb() 1964 if (!tdb_dir) in mke2fs_setup_tdb() 1967 &tdb_dir); in mke2fs_setup_tdb() 1969 if (!strcmp(tdb_dir, "none") || (tdb_dir[0] == 0) || in mke2fs_setup_tdb() 1970 access(tdb_dir, W_OK)) in mke2fs_setup_tdb() 1981 tdb_file = malloc(strlen(tdb_dir) + 8 + strlen(device_name) + 7 + 1); in mke2fs_setup_tdb() 1984 sprintf(tdb_file, "%s/mke2fs-%s.e2undo", tdb_dir, device_name); in mke2fs_setup_tdb()
|
/external/e2fsprogs/lib/ext2fs/ |
D | icount.c | 176 errcode_t ext2fs_create_icount_tdb(ext2_filsys fs, char *tdb_dir, in ext2fs_create_icount_tdb() argument 188 retval = ext2fs_get_mem(strlen(tdb_dir) + 64, &fn); in ext2fs_create_icount_tdb() 192 sprintf(fn, "%s/%s-icount-XXXXXX", tdb_dir, uuid); in ext2fs_create_icount_tdb()
|
D | ext2fs.h | 983 extern errcode_t ext2fs_create_icount_tdb(ext2_filsys fs, char *tdb_dir,
|