Searched refs:unit_name_to_instance (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/test/ |
D | test-unit-name.c | 166 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/ |
D | unit-name.h | 25 UnitNameFlags unit_name_to_instance(const char *n, char **ret); 27 return unit_name_to_instance(n, NULL); in unit_name_classify()
|
D | unit-file.c | 94 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()
|
D | unit-name.c | 151 UnitNameFlags unit_name_to_instance(const char *n, char **ret) { in unit_name_to_instance() function
|
/systemd-251/src/shared/ |
D | install-printf.c | 63 r = unit_name_to_instance(i->name, &instance); in specifier_instance()
|
D | dropin.c | 211 r = unit_name_to_instance(name, &instance); in unit_file_find_dirs()
|
D | install.c | 1654 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/ |
D | escape.c | 231 r = unit_name_to_instance(*i, &name); in run()
|
/systemd-251/src/systemctl/ |
D | systemctl-edit.c | 427 r = unit_name_to_instance(*name, &instance); in find_paths_to_edit()
|
/systemd-251/src/core/ |
D | unit.c | 273 r = unit_name_to_instance(name, &instance); in unit_add_name()
|