Home
last modified time | relevance | path

Searched refs:image_root (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/import/
Dpull-tar.c47 char *image_root; member
90 free(i->image_root); in tar_pull_unref()
100 const char *image_root, in tar_pull_new() argument
112 root = strdup(image_root ?: "/var/lib/machines"); in tar_pull_new()
135 .image_root = TAKE_PTR(root), in tar_pull_new()
214 … r = pull_make_path(i->tar_job->url, i->tar_job->etag, i->image_root, ".tar-", suffix, field); in tar_pull_determine_path()
234 p = prefix_roota(i->image_root, i->local); in tar_pull_make_local_copy()
273 local_settings = strjoina(i->image_root, "/", i->local, ".nspawn"); in tar_pull_make_local_copy()
507 r = tempfn_random_child(i->image_root, "tar", &i->temp_path); in tar_pull_job_on_open_disk_tar()
531 (void) import_assign_pool_quota_and_warn(i->image_root); in tar_pull_job_on_open_disk_tar()
[all …]
Dimport-tar.c34 char *image_root; member
84 free(i->image_root); in tar_import_unref()
92 const char *image_root, in tar_import_new() argument
102 root = strdup(image_root ?: "/var/lib/machines"); in tar_import_new()
116 .image_root = TAKE_PTR(root), in tar_import_new()
209 i->final_path = path_join(i->image_root, i->local); in tar_import_fork_tar()
218 root = i->image_root; in tar_import_fork_tar()
Dpull-common.c33 const char *image_root, in pull_find_old_etags() argument
44 if (!image_root) in pull_find_old_etags()
45 image_root = "/var/lib/machines"; in pull_find_old_etags()
51 _cleanup_closedir_ DIR *d = opendir(image_root); in pull_find_old_etags()
128 int pull_make_path(const char *url, const char *etag, const char *image_root, const char *prefix, c… in pull_make_path() argument
135 if (!image_root) in pull_make_path()
136 image_root = "/var/lib/machines"; in pull_make_path()
148 path = strjoin(image_root, "/", strempty(prefix), escaped_url, escaped_etag ? "." : "", in pull_make_path()
166 path = strjoin(image_root, "/", strempty(prefix), hash, escaped_etag ? "." : "", in pull_make_path()
Dpull-raw.c48 char *image_root; member
110 free(i->image_root); in raw_pull_unref()
120 const char *image_root, in raw_pull_new() argument
132 root = strdup(image_root ?: "/var/lib/machines"); in raw_pull_new()
155 .image_root = TAKE_PTR(root), in raw_pull_new()
302 … r = pull_make_path(i->raw_job->url, i->raw_job->etag, i->image_root, ".raw-", suffix, field); in raw_pull_determine_path()
325 local = strjoina(i->image_root, "/", i->local, suffix); in raw_pull_copy_auxiliary_file()
379 p = strjoina(i->image_root, "/", i->local, ".raw"); in raw_pull_make_local_copy()
702 r = tempfn_random_child(i->image_root, extra, temp_path); in raw_pull_job_on_open_disk_generic()
887 … r = pull_find_old_etags(url, i->image_root, DT_REG, ".raw-", ".raw", &i->raw_job->old_etags); in raw_pull_start()
Dimport-raw.c33 char *image_root; member
82 free(i->image_root); in raw_import_unref()
90 const char *image_root, in raw_import_new() argument
100 root = strdup(image_root ?: "/var/lib/machines"); in raw_import_new()
114 .image_root = TAKE_PTR(root), in raw_import_new()
282 i->final_path = strjoin(i->image_root, "/", i->local, ".raw"); in raw_import_open_disk()
Dimport-tar.h14 int tar_import_new(TarImport **import, sd_event *event, const char *image_root, TarImportFinished o…
Dpull-tar.h14 int tar_pull_new(TarPull **pull, sd_event *event, const char *image_root, TarPullFinished on_finish…
Dimport-raw.h14 int raw_import_new(RawImport **import, sd_event *event, const char *image_root, RawImportFinished o…
Dpull-raw.h14 int raw_pull_new(RawPull **pull, sd_event *event, const char *image_root, RawPullFinished on_finish…
Dpull-common.h29 int pull_make_path(const char *url, const char *etag, const char *image_root, const char *prefix, c…
/systemd-251/src/boot/efi/
Dboot.c2337 _cleanup_(file_closep) EFI_FILE *image_root = LibOpenRoot(entry->device); in image_start()
2338 if (!image_root) in image_start()
2350 err = devicetree_install(&dtstate, image_root, entry->devicetree); in image_start()