Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Dunit-file.c651 UnitNameFlags name_type, in add_names() argument
659 assert(name_type == UNIT_NAME_PLAIN || instance); in add_names()
663 if (name_type != UNIT_NAME_TEMPLATE) { in add_names()
675 … if (name_type == UNIT_NAME_INSTANCE && unit_name_is_valid(*alias, UNIT_NAME_TEMPLATE)) { in add_names()
737 UnitNameFlags name_type = unit_name_to_instance(unit_name, &instance); in unit_file_find_fragment() local
738 if (name_type < 0) in unit_file_find_fragment()
739 return name_type; in unit_file_find_fragment()
742 …r = add_names(unit_ids_map, unit_name_map, unit_name, NULL, name_type, instance, &names, unit_name… in unit_file_find_fragment()
752 if (!fragment && name_type == UNIT_NAME_INSTANCE) { in unit_file_find_fragment()
769 … = add_names(unit_ids_map, unit_name_map, unit_name, fragment_basename, name_type, instance, &name… in unit_file_find_fragment()