Lines Matching refs:image_path

90                 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()
988 r = path_extract_filename(m->image_path ?: image_path, &base_name); in install_chroot_dropin()
990 …return log_debug_errno(r, "Failed to extract basename from '%s': %m", m->image_path ?: image_path); in install_chroot_dropin()
995 root_type, image_path, "\n" in install_chroot_dropin()
1001 if (m->image_path && !path_equal(m->image_path, image_path)) in install_chroot_dropin()
1020 const char *image_path, in install_profile_dropin() argument
1032 assert(image_path); in install_profile_dropin()
1090 const char *image_path, in attach_unit_file() argument
1105 assert(image_path); in attach_unit_file()
1133 …r = install_chroot_dropin(image_path, type, extension_images, m, dropin_dir, &chroot_dropin, chang… in attach_unit_file()
1137 …r = install_profile_dropin(image_path, m, dropin_dir, profile, flags, &profile_dropin, changes, n_… in attach_unit_file()
1184 const char *image_path, in image_symlink() argument
1191 assert(image_path); in image_symlink()
1194 fn = last_path_component(image_path); in image_symlink()
1210 const char *image_path, in install_image_symlink() argument
1218 assert(image_path); in install_image_symlink()
1223 if (image_in_search_path(IMAGE_PORTABLE, NULL, image_path)) in install_image_symlink()
1226 r = image_symlink(image_path, flags, &sl); in install_image_symlink()
1232 if (symlink(image_path, sl) < 0) in install_image_symlink()
1233 …return log_debug_errno(errno, "Failed to link %s %s %s: %m", image_path, special_glyph(SPECIAL_GLY… in install_image_symlink()
1235 (void) portable_changes_add(changes, n_changes, PORTABLE_SYMLINK, sl, image_path); in install_image_symlink()