Lines Matching defs:paths

1043                 const LookupPaths *paths,
1052 assert(paths);
1063 STRV_FOREACH(p, paths->unit_path) {
1093 STRV_FOREACH(p, paths->unit_path) {
1147 const LookupPaths *paths,
1156 assert(paths);
1160 r = unit_file_search(c, start, paths, root_dir, flags);
1208 r = unit_file_search(c, i, paths, root_dir, flags);
1226 const LookupPaths *paths,
1235 assert(paths);
1242 return install_info_traverse(scope, c, root_dir, paths, i, flags, ret);
1336 const LookupPaths *paths,
1347 assert(paths);
1351 r = in_search_path(i->path, paths->unit_path);
1364 const LookupPaths *paths,
1374 assert(paths);
1390 q = install_info_symlink_link(i, paths, config_path, root_dir, force, changes, n_changes);
1400 const LookupPaths *paths,
1412 assert(paths);
1430 r = install_info_traverse(scope, c, root_dir, paths, i, flags, NULL);
1437 q = install_info_apply(i, paths, config_path, root_dir, force, changes, n_changes);
1452 const LookupPaths *paths,
1461 assert(paths);
1479 r = install_info_traverse(scope, c, root_dir, paths, i, SEARCH_LOAD|SEARCH_FOLLOW_CONFIG_SYMLINKS, NULL);
1628 _cleanup_lookup_paths_free_ LookupPaths paths = {};
1642 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
1675 q = in_search_path(*i, paths.unit_path);
1716 _cleanup_lookup_paths_free_ LookupPaths paths = {};
1737 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
1745 r = install_info_discover(scope, &c, root_dir, &paths, target, SEARCH_FOLLOW_CONFIG_SYMLINKS, &target_info);
1756 r = install_info_discover(scope, &c, root_dir, &paths, *f, SEARCH_FOLLOW_CONFIG_SYMLINKS, &i);
1779 return install_context_apply(scope, &c, &paths, config_path, root_dir, force, SEARCH_FOLLOW_CONFIG_SYMLINKS, changes, n_changes);
1791 _cleanup_lookup_paths_free_ LookupPaths paths = {};
1805 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
1814 r = install_info_discover(scope, &c, root_dir, &paths, *f, SEARCH_LOAD, &i);
1828 return install_context_apply(scope, &c, &paths, config_path, root_dir, force, SEARCH_LOAD, changes, n_changes);
1839 _cleanup_lookup_paths_free_ LookupPaths paths = {};
1853 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
1870 r = install_context_mark_for_removal(scope, &c, &paths, &remove_symlinks_to, config_path, root_dir);
1913 _cleanup_lookup_paths_free_ LookupPaths paths = {};
1933 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
1941 r = install_info_discover(scope, &c, root_dir, &paths, name, 0, &i);
1957 _cleanup_lookup_paths_free_ LookupPaths paths = {};
1971 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
1975 r = install_info_discover(scope, &c, root_dir, &paths, SPECIAL_DEFAULT_TARGET, SEARCH_FOLLOW_CONFIG_SYMLINKS, &i);
1992 const LookupPaths *paths,
2001 assert(paths);
2011 r = install_info_discover(scope, &c, root_dir, paths, name, SEARCH_LOAD|SEARCH_FOLLOW_CONFIG_SYMLINKS, &i);
2054 _cleanup_lookup_paths_free_ LookupPaths paths = {};
2065 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
2069 return unit_file_lookup_state(scope, root_dir, &paths, name, ret);
2165 const LookupPaths *paths,
2178 assert(paths);
2184 r = install_context_mark_for_removal(scope, minus, paths, &remove_symlinks_to, config_path, root_dir);
2196 q = install_context_apply(scope, plus, paths, config_path, root_dir, force, SEARCH_LOAD, changes, n_changes);
2212 LookupPaths *paths,
2229 r = install_info_discover(scope, plus, root_dir, paths, name, SEARCH_LOAD|SEARCH_FOLLOW_CONFIG_SYMLINKS, &i);
2236 r = install_info_discover(scope, minus, root_dir, paths, name, SEARCH_FOLLOW_CONFIG_SYMLINKS, &i);
2252 _cleanup_lookup_paths_free_ LookupPaths paths = {};
2265 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
2277 r = preset_prepare_one(scope, &plus, &minus, &paths, root_dir, mode, *i);
2282 return execute_preset(scope, &plus, &minus, &paths, config_path, root_dir, files, mode, force, changes, n_changes);
2295 _cleanup_lookup_paths_free_ LookupPaths paths = {};
2308 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
2316 STRV_FOREACH(i, paths.unit_path) {
2343 r = preset_prepare_one(scope, &plus, &minus, &paths, root_dir, mode, de->d_name);
2349 return execute_preset(scope, &plus, &minus, &paths, config_path, root_dir, NULL, mode, force, changes, n_changes);
2376 _cleanup_lookup_paths_free_ LookupPaths paths = {};
2388 r = lookup_paths_init_from_scope(&paths, scope, root_dir);
2392 STRV_FOREACH(i, paths.unit_path) {
2431 r = unit_file_lookup_state(scope, root_dir, &paths, basename(f->path), &f->state);