H A D | install.c | 85 static int get_config_path(UnitFileScope scope, bool runtime, const char *root_dir, char **ret) { argument 101 p = path_join(root_dir, "/run/systemd/system", NULL); 103 p = path_join(root_dir, SYSTEM_CONFIG_UNIT_PATH, NULL); 108 if (root_dir) 119 if (root_dir) 189 static int verify_root_dir(UnitFileScope scope, const char **root_dir) { argument 192 assert(root_dir); 198 if (isempty(*root_dir) || path_equal(*root_dir, "/")) { 199 *root_dir 500 find_symlinks_fd( const char *root_dir, const char *name, int fd, const char *path, const char *config_path, bool *same_name_link) argument 623 find_symlinks( const char *root_dir, const char *name, const char *config_path, bool *same_name_link) argument 646 find_symlinks_in_scope( UnitFileScope scope, const char *root_dir, const char *name, UnitFileState *state) argument 899 unit_file_load( InstallContext *c, UnitFileInstallInfo *info, const char *path, const char *root_dir, SearchFlags flags) argument 979 unit_file_load_or_readlink( InstallContext *c, UnitFileInstallInfo *info, const char *path, const char *root_dir, SearchFlags flags) argument 1040 unit_file_search( InstallContext *c, UnitFileInstallInfo *info, const LookupPaths *paths, const char *root_dir, SearchFlags flags) argument 1115 install_info_follow( InstallContext *c, UnitFileInstallInfo *i, const char *root_dir, SearchFlags flags) argument 1143 install_info_traverse( UnitFileScope scope, InstallContext *c, const char *root_dir, const LookupPaths *paths, UnitFileInstallInfo *start, SearchFlags flags, UnitFileInstallInfo **ret) argument 1222 install_info_discover( UnitFileScope scope, InstallContext *c, const char *root_dir, const LookupPaths *paths, const char *name, SearchFlags flags, UnitFileInstallInfo **ret) argument 1334 install_info_symlink_link( UnitFileInstallInfo *i, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1362 install_info_apply( UnitFileInstallInfo *i, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1397 install_context_apply( UnitFileScope scope, InstallContext *c, const LookupPaths *paths, const char *config_path, const char *root_dir, bool force, SearchFlags flags, UnitFileChange **changes, unsigned *n_changes) argument 1449 install_context_mark_for_removal( UnitFileScope scope, InstallContext *c, const LookupPaths *paths, Set **remove_symlinks_to, const char *config_path, const char *root_dir) argument 1494 unit_file_mask( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1540 unit_file_unmask( UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFileChange **changes, unsigned *n_changes) argument 1619 unit_file_link( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1705 unit_file_add_dependency( UnitFileScope scope, bool runtime, const char *root_dir, char **files, const char *target, UnitDependency dep, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1782 unit_file_enable( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1831 unit_file_disable( UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFileChange **changes, unsigned *n_changes) argument 1877 unit_file_reenable( UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1905 unit_file_set_default( UnitFileScope scope, const char *root_dir, const char *name, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1952 unit_file_get_default( UnitFileScope scope, const char *root_dir, char **name) argument 1989 unit_file_lookup_state( UnitFileScope scope, const char *root_dir, const LookupPaths *paths, const char *name, UnitFileState *ret) argument 2048 unit_file_get_state( UnitFileScope scope, const char *root_dir, const char *name, UnitFileState *ret) argument 2072 unit_file_query_preset(UnitFileScope scope, const char *root_dir, const char *name) argument 2161 execute_preset( UnitFileScope scope, InstallContext *plus, InstallContext *minus, const LookupPaths *paths, const char *config_path, const char *root_dir, char **files, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument 2208 preset_prepare_one( UnitFileScope scope, InstallContext *plus, InstallContext *minus, LookupPaths *paths, const char *root_dir, UnitFilePresetMode mode, const char *name) argument 2241 unit_file_preset( UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument 2285 unit_file_preset_all( UnitFileScope scope, bool runtime, const char *root_dir, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes) argument 2371 unit_file_get_list( UnitFileScope scope, const char *root_dir, Hashmap *h) argument [all...] |