Home
last modified time | relevance | path

Searched refs:UnitFileChange (Results 1 – 15 of 15) sorted by relevance

/systemd-251/src/shared/
Dinstall.h10 typedef struct UnitFileChange UnitFileChange; typedef
54 struct UnitFileChange { struct
60 static inline bool unit_file_changes_have_modification(const UnitFileChange* changes, size_t n_chan… in unit_file_changes_have_modification() argument
103 UnitFileChange **changes,
110 UnitFileChange **changes,
117 UnitFileChange **changes,
125 UnitFileChange **changes,
132 UnitFileChange **changes,
139 UnitFileChange **changes,
146 UnitFileChange **changes,
[all …]
Dinstall.c263 UnitFileChange **changes, in unit_file_changes_add()
270 UnitFileChange *c; in unit_file_changes_add()
282 c = reallocarray(*changes, *n_changes + 1, sizeof(UnitFileChange)); in unit_file_changes_add()
303 c[(*n_changes)++] = (UnitFileChange) { in unit_file_changes_add()
312 void unit_file_changes_free(UnitFileChange *changes, size_t n_changes) { in unit_file_changes_free()
323 void unit_file_dump_changes(int r, const char *verb, const UnitFileChange *changes, size_t n_change… in unit_file_dump_changes()
481 UnitFileChange **changes, in create_symlink()
582 UnitFileChange **changes, in remove_marked_symlinks_fd()
715 UnitFileChange **changes, in remove_marked_symlinks()
1072 UnitFileChange **changes, in install_info_may_process()
[all …]
Dbus-unit-util.h28 int bus_deserialize_and_dump_unit_file_changes(sd_bus_message *m, bool quiet, UnitFileChange **chan…
Dbus-unit-util.c2665 int bus_deserialize_and_dump_unit_file_changes(sd_bus_message *m, bool quiet, UnitFileChange **chan… in bus_deserialize_and_dump_unit_file_changes()
/systemd-251/test/
Dtest-exec-deserialization.py18 class UnitFileChange(Enum): class
39 self.unit_files[UnitFileChange.NO_CHANGE] = unit_file_content
47 self.unit_files[UnitFileChange.LINES_SWAPPED] = unit_file_content
56 self.unit_files[UnitFileChange.COMMAND_ADDED_BEFORE] = unit_file_content
65 self.unit_files[UnitFileChange.COMMAND_ADDED_AFTER] = unit_file_content
75 self.unit_files[UnitFileChange.COMMAND_INTERLEAVED] = unit_file_content
83 self.unit_files[UnitFileChange.REMOVAL] = unit_file_content
89 if not isinstance(unit_file_change, UnitFileChange):
109 self.write_unit_file(UnitFileChange.NO_CHANGE)
126 self.write_unit_file(UnitFileChange.LINES_SWAPPED)
[all …]
/systemd-251/src/test/
Dtest-install-root.c23 UnitFileChange *changes = NULL; in TEST()
205 UnitFileChange *changes = NULL; in TEST()
350 UnitFileChange *changes = NULL; in TEST()
385 UnitFileChange *changes = NULL; in TEST()
412 UnitFileChange *changes = NULL; in TEST()
526 UnitFileChange *changes = NULL; in TEST()
575 UnitFileChange *changes = NULL; in TEST()
684 UnitFileChange *changes = NULL; in TEST()
730 UnitFileChange *changes = NULL; in TEST()
801 UnitFileChange *changes = NULL; in TEST()
[all …]
Dtest-install.c9 static void dump_changes(UnitFileChange *c, unsigned n) { in dump_changes()
28 UnitFileChange *changes = NULL; in main()
/systemd-251/src/systemctl/
Dsystemctl-preset-all.c11 UnitFileChange *changes = NULL; in verb_preset_all()
Dsystemctl-add-dependency.c14 UnitFileChange *changes = NULL; in verb_add_dependency()
Dsystemctl-is-enabled.c11 UnitFileChange *changes = NULL; in show_installation_targets_client_side()
Dsystemctl-set-default.c96 UnitFileChange *changes = NULL; in verb_set_default()
Dsystemctl-enable.c66 UnitFileChange *changes = NULL; in verb_enable()
/systemd-251/src/core/
Ddbus-manager.c2158 UnitFileChange *changes, in install_error()
2225 UnitFileChange *changes, in reply_unit_file_changes_and_free()
2291 …ope scope, UnitFileFlags flags, const char *root_dir, char *files[], UnitFileChange **changes, siz… in method_enable_unit_files_generic()
2296 UnitFileChange *changes = NULL; in method_enable_unit_files_generic()
2355 …cope scope, UnitFileFlags flags, const char *root_dir, char **files, UnitFileChange **changes, siz… in unit_file_preset_without_mode()
2370 UnitFileChange *changes = NULL; in method_preset_unit_files_with_mode()
2415 …ope scope, UnitFileFlags flags, const char *root_dir, char *files[], UnitFileChange **changes, siz… in method_disable_unit_files_generic()
2419 UnitFileChange *changes = NULL; in method_disable_unit_files_generic()
2477 UnitFileChange *changes = NULL; in method_revert_unit_files()
2503 UnitFileChange *changes = NULL; in method_set_default_target()
[all …]
/systemd-251/src/portable/
Dportablectl.c542 UnitFileChange *changes = NULL; in maybe_enable_disable()
/systemd-251/src/machine/
Dmachinectl.c1625 UnitFileChange *changes = NULL; in enable_machine()