Home
last modified time | relevance | path

Searched refs:unit_name_change_suffix (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/basic/
Dunit-name.h33 int unit_name_change_suffix(const char *n, const char *suffix, char **ret);
Dunit-name.c218 int unit_name_change_suffix(const char *n, const char *suffix, char **ret) { in unit_name_change_suffix() function
/systemd-251/src/test/
Dtest-unit-name.c443 TEST(unit_name_change_suffix) { in TEST() argument
446 assert_se(unit_name_change_suffix("foo.mount", ".service", &t) == 0); in TEST()
450 assert_se(unit_name_change_suffix("foo@stuff.service", ".socket", &t) == 0); in TEST()
/systemd-251/src/run/
Drun.c1574 r = unit_name_change_suffix(service, suffix, &trigger); in start_transient_trigger()
1584 r = unit_name_change_suffix(trigger, ".service", &service); in start_transient_trigger()
1609 r = unit_name_change_suffix(service, suffix, &trigger); in start_transient_trigger()
/systemd-251/src/core/
Dunit.c3415 r = unit_name_change_suffix(u->id, type, &t); in unit_load_related_unit()