Lines Matching refs:dst
1766 const char *dst, in unit_file_verify_alias() argument
1787 const char *path_alias = strrchr(dst, '/'); in unit_file_verify_alias()
1795 dir = dirname_malloc(dst); in unit_file_verify_alias()
1803 unit_file_changes_add(changes, n_changes, -EXDEV, dst, NULL); in unit_file_verify_alias()
1811 unit_file_changes_add(changes, n_changes, -EXDEV, dst, NULL); in unit_file_verify_alias()
1823 unit_file_changes_add(changes, n_changes, -EXDEV, dst, info->name); in unit_file_verify_alias()
1826 info->name, dst); in unit_file_verify_alias()
1832 if (unit_name_is_valid(dst, UNIT_NAME_TEMPLATE)) { in unit_file_verify_alias()
1842 r = unit_name_replace_instance(dst, inst, &dst_updated); in unit_file_verify_alias()
1845 dst, inst); in unit_file_verify_alias()
1849 r = unit_validate_alias_symlink_or_warn(LOG_DEBUG, dst_updated ?: dst, info->name); in unit_file_verify_alias()
1855 dst_updated ?: dst, in unit_file_verify_alias()
1881 _cleanup_free_ char *alias_path = NULL, *dst = NULL, *dst_updated = NULL; in install_info_symlink_alias() local
1883 q = install_name_printf(scope, info, *s, &dst); in install_info_symlink_alias()
1890 q = unit_file_verify_alias(info, dst, &dst_updated, changes, n_changes); in install_info_symlink_alias()
1898 alias_path = path_make_absolute(dst_updated ?: dst, config_path); in install_info_symlink_alias()
1971 _cleanup_free_ char *path = NULL, *dst = NULL; in install_info_symlink_wants() local
1973 q = install_name_printf(scope, info, *s, &dst); in install_info_symlink_wants()
1979 if (!unit_name_is_valid(dst, valid_dst_type)) { in install_info_symlink_wants()
1990 if (unit_name_is_valid(dst, UNIT_NAME_ANY)) { in install_info_symlink_wants()
1991 unit_file_changes_add(changes, n_changes, -EIDRM, dst, n); in install_info_symlink_wants()
1994 unit_file_changes_add(changes, n_changes, -EUCLEAN, dst, NULL); in install_info_symlink_wants()
2001 path = strjoin(config_path, "/", dst, suffix, n); in install_info_symlink_wants()
2009 if (unit_file_exists(scope, lp, dst) == 0) in install_info_symlink_wants()
2010 … unit_file_changes_add(changes, n_changes, UNIT_FILE_DESTINATION_NOT_PRESENT, dst, info->path); in install_info_symlink_wants()