Lines Matching refs:tdb_file
224 char *tdb_file = NULL; in e2undo_setup_tdb() local
259 tdb_file = malloc(strlen(tdb_dir) + 8 + strlen(dev_name) + 7 + 1); in e2undo_setup_tdb()
260 if (!tdb_file) { in e2undo_setup_tdb()
264 sprintf(tdb_file, "%s/e2undo-%s.e2undo", tdb_dir, dev_name); in e2undo_setup_tdb()
267 if ((unlink(tdb_file) < 0) && (errno != ENOENT)) { in e2undo_setup_tdb()
270 _("while trying to delete %s"), tdb_file); in e2undo_setup_tdb()
278 retval = set_undo_io_backup_file(tdb_file); in e2undo_setup_tdb()
284 tdb_file, name); in e2undo_setup_tdb()
286 free(tdb_file); in e2undo_setup_tdb()
289 free(tdb_file); in e2undo_setup_tdb()
302 char *device_name, *tdb_file; in main() local
360 tdb_file = argv[optind]; in main()
363 if (undo_file && strcmp(tdb_file, undo_file) == 0) { in main()
369 retval = manager->open(tdb_file, IO_FLAG_EXCLUSIVE, in main()
373 _("while opening undo file `%s'\n"), tdb_file); in main()
385 fprintf(stderr, _("%s: Not an undo file.\n"), tdb_file); in main()
397 tdb_file); in main()
403 fprintf(stderr, _("%s: Corrupt undo file header.\n"), tdb_file); in main()
408 tdb_file); in main()
413 tdb_file); in main()
426 tdb_file); in main()
520 tdb_file, lblk); in main()
530 tdb_file, lblk); in main()
553 tdb_file, ikey->fsblk); in main()