Searched refs:unit_file_preset (Results 1 - 8 of 8) sorted by relevance
/systemd/src/shared/ |
H A D | install.h | 130 int unit_file_preset(UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFilePresetMode mode, bool force, UnitFileChange **changes, unsigned *n_changes);
|
H A D | install.c | 2241 int unit_file_preset( function
|
/systemd/src/test/ |
H A D | test-install.c | 277 r = unit_file_preset(UNIT_FILE_SYSTEM, false, NULL, (char**) files, UNIT_FILE_PRESET_FULL, false, &changes, &n_changes);
|
H A D | test-install-root.c | 554 assert_se(unit_file_preset(UNIT_FILE_SYSTEM, false, root, STRV_MAKE("preset-yes.service"), UNIT_FILE_PRESET_FULL, false, &changes, &n_changes) >= 0); 577 assert_se(unit_file_preset(UNIT_FILE_SYSTEM, false, root, STRV_MAKE("preset-no.service"), UNIT_FILE_PRESET_FULL, false, &changes, &n_changes) >= 0);
|
/systemd/src/core/ |
H A D | unit.h | 178 int unit_file_preset; member in struct:Unit
|
H A D | unit.c | 97 u->unit_file_preset = -1; 3179 if (u->unit_file_preset < 0 && u->fragment_path) 3180 u->unit_file_preset = unit_file_query_preset( 3185 return u->unit_file_preset;
|
H A D | dbus-manager.c | 1671 return unit_file_preset(scope, runtime, root_dir, files, UNIT_FILE_PRESET_FULL, force, changes, n_changes); 1720 r = unit_file_preset(scope, runtime, NULL, l, mm, force, &changes, &n_changes);
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 3329 const char *unit_file_preset; member in struct:UnitStatusInfo 3455 else if (path && !isempty(i->unit_file_state) && !isempty(i->unit_file_preset)) 3457 on, strna(i->load_state), off, path, i->unit_file_state, i->unit_file_preset); 3812 i->unit_file_preset = s; 5413 r = unit_file_preset(arg_scope, arg_runtime, arg_root, names, arg_preset_mode, arg_force, &changes, &n_changes);
|
Completed in 72 milliseconds