H A D | install.c | 216 UnitFileChange **changes, 226 assert(!changes == !n_changes); 228 if (!changes) 231 c = realloc(*changes, (*n_changes + 1) * sizeof(UnitFileChange)); 235 *changes = c; 260 void unit_file_changes_free(UnitFileChange *changes, unsigned n_changes) { argument 263 assert(changes || n_changes == 0); 265 if (!changes) 269 free(changes[i].path); 270 free(changes[ 215 unit_file_changes_add( UnitFileChange **changes, unsigned *n_changes, UnitFileChangeType type, const char *path, const char *source) argument 276 create_symlink( const char *old_path, const char *new_path, bool force, UnitFileChange **changes, unsigned *n_changes) argument 351 remove_marked_symlinks_fd( Set *remove_symlinks_to, int fd, const char *path, const char *config_path, bool *restart, UnitFileChange **changes, unsigned *n_changes) argument 464 remove_marked_symlinks( Set *remove_symlinks_to, const char *config_path, UnitFileChange **changes, unsigned *n_changes) argument 1245 install_info_symlink_alias( UnitFileInstallInfo *i, const char *config_path, bool force, UnitFileChange **changes, unsigned *n_changes) argument 1277 install_info_symlink_wants( UnitFileInstallInfo *i, const char *config_path, char **list, const char *suffix, bool force, UnitFileChange **changes, unsigned *n_changes) 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 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 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 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 [all...] |