Searched refs:final_path (Results 1 - 4 of 4) sorted by relevance
/systemd/src/import/ |
H A D | import-tar.c | 60 char *final_path; member in struct:TarImport 107 free(i->final_path); 189 assert(i->final_path); 207 (void) rm_rf(i->final_path, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME); 209 r = rename_noreplace(AT_FDCWD, i->temp_path, AT_FDCWD, i->final_path); 223 assert(!i->final_path); 227 i->final_path = strjoin(i->image_root, "/", i->local, NULL); 228 if (!i->final_path) 231 r = tempfn_random(i->final_path, NULL, &i->temp_path);
|
H A D | import-raw.c | 60 char *final_path; member in struct:RawImport 100 free(i->final_path); 190 r = tempfn_random(i->final_path, NULL, &t); 228 assert(i->final_path); 252 (void) rm_rf(i->final_path, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME); 254 r = rename_noreplace(AT_FDCWD, i->temp_path, AT_FDCWD, i->final_path); 268 assert(!i->final_path); 272 i->final_path = strjoin(i->image_root, "/", i->local, ".raw", NULL); 273 if (!i->final_path) 276 r = tempfn_random(i->final_path, NUL [all...] |
H A D | pull-tar.c | 77 char *final_path; member in struct:TarPull 113 free(i->final_path); 229 if (!i->final_path) { 230 r = pull_make_path(i->tar_job->url, i->tar_job->etag, i->image_root, ".tar-", NULL, &i->final_path); 235 r = pull_make_local_copy(i->final_path, i->image_root, i->local, i->force_local); 340 r = rename_noreplace(AT_FDCWD, i->temp_path, AT_FDCWD, i->final_path); 398 assert(!i->final_path); 402 r = pull_make_path(j->url, j->etag, i->image_root, ".tar-", NULL, &i->final_path); 406 r = tempfn_random(i->final_path, NULL, &i->temp_path);
|
H A D | pull-raw.c | 78 char *final_path; member in struct:RawPull 109 free(i->final_path); 235 r = tempfn_random(i->final_path, NULL, &t); 279 if (!i->final_path) { 280 r = pull_make_path(i->raw_job->url, i->raw_job->etag, i->image_root, ".raw-", ".raw", &i->final_path); 290 i->raw_job->disk_fd = open(i->final_path, O_RDONLY|O_NOCTTY|O_CLOEXEC); 441 r = rename_noreplace(AT_FDCWD, i->temp_path, AT_FDCWD, i->final_path); 494 assert(!i->final_path); 497 r = pull_make_path(j->url, j->etag, i->image_root, ".raw-", ".raw", &i->final_path); 501 r = tempfn_random(i->final_path, NUL [all...] |
Completed in 14 milliseconds