Searched refs:tdb_file (Results 1 – 4 of 4) sorted by relevance
/external/e2fsprogs/misc/ |
D | e2undo.c | 130 char *device_name, *tdb_file; in main() local 155 tdb_file = argv[optind]; in main() 158 tdb = tdb_open(tdb_file, 0, 0, O_RDONLY, 0600); in main() 162 _("Failed tdb_open %s\n"), tdb_file); in main()
|
D | tune2fs.c | 1528 char *tdb_file; in tune2fs_setup_tdb() local 1557 tdb_file = malloc(strlen(tdb_dir) + 9 + strlen(dev_name) + 7 + 1); in tune2fs_setup_tdb() 1558 if (!tdb_file) in tune2fs_setup_tdb() 1560 sprintf(tdb_file, "%s/tune2fs-%s.e2undo", tdb_dir, dev_name); in tune2fs_setup_tdb() 1562 if (!access(tdb_file, F_OK)) { in tune2fs_setup_tdb() 1563 if (unlink(tdb_file) < 0) { in tune2fs_setup_tdb() 1567 tdb_file); in tune2fs_setup_tdb() 1568 free(tdb_file); in tune2fs_setup_tdb() 1575 set_undo_io_backup_file(tdb_file); in tune2fs_setup_tdb() 1578 tdb_file, name); in tune2fs_setup_tdb() [all …]
|
D | mke2fs.c | 1956 char *tdb_dir, *tdb_file; in mke2fs_setup_tdb() local 1981 tdb_file = malloc(strlen(tdb_dir) + 8 + strlen(device_name) + 7 + 1); in mke2fs_setup_tdb() 1982 if (!tdb_file) in mke2fs_setup_tdb() 1984 sprintf(tdb_file, "%s/mke2fs-%s.e2undo", tdb_dir, device_name); in mke2fs_setup_tdb() 1986 if (!access(tdb_file, F_OK)) { in mke2fs_setup_tdb() 1987 if (unlink(tdb_file) < 0) { in mke2fs_setup_tdb() 1991 tdb_file); in mke2fs_setup_tdb() 1992 free(tdb_file); in mke2fs_setup_tdb() 1999 set_undo_io_backup_file(tdb_file); in mke2fs_setup_tdb() 2002 " e2undo %s %s\n\n"), tdb_file, name); in mke2fs_setup_tdb() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | undo_io.c | 61 char *tdb_file; member 101 static char *tdb_file; variable 119 tdb_file = strdup(file_name); in set_undo_io_backup_file() 121 if (tdb_file == NULL) { in set_undo_io_backup_file() 384 data->tdb = tdb_open(tdb_file, 0, TDB_CLEAR_IF_FIRST, in undo_open()
|