Lines Matching defs:unit_name
2277 static int unit_file_find_path(LookupPaths *lp, const char *unit_name, char **unit_path) {
2281 assert(unit_name);
2287 path = path_join(arg_root, *p, unit_name);
2303 const char *unit_name,
2320 assert(unit_name);
2324 if (!install_client_side() && !unit_name_is_valid(unit_name, UNIT_NAME_TEMPLATE)) {
2328 unit = unit_dbus_path_from_name(unit_name);
2362 r = set_put(names, unit_name);
2366 r = unit_file_find_path(lp, unit_name, &path);
2373 r = unit_name_template(unit_name, &template);
2405 log_error("No files found for %s.", unit_name);
5903 static int unit_file_create_dropin(const char *unit_name, const char *user_home, const char *user_runtime, char **ret_new_path, char **ret_tmp_path) {
5907 assert(unit_name);
5911 ending = strjoina(unit_name, ".d/override.conf");
5929 const char *unit_name,
5940 assert(unit_name);
5944 r = get_file_to_edit(unit_name, user_home, user_runtime, &tmp_new_path);
5957 log_warning("%s ignored", unit_name);