Searched refs:tdb_file (Results 1 – 4 of 4) sorted by relevance
/external/e2fsprogs/misc/ |
D | e2undo.c | 129 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 | 1824 char *tdb_file; in tune2fs_setup_tdb() local 1853 tdb_file = malloc(strlen(tdb_dir) + 9 + strlen(dev_name) + 7 + 1); in tune2fs_setup_tdb() 1854 if (!tdb_file) in tune2fs_setup_tdb() 1856 sprintf(tdb_file, "%s/tune2fs-%s.e2undo", tdb_dir, dev_name); in tune2fs_setup_tdb() 1858 if (!access(tdb_file, F_OK)) { in tune2fs_setup_tdb() 1859 if (unlink(tdb_file) < 0) { in tune2fs_setup_tdb() 1863 tdb_file); in tune2fs_setup_tdb() 1864 free(tdb_file); in tune2fs_setup_tdb() 1871 set_undo_io_backup_file(tdb_file); in tune2fs_setup_tdb() 1874 tdb_file, name); in tune2fs_setup_tdb() [all …]
|
D | mke2fs.c | 2209 char *tdb_dir = NULL, *tdb_file = NULL; in mke2fs_setup_tdb() local 2236 tdb_file = malloc(strlen(tdb_dir) + 8 + strlen(dev_name) + 7 + 1); in mke2fs_setup_tdb() 2237 if (!tdb_file) { in mke2fs_setup_tdb() 2241 sprintf(tdb_file, "%s/mke2fs-%s.e2undo", tdb_dir, dev_name); in mke2fs_setup_tdb() 2244 if (!access(tdb_file, F_OK)) { in mke2fs_setup_tdb() 2245 if (unlink(tdb_file) < 0) { in mke2fs_setup_tdb() 2253 retval = set_undo_io_backup_file(tdb_file); in mke2fs_setup_tdb() 2258 " e2undo %s %s\n\n"), tdb_file, name); in mke2fs_setup_tdb() 2262 free(tdb_file); in mke2fs_setup_tdb() 2268 free(tdb_file); in mke2fs_setup_tdb()
|
/external/e2fsprogs/lib/ext2fs/ |
D | undo_io.c | 61 char *tdb_file; member 109 static char *tdb_file; variable 127 tdb_file = strdup(file_name); in set_undo_io_backup_file() 129 if (tdb_file == NULL) { in set_undo_io_backup_file() 392 data->tdb = tdb_open(tdb_file, 0, TDB_CLEAR_IF_FIRST, in undo_open()
|