Home
last modified time | relevance | path

Searched refs:default_instance (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/shared/
Dinstall-printf.c25 if (endswith(prefix, "@") && i->default_instance) { in specifier_prefix_and_instance()
28 ans = strjoin(prefix, i->default_instance); in specifier_prefix_and_instance()
42 if (unit_name_is_valid(i->name, UNIT_NAME_TEMPLATE) && i->default_instance) in specifier_name()
43 return unit_name_replace_instance(i->name, i->default_instance, ret); in specifier_name()
68 r = free_and_strdup(&instance, strempty(i->default_instance)); in specifier_instance()
Dinstall.h91 char *default_instance; member
Dinstall.c759 if (i->default_instance && unit_name_is_valid(i->name, UNIT_NAME_TEMPLATE)) { in is_symlink_with_known_name()
762 r = unit_name_replace_instance(i->name, i->default_instance, &s); in is_symlink_with_known_name()
1047 free(i->default_instance); in install_info_free()
1297 return free_and_replace(info->default_instance, printed); in config_parse_default_instance()
1936 else if (info->default_instance) { in install_info_symlink_wants()
1944 r = unit_name_replace_instance(info->name, info->default_instance, &buf); in install_info_symlink_wants()
/systemd-251/src/test/
Dtest-install-root.c1113 .default_instance = (char*) "di" }, in TEST()
1116 .default_instance = (char*) "di" }; in TEST()