Lines Matching refs:local
63 … char *local; /* In PULL_DIRECT mode the path we are supposed to place things in, otherwise the member
111 free(i->local); in raw_pull_unref()
314 const char *local; in raw_pull_copy_auxiliary_file() local
325 local = strjoina(i->image_root, "/", i->local, suffix); in raw_pull_copy_auxiliary_file()
329 local, in raw_pull_copy_auxiliary_file()
336 log_warning_errno(r, "File %s already exists, not replacing.", local); in raw_pull_copy_auxiliary_file()
340 log_warning_errno(r, "Failed to copy file %s, ignoring: %m", local); in raw_pull_copy_auxiliary_file()
342 log_info("Created new file %s.", local); in raw_pull_copy_auxiliary_file()
358 if (!i->local) in raw_pull_make_local_copy()
379 p = strjoina(i->image_root, "/", i->local, ".raw"); in raw_pull_make_local_copy()
414 log_info("Created new local image '%s'.", i->local); in raw_pull_make_local_copy()
601 if (i->local) { in raw_pull_job_on_finished()
602 r = install_file(AT_FDCWD, i->local, in raw_pull_job_on_finished()
607 … log_error_errno(r, "Failed to finalize raw file to '%s': %m", i->local); in raw_pull_job_on_finished()
729 … if (!i->local) { /* If no local name specified, the pull job will write its data to stdout */ in raw_pull_job_on_open_disk_raw()
735 (void) mkdir_parents_label(i->local, 0700); in raw_pull_job_on_open_disk_raw()
737 …j->disk_fd = open(i->local, O_RDWR|O_NOCTTY|O_CLOEXEC|(i->offset == UINT64_MAX ? O_TRUNC|O_CREAT :… in raw_pull_job_on_open_disk_raw()
739 … return log_error_errno(errno, "Failed to open destination '%s': %m", i->local); in raw_pull_job_on_open_disk_raw()
742 (void) import_set_nocow_and_log(j->disk_fd, i->local); in raw_pull_job_on_open_disk_raw()
818 const char *local, in raw_pull_start() argument
841 if (local && !pull_validate_local(local, flags)) in raw_pull_start()
847 r = free_and_strdup(&i->local, local); in raw_pull_start()