Searched refs:Image (Results 1 - 7 of 7) sorted by relevance

/systemd/src/shared/
H A Dmachine-image.h38 typedef struct Image { struct
53 } Image; typedef in typeref:struct:Image
55 Image *image_unref(Image *i);
58 DEFINE_TRIVIAL_CLEANUP_FUNC(Image*, image_unref);
61 int image_find(const char *name, Image **ret);
64 int image_remove(Image *i);
65 int image_rename(Image *i, const char *new_name);
66 int image_clone(Image *i, const char *new_name, bool read_only);
67 int image_read_only(Image *
[all...]
H A Dmachine-image.c58 Image *image_unref(Image *i) {
68 static char **image_settings_path(Image *image) {
108 Image **ret) {
110 _cleanup_(image_unrefp) Image *i = NULL;
118 i = new0(Image, 1);
154 Image **ret) {
282 int image_find(const char *name, Image **ret) {
346 _cleanup_(image_unrefp) Image *image = NULL;
369 _cleanup_(image_unrefp) Image *imag
[all...]
/systemd/src/machine/
H A Dimage-dbus.c36 Image *image = userdata;
69 Image *image = userdata;
82 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", new_name);
110 Image *image = userdata;
123 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", new_name);
151 Image *image = userdata;
187 Image *image = userdata;
223 SD_BUS_PROPERTY("Name", "s", NULL, offsetof(Image, name), 0),
224 SD_BUS_PROPERTY("Path", "s", NULL, offsetof(Image, path), 0),
225 SD_BUS_PROPERTY("Type", "s", property_get_type, offsetof(Image, typ
[all...]
H A Dmachined-dbus.c559 Image *image;
710 _cleanup_(image_unrefp) Image* i = NULL;
721 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", name);
734 _cleanup_(image_unrefp) Image* i = NULL;
745 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", old_name);
758 _cleanup_(image_unrefp) Image *i = NULL;
769 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", old_name);
782 _cleanup_(image_unrefp) Image *i = NULL;
793 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Image name '%s' is invalid.", name);
858 _cleanup_(image_unrefp) Image *
[all...]
H A Dmachined.c69 Image *i;
207 r = sd_bus_add_fallback_vtable(m->bus, NULL, "/org/freedesktop/machine1/image", "org.freedesktop.machine1.Image", image_vtable, image_object_find, m);
/systemd/src/import/
H A Dexport.c77 _cleanup_(image_unrefp) Image *image = NULL;
156 _cleanup_(image_unrefp) Image *image = NULL;
/systemd/src/nspawn/
H A Dnspawn.c2348 _cleanup_(image_unrefp) Image *i = NULL;

Completed in 2042 milliseconds