Lines Matching refs:prefix
29 char prefix[DECIMAL_STR_MAX(unsigned)]; in drop_in_file() local
37 sprintf(prefix, "%u", level); in drop_in_file()
47 q = strjoin(p, "/", prefix, "-", b, ".conf"); in drop_in_file()
134 _cleanup_free_ char *prefix = NULL, *instance = NULL, *built = NULL; in unit_file_find_dirs() local
177 r = unit_name_to_prefix(name, &prefix); in unit_file_find_dirs()
183 dash = strrchr(prefix, '-'); in unit_file_find_dirs()
187 n = (size_t) (dash - prefix); in unit_file_find_dirs()
191 if (prefix[n+1] != 0 || chopped) { in unit_file_find_dirs()
192 prefix[n+1] = 0; in unit_file_find_dirs()
197 prefix[n] = 0; in unit_file_find_dirs()
201 if (!unit_prefix_is_valid(prefix)) in unit_file_find_dirs()
216 r = unit_name_build_from_type(prefix, instance, type, &built); in unit_file_find_dirs()