Home
last modified time | relevance | path

Searched refs:name_or_path (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/portable/
Dportabled-image-bus.c35 const char *name_or_path, in bus_image_common_get_os_release() argument
41 assert(name_or_path || image); in bus_image_common_get_os_release()
51 name_or_path, in bus_image_common_get_os_release()
101 const char *name_or_path, in bus_image_common_get_metadata() argument
113 assert(name_or_path || image); in bus_image_common_get_metadata()
149 name_or_path, in bus_image_common_get_metadata()
303 const char *name_or_path, in bus_image_common_attach() argument
315 assert(name_or_path || image); in bus_image_common_attach()
369 name_or_path, in bus_image_common_attach()
485 const char *name_or_path, in bus_image_common_remove() argument
[all …]
Dportabled-image-bus.h9 int bus_image_common_get_os_release(Manager *m, sd_bus_message *message, const char *name_or_path, …
10 int bus_image_common_get_metadata(Manager *m, sd_bus_message *message, const char *name_or_path, Im…
11 int bus_image_common_attach(Manager *m, sd_bus_message *message, const char *name_or_path, Image *i…
12 int bus_image_common_remove(Manager *m, sd_bus_message *message, const char *name_or_path, Image *i…
13 int bus_image_common_reattach(Manager *m, sd_bus_message *message, const char *name_or_path, Image …
14 int bus_image_common_mark_read_only(Manager *m, sd_bus_message *message, const char *name_or_path, …
15 int bus_image_common_set_limit(Manager *m, sd_bus_message *message, const char *name_or_path, Image…
40 int bus_image_acquire(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, …
Dportabled-bus.c204 …int (*method)(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_… in redirect_method_to_image() argument
206 const char *name_or_path; in redirect_method_to_image() local
213 r = sd_bus_message_read(message, "s", &name_or_path); in redirect_method_to_image()
217 return method(m, message, name_or_path, NULL, error); in redirect_method_to_image()
230 const char *name_or_path; in method_get_image_state() local
236 r = sd_bus_message_read(message, "s", &name_or_path); in method_get_image_state()
260 name_or_path, in method_get_image_state()
281 const char *name_or_path; in method_detach_image() local
291 r = sd_bus_message_read(message, "s", &name_or_path); in method_detach_image()
338 name_or_path, in method_detach_image()
Dportable.c511 const char *name_or_path, in extract_image_and_extensions() argument
532 assert(name_or_path); in extract_image_and_extensions()
534 r = image_find_harder(IMAGE_PORTABLE, name_or_path, NULL, &image); in extract_image_and_extensions()
586 …f(error, SYNTHETIC_ERRNO(ESTALE), "Image %s os-release metadata lacks the ID field", name_or_path); in extract_image_and_extensions()
675 const char *name_or_path, in portable_extract() argument
691 assert(name_or_path); in portable_extract()
694 name_or_path, in portable_extract()
1276 const char *name_or_path, in portable_attach() argument
1294 name_or_path, in portable_attach()
1380 static bool marker_matches_images(const char *marker, const char *name_or_path, char **extension_im… in marker_matches_images() argument
[all …]
Dportable.h70 int portable_attach(sd_bus *bus, const char *name_or_path, char **matches, const char *profile, cha…
71 int portable_detach(sd_bus *bus, const char *name_or_path, char **extension_image_paths, PortableFl…
73 int portable_get_state(sd_bus *bus, const char *name_or_path, char **extension_image_paths, Portabl…
Dportabled-image.c7 Image *manager_image_cache_get(Manager *m, const char *name_or_path) { in manager_image_cache_get() argument
10 return hashmap_get(m->image_cache, name_or_path); in manager_image_cache_get()
Dportabled-image.h8 Image *manager_image_cache_get(Manager *m, const char *name_or_path);
/systemd-251/src/shared/
Ddiscover-image.h68 int image_find_harder(ImageClass class, const char *root, const char *name_or_path, Image **ret);
Ddiscover-image.c524 int image_find_harder(ImageClass class, const char *name_or_path, const char *root, Image **ret) { in image_find_harder() argument
525 if (image_name_is_valid(name_or_path)) in image_find_harder()
526 return image_find(class, name_or_path, root, ret); in image_find_harder()
528 return image_from_path(name_or_path, ret); in image_find_harder()
Dinstall.c1705 const char *name_or_path, in install_info_add_auto() argument
1709 assert(name_or_path); in install_info_add_auto()
1711 if (path_is_absolute(name_or_path)) { in install_info_add_auto()
1714 pp = prefix_roota(lp->root_dir, name_or_path); in install_info_add_auto()
1718 … return install_info_add(ctx, name_or_path, NULL, lp->root_dir, /* auxiliary= */ false, ret); in install_info_add_auto()