Home
last modified time | relevance | path

Searched refs:unit_name_build (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/test/
Dtest-unit-name.c455 TEST(unit_name_build) { in TEST() argument
458 assert_se(unit_name_build("foo", "bar", ".service", &t) == 0); in TEST()
462 assert_se(unit_name_build("fo0-stUff_b", "bar", ".mount", &t) == 0); in TEST()
466 assert_se(unit_name_build("foo", NULL, ".service", &t) == 0); in TEST()
/systemd-251/src/basic/
Dunit-name.h35 int unit_name_build(const char *prefix, const char *instance, const char *suffix, char **ret);
Dunit-name.c252 int unit_name_build(const char *prefix, const char *instance, const char *suffix, char **ret) { in unit_name_build() function
/systemd-251/src/integritysetup/
Dintegritysetup-generator.c53 r = unit_name_build("systemd-integritysetup", e, ".service", &n); in create_disk()
/systemd-251/src/login/
Dlogind-user.c79 r = unit_name_build("user", lu, ".service", &u->service); in user_new()
83 r = unit_name_build("user-runtime-dir", lu, ".service", &u->runtime_dir_service); in user_new()
/systemd-251/src/veritysetup/
Dveritysetup-generator.c357 r = unit_name_build("systemd-veritysetup", e, ".service", &n); in create_disk()
/systemd-251/src/gpt-auto-generator/
Dgpt-auto-generator.c126 r = unit_name_build("systemd-cryptsetup", e, ".service", &n); in add_cryptsetup()
/systemd-251/src/sysv-generator/
Dsysv-generator.c283 r = unit_name_build(n, NULL, ".target", ret); in sysv_translate_facility()
/systemd-251/src/cryptsetup/
Dcryptsetup-generator.c341 r = unit_name_build("systemd-cryptsetup", e, ".service", &n); in create_disk()
/systemd-251/src/machine/
Dmachinectl.c1555 r = unit_name_build("systemd-nspawn", name, ".service", ret); in make_service_name()
/systemd-251/src/core/
Dsocket.c1400 r = unit_name_build(prefix, instance ?: "internal", ".service", &name); in socket_load_service_unit()
Dunit.c3612 r = unit_name_build("blockdev", escaped, ".target", &target); in unit_add_blockdev_dependency()