Home
last modified time | relevance | path

Searched refs:image_path (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/portable/
Dportable.c90 m->image_path = strdup(path); in portable_metadata_new()
91 if (!m->image_path) in portable_metadata_new()
99 free(m->image_path); in portable_metadata_new()
116 free(i->image_path); in portable_metadata_unref()
913 static int make_marker_text(const char *image_path, OrderedHashmap *extension_images, char **ret_te… in make_marker_text() argument
917 assert(image_path); in make_marker_text()
920 escaped_image_path = xescape(image_path, ":"); in make_marker_text()
949 const char *image_path, in install_chroot_dropin() argument
961 assert(image_path); in install_chroot_dropin()
969 r = make_marker_text(image_path, extension_images, &text); in install_chroot_dropin()
[all …]
Dportable.h14 char *image_path; member
Dportabled-image-bus.c204 r = sd_bus_message_append(reply, "s", extension_release->image_path); in bus_image_common_get_metadata()
/systemd-251/src/home/
Duser-record-util.c21 const char *image_path, in user_record_synthesize() argument
32 assert(image_path); in user_record_synthesize()
53 if (!suitable_image_path(image_path)) in user_record_synthesize()
74 ip = strdup(image_path); in user_record_synthesize()
89 … JSON_BUILD_PAIR("imagePath", JSON_BUILD_STRING(image_path)), in user_record_synthesize()
100 free_and_replace(h->image_path, ip); in user_record_synthesize()
272 const char *image_path, in user_record_add_binding() argument
298 if (image_path) { in user_record_add_binding()
299 ip = strdup(image_path); in user_record_add_binding()
302 } else if (!h->image_path && storage >= 0) { in user_record_add_binding()
[all …]
Duser-record-util.h9 …e(UserRecord *h, const char *user_name, const char *realm, const char *image_path, UserStorage sto…
27 int user_record_add_binding(UserRecord *h, UserStorage storage, const char *image_path, sd_id128_t …
Dhomed-manager.c657 const char *image_path, in manager_add_home_by_image() argument
671 assert(image_path); in manager_add_home_by_image()
694 same = p && path_equal(p, image_path); in manager_add_home_by_image()
699 … log_debug("Found multiple images for user '%s', ignoring image '%s'.", user_name, image_path); in manager_add_home_by_image()
705 …debug("Found an existing user or group by name '%s', ignoring image '%s'.", user_name, image_path); in manager_add_home_by_image()
714 … IN_SET(storage, USER_SUBVOLUME, USER_DIRECTORY, USER_FSCRYPT) ? image_path : NULL, in manager_add_home_by_image()
724 r = user_record_synthesize(hr, user_name, realm, image_path, storage, uid, (gid_t) uid); in manager_add_home_by_image()
726 …og_error_errno(r, "Failed to synthesize home record for %s (image %s): %m", user_name, image_path); in manager_add_home_by_image()
739 … log_info("Discovered new home for user %s through image %s.", user_name, image_path); in manager_add_home_by_image()
/systemd-251/src/shared/
Duser-record.c159 free(h->image_path); in user_record_free()
1036 …IANT_STRING, json_dispatch_image_path, offsetof(UserRecord, image_path), 0 … in dispatch_binding()
1190 …ING, json_dispatch_path, offsetof(UserRecord, image_path), … in dispatch_per_machine()
1370 if (!h->image_path && !h->image_path_auto) { in user_record_augment()
1541 …ING, json_dispatch_path, offsetof(UserRecord, image_path), … in user_record_load()
1718 if (h->image_path) in user_record_image_path()
1719 return h->image_path; in user_record_image_path()
Duser-record.h290 char *image_path; member