Lines Matching defs:changes
1973 static void dump_unit_file_changes(const UnitFileChange *changes, unsigned n_changes) {
1976 assert(changes || n_changes == 0);
1979 if (changes[i].type == UNIT_FILE_SYMLINK)
1980 log_info("Created symlink %s, pointing to %s.", changes[i].path, changes[i].source);
1982 log_info("Removed symlink %s.", changes[i].path);
1998 UnitFileChange *changes = NULL;
2001 r = unit_file_set_default(arg_scope, arg_root, unit, true, &changes, &n_changes);
2006 dump_unit_file_changes(changes, n_changes);
2008 unit_file_changes_free(changes, n_changes);
5380 UnitFileChange *changes = NULL;
5403 r = unit_file_enable(arg_scope, arg_runtime, arg_root, names, arg_force, &changes, &n_changes);
5406 r = unit_file_disable(arg_scope, arg_runtime, arg_root, names, &changes, &n_changes);
5408 r = unit_file_reenable(arg_scope, arg_runtime, arg_root, names, arg_force, &changes, &n_changes);
5411 r = unit_file_link(arg_scope, arg_runtime, arg_root, names, arg_force, &changes, &n_changes);
5413 r = unit_file_preset(arg_scope, arg_runtime, arg_root, names, arg_preset_mode, arg_force, &changes, &n_changes);
5416 r = unit_file_mask(arg_scope, arg_runtime, arg_root, names, arg_force, &changes, &n_changes);
5418 r = unit_file_unmask(arg_scope, arg_runtime, arg_root, names, &changes, &n_changes);
5428 dump_unit_file_changes(changes, n_changes);
5513 r = bus_deserialize_and_dump_unit_file_changes(reply, arg_quiet, &changes, &n_changes);
5546 new_args[i + 1] = basename(changes[i].path);
5553 unit_file_changes_free(changes, n_changes);
5584 UnitFileChange *changes = NULL;
5587 r = unit_file_add_dependency(arg_scope, arg_runtime, arg_root, names, target, dep, arg_force, &changes, &n_changes);
5594 dump_unit_file_changes(changes, n_changes);
5596 unit_file_changes_free(changes, n_changes);
5645 UnitFileChange *changes = NULL;
5651 r = unit_file_preset_all(arg_scope, arg_runtime, arg_root, arg_preset_mode, arg_force, &changes, &n_changes);
5658 dump_unit_file_changes(changes, n_changes);
5699 unit_file_changes_free(changes, n_changes);