Lines Matching refs:temp_path
41 char *temp_path; member
73 unlink_and_free(i->temp_path); in raw_import_unref()
196 unlink_and_free(i->temp_path); in raw_import_maybe_convert_qcow2()
197 i->temp_path = TAKE_PTR(t); in raw_import_maybe_convert_qcow2()
242 r = install_file(AT_FDCWD, i->temp_path ?: i->local, in raw_import_finish()
250 i->temp_path = mfree(i->temp_path); in raw_import_finish()
263 assert(!i->temp_path); in raw_import_open_disk()
286 r = tempfn_random(i->final_path, NULL, &i->temp_path); in raw_import_open_disk()
290 (void) mkdir_parents_label(i->temp_path, 0700); in raw_import_open_disk()
292 i->output_fd = open(i->temp_path, O_RDWR|O_CREAT|O_EXCL|O_NOCTTY|O_CLOEXEC, 0664); in raw_import_open_disk()
294 … return log_error_errno(errno, "Failed to open destination '%s': %m", i->temp_path); in raw_import_open_disk()
296 (void) import_set_nocow_and_log(i->output_fd, i->temp_path); in raw_import_open_disk()