Lines Matching defs:n_changes

217                 unsigned *n_changes,
226 assert(!changes == !n_changes);
231 c = realloc(*changes, (*n_changes + 1) * sizeof(UnitFileChange));
236 i = *n_changes;
256 *n_changes = i+1;
260 void unit_file_changes_free(UnitFileChange *changes, unsigned n_changes) {
263 assert(changes || n_changes == 0);
268 for (i = 0; i < n_changes; i++) {
281 unsigned *n_changes) {
296 unit_file_changes_add(changes, n_changes, UNIT_FILE_SYMLINK, new_path, old_path);
317 unit_file_changes_add(changes, n_changes, UNIT_FILE_UNLINK, new_path, NULL);
318 unit_file_changes_add(changes, n_changes, UNIT_FILE_SYMLINK, new_path, old_path);
358 unsigned *n_changes) {
403 q = remove_marked_symlinks_fd(remove_symlinks_to, nfd, p, config_path, restart, changes, n_changes);
451 unit_file_changes_add(changes, n_changes, UNIT_FILE_UNLINK, p, NULL);
468 unsigned *n_changes) {
492 q = remove_marked_symlinks_fd(remove_symlinks_to, cfd, config_path, config_path, &restart, changes, n_changes);
1250 unsigned *n_changes) {
1269 q = create_symlink(i->path, alias_path, force, changes, n_changes);
1284 unsigned *n_changes) {
1326 q = create_symlink(i->path, path, force, changes, n_changes);
1341 unsigned *n_changes) {
1359 return create_symlink(i->path, path, force, changes, n_changes);
1369 unsigned *n_changes) {
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);
1406 unsigned *n_changes) {
1437 q = install_info_apply(i, paths, config_path, root_dir, force, changes, n_changes);
1501 unsigned *n_changes) {
1532 q = create_symlink("/dev/null", path, force, changes, n_changes);
1546 unsigned *n_changes) {
1608 unit_file_changes_add(changes, n_changes, UNIT_FILE_UNLINK, path, NULL);
1612 q = remove_marked_symlinks(remove_symlinks_to, config_path, changes, n_changes);
1626 unsigned *n_changes) {
1697 q = create_symlink(*i, path, force, changes, n_changes);
1714 unsigned *n_changes) {
1779 return install_context_apply(scope, &c, &paths, config_path, root_dir, force, SEARCH_FOLLOW_CONFIG_SYMLINKS, changes, n_changes);
1789 unsigned *n_changes) {
1828 return install_context_apply(scope, &c, &paths, config_path, root_dir, force, SEARCH_LOAD, changes, n_changes);
1837 unsigned *n_changes) {
1874 return remove_marked_symlinks(remove_symlinks_to, config_path, changes, n_changes);
1884 unsigned *n_changes) {
1897 r = unit_file_disable(scope, runtime, root_dir, n, changes, n_changes);
1902 return unit_file_enable(scope, runtime, root_dir, files, force, changes, n_changes);
1911 unsigned *n_changes) {
1949 return create_symlink(i->path, path, force, changes, n_changes);
2172 unsigned *n_changes) {
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);
2249 unsigned *n_changes) {
2282 return execute_preset(scope, &plus, &minus, &paths, config_path, root_dir, files, mode, force, changes, n_changes);
2292 unsigned *n_changes) {
2349 return execute_preset(scope, &plus, &minus, &paths, config_path, root_dir, NULL, mode, force, changes, n_changes);