Lines Matching defs:config_path

355                 const char *config_path,
367 assert(config_path);
403 q = remove_marked_symlinks_fd(remove_symlinks_to, nfd, p, config_path, restart, changes, n_changes);
449 (void) rmdir_parents(p, config_path);
466 const char *config_path,
474 assert(config_path);
479 fd = open(config_path, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC|O_NOFOLLOW);
492 q = remove_marked_symlinks_fd(remove_symlinks_to, cfd, config_path, config_path, &restart, changes, n_changes);
505 const char *config_path,
515 assert(config_path);
549 q = find_symlinks_fd(root_dir, name, nfd, p, config_path, same_name_link);
606 t = path_make_absolute(name, config_path);
626 const char *config_path,
632 assert(config_path);
635 fd = open(config_path, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC|O_NOFOLLOW);
643 return find_symlinks_fd(root_dir, name, fd, config_path, config_path, same_name_link);
1247 const char *config_path,
1256 assert(config_path);
1265 alias_path = path_make_absolute(dst, config_path);
1279 const char *config_path,
1292 assert(config_path);
1322 path = strjoin(config_path, "/", dst, suffix, n, NULL);
1337 const char *config_path,
1348 assert(config_path);
1355 path = strjoin(config_path, "/", i->name, NULL);
1365 const char *config_path,
1375 assert(config_path);
1380 r = install_info_symlink_alias(i, config_path, force, changes, n_changes);
1382 q = install_info_symlink_wants(i, config_path, i->wanted_by, ".wants/", force, changes, n_changes);
1386 q = install_info_symlink_wants(i, config_path, i->required_by, ".requires/", force, changes, n_changes);
1390 q = install_info_symlink_link(i, paths, config_path, root_dir, force, changes, n_changes);
1401 const char *config_path,
1413 assert(config_path);
1437 q = install_info_apply(i, paths, config_path, root_dir, force, changes, n_changes);
1454 const char *config_path,
1462 assert(config_path);
1549 _cleanup_free_ char *config_path = NULL;
1562 r = get_config_path(scope, runtime, root_dir, &config_path);
1572 path = path_make_absolute(*i, config_path);
1596 path = path_make_absolute(*i, config_path);
1612 q = remove_marked_symlinks(remove_symlinks_to, config_path, changes, n_changes);
1629 _cleanup_free_ char *config_path = NULL;
1646 r = get_config_path(scope, runtime, root_dir, &config_path);
1693 path = path_make_absolute(basename(*i), config_path);
1718 _cleanup_free_ char *config_path = NULL;
1741 r = get_config_path(scope, runtime, root_dir, &config_path);
1779 return install_context_apply(scope, &c, &paths, config_path, root_dir, force, SEARCH_FOLLOW_CONFIG_SYMLINKS, changes, n_changes);
1793 _cleanup_free_ char *config_path = NULL;
1809 r = get_config_path(scope, runtime, root_dir, &config_path);
1828 return install_context_apply(scope, &c, &paths, config_path, root_dir, force, SEARCH_LOAD, changes, n_changes);
1841 _cleanup_free_ char *config_path = NULL;
1857 r = get_config_path(scope, runtime, root_dir, &config_path);
1870 r = install_context_mark_for_removal(scope, &c, &paths, &remove_symlinks_to, config_path, root_dir);
1874 return remove_marked_symlinks(remove_symlinks_to, config_path, changes, n_changes);
1915 _cleanup_free_ char *config_path = NULL;
1937 r = get_config_path(scope, false, root_dir, &config_path);
1947 path = strjoina(config_path, "/" SPECIAL_DEFAULT_TARGET);
2166 const char *config_path,
2179 assert(config_path);
2184 r = install_context_mark_for_removal(scope, minus, paths, &remove_symlinks_to, config_path, root_dir);
2188 r = remove_marked_symlinks(remove_symlinks_to, config_path, changes, n_changes);
2196 q = install_context_apply(scope, plus, paths, config_path, root_dir, force, SEARCH_LOAD, changes, n_changes);
2253 _cleanup_free_ char *config_path = NULL;
2269 r = get_config_path(scope, runtime, root_dir, &config_path);
2282 return execute_preset(scope, &plus, &minus, &paths, config_path, root_dir, files, mode, force, changes, n_changes);
2296 _cleanup_free_ char *config_path = NULL;
2312 r = get_config_path(scope, runtime, root_dir, &config_path);
2349 return execute_preset(scope, &plus, &minus, &paths, config_path, root_dir, NULL, mode, force, changes, n_changes);