Lines Matching defs:temp_path
42 char *temp_path;
81 if (e->temp_path) {
82 (void) btrfs_subvol_remove(e->temp_path, BTRFS_REMOVE_QUOTA);
83 free(e->temp_path);
291 e->temp_path = mfree(e->temp_path);
293 r = tempfn_random(path, NULL, &e->temp_path);
298 r = btrfs_subvol_snapshot_fd(sfd, e->temp_path, BTRFS_SNAPSHOT_READ_ONLY|BTRFS_SNAPSHOT_RECURSIVE);
300 log_debug_errno(r, "Couldn't create snapshot %s of %s, not exporting atomically: %m", e->temp_path, path);
301 e->temp_path = mfree(e->temp_path);
320 e->tar_fd = import_fork_tar_c(e->temp_path ?: e->path, &e->tar_pid);