Lines Matching refs:item

129         PortableMetadata *item;  in portable_metadata_hashmap_to_sorted_array()  local
136 HASHMAP_FOREACH(item, unit_files) in portable_metadata_hashmap_to_sorted_array()
137 sorted[k++] = item; in portable_metadata_hashmap_to_sorted_array()
1290 PortableMetadata *item; in portable_attach() local
1352 HASHMAP_FOREACH(item, unit_files) { in portable_attach()
1353 r = unit_file_exists(LOOKUP_SCOPE_SYSTEM, &paths, item->name); in portable_attach()
1355 …r_set_errnof(error, r, "Failed to determine whether unit '%s' exists on the host: %m", item->name); in portable_attach()
1357 …(error, BUS_ERROR_UNIT_EXISTS, "Unit file '%s' exists on the host already, refusing.", item->name); in portable_attach()
1359 r = unit_file_is_active(bus, item->name, error); in portable_attach()
1363 …rror_setf(error, BUS_ERROR_UNIT_EXISTS, "Unit file '%s' is active already, refusing.", item->name); in portable_attach()
1366 HASHMAP_FOREACH(item, unit_files) { in portable_attach()
1368 item, profile, flags, changes, n_changes); in portable_attach()
1541 const char *where, *item; in portable_detach() local
1617 SET_FOREACH(item, unit_files) { in portable_detach()
1620 if (unlinkat(dirfd(d), item, 0) < 0) { in portable_detach()
1621 log_debug_errno(errno, "Can't remove unit file %s/%s: %m", where, item); in portable_detach()
1626 … portable_changes_add_with_prefix(changes, n_changes, PORTABLE_UNLINK, where, item, NULL); in portable_detach()
1631 dropin = strjoin(item, suffix); in portable_detach()
1644 md = strjoin(item, ".d"); in portable_detach()
1658 SET_FOREACH(item, markers) { in portable_detach()
1662 r = image_symlink(item, flags, &sl); in portable_detach()
1664 … log_debug_errno(r, "Failed to determine image symlink for '%s', ignoring: %m", item); in portable_detach()