Home
last modified time | relevance | path

Searched refs:unit_name_to_instance (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/test/
Dtest-unit-name.c166 assert_se(unit_name_to_instance(t, &k) > 0); in test_unit_name_from_path_instance_one()
544 TEST(unit_name_to_instance) { in TEST() argument
548 r = unit_name_to_instance("foo@bar.service", &instance); in TEST()
553 r = unit_name_to_instance("foo@.service", &instance); in TEST()
558 r = unit_name_to_instance("fo0-stUff_b@b.service", &instance); in TEST()
563 r = unit_name_to_instance("foo.service", &instance); in TEST()
567 r = unit_name_to_instance("fooj@unk", &instance); in TEST()
571 r = unit_name_to_instance("foo@", &instance); in TEST()
/systemd-251/src/basic/
Dunit-name.h25 UnitNameFlags unit_name_to_instance(const char *n, char **ret);
27 return unit_name_to_instance(n, NULL); in unit_name_classify()
Dunit-file.c94 src_name_type = unit_name_to_instance(src, &src_instance); in unit_validate_alias_symlink_or_warn()
120 dst_name_type = unit_name_to_instance(dst, &dst_instance); in unit_validate_alias_symlink_or_warn()
596 UnitNameFlags t = unit_name_to_instance(src, &inst); in unit_file_build_name_map()
737 UnitNameFlags name_type = unit_name_to_instance(unit_name, &instance); in unit_file_find_fragment()
Dunit-name.c151 UnitNameFlags unit_name_to_instance(const char *n, char **ret) { in unit_name_to_instance() function
/systemd-251/src/shared/
Dinstall-printf.c63 r = unit_name_to_instance(i->name, &instance); in specifier_instance()
Ddropin.c211 r = unit_name_to_instance(name, &instance); in unit_file_find_dirs()
Dinstall.c1654 r = unit_name_to_instance(i->name, &instance); in install_info_traverse()
1835 UnitNameFlags type = unit_name_to_instance(info->name, &inst); in unit_file_verify_alias()
3277 r = unit_name_to_instance(unit_name, &instance_name); in pattern_match_multiple_instances()
/systemd-251/src/escape/
Descape.c231 r = unit_name_to_instance(*i, &name); in run()
/systemd-251/src/systemctl/
Dsystemctl-edit.c427 r = unit_name_to_instance(*name, &instance); in find_paths_to_edit()
/systemd-251/src/core/
Dunit.c273 r = unit_name_to_instance(name, &instance); in unit_add_name()