Searched refs:image (Results 1 - 8 of 8) sorted by relevance

/systemd/src/machine/
H A Dimage-dbus.c23 #include "image-dbus.h"
25 #include "machine-image.h"
36 Image *image = userdata; local
37 Manager *m = image->userdata;
41 assert(image);
57 r = image_remove(image);
69 Image *image = userdata; local
70 Manager *m = image->userdata;
75 assert(image);
98 r = image_rename(image, new_nam
110 Image *image = userdata; local
151 Image *image = userdata; local
187 Image *image = userdata; local
257 Image *image = NULL; local
329 Image *image; local
[all...]
H A Dmachined-dbus.c34 #include "image-dbus.h"
37 #include "machine-image.h"
174 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_IMAGE, "No image '%s' known", name);
559 Image *image; local
582 HASHMAP_FOREACH(image, images, i) {
585 p = image_bus_path(image->name);
590 image->name,
591 image_type_to_string(image->type),
592 image->read_only,
593 image
[all...]
/systemd/src/boot/efi/
H A Dlinux.h18 EFI_STATUS linux_exec(EFI_HANDLE *image,
H A Dlinux.c66 typedef VOID(*handover_f)(VOID *image, EFI_SYSTEM_TABLE *table, struct SetupHeader *setup);
67 static inline VOID linux_efi_handover(EFI_HANDLE image, struct SetupHeader *setup) { argument
72 handover(image, ST, setup);
75 typedef VOID(*handover_f)(VOID *image, EFI_SYSTEM_TABLE *table, struct SetupHeader *setup) __attribute__((regparm(0)));
76 static inline VOID linux_efi_handover(EFI_HANDLE image, struct SetupHeader *setup) { argument
80 handover(image, ST, setup);
84 EFI_STATUS linux_exec(EFI_HANDLE *image, argument
126 linux_efi_handover(image, boot_setup);
H A Dstub.c24 /* magic string to find in the binary image */
29 EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) { argument
51 InitializeLib(image, sys_table);
53 err = uefi_call_wrapper(BS->OpenProtocol, 6, image, &LoadedImageProtocol, (VOID **)&loaded_image,
54 image, NULL, EFI_OPEN_PROTOCOL_GET_PROTOCOL);
102 /* export the device path this image is started from */
109 err = linux_exec(image, cmdline, cmdline_len,
114 Print(L"Execution of embedded linux image failed: %r\n", err);
H A Dboot.c30 /* magic string to find in the binary image */
367 Print(L"loaded image: %s\n", loaded_image_path);
1060 /* do not add an entry for an EFI image of architecture not matching with that of the image */
1610 EFI_HANDLE image; local
1622 err = uefi_call_wrapper(BS->LoadImage, 6, FALSE, parent_image, path, NULL, 0, &image);
1638 err = uefi_call_wrapper(BS->OpenProtocol, 6, image, &LoadedImageProtocol, (VOID **)&loaded_image,
1650 err = uefi_call_wrapper(BS->StartImage, 3, image, NULL, NULL);
1652 uefi_call_wrapper(BS->UnloadImage, 1, image);
1692 EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABL argument
[all...]
/systemd/src/import/
H A Dexport.c31 #include "machine-image.h"
77 _cleanup_(image_unrefp) Image *image = NULL;
83 r = image_find(argv[1], &image);
87 log_error("Machine image %s not found.", argv[1]);
91 local = image->path;
105 return log_error_errno(errno, "Failed to open tar image for export: %m");
133 return log_error_errno(r, "Failed to export image: %m");
156 _cleanup_(image_unrefp) Image *image = NULL;
162 r = image_find(argv[1], &image);
166 log_error("Machine image
[all...]
/systemd/src/shared/
H A Dmachine-image.c40 #include "machine-image.h"
68 static char **image_settings_path(Image *image) { argument
74 assert(image);
80 fn = strjoina(image->name, ".nspawn");
90 l[i] = file_in_same_dir(image->path, fn);
252 /* It's a RAW disk image */
346 _cleanup_(image_unrefp) Image *image = NULL;
354 r = image_make(NULL, dirfd(d), path, de->d_name, &image);
360 r = hashmap_put(h, image->name, image);
[all...]

Completed in 2304 milliseconds