Searched refs:unit_file_preset (Results 1 - 8 of 8) sorted by relevance

/systemd/src/shared/
H A Dinstall.h130 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 Dinstall.c2241 int unit_file_preset( function
/systemd/src/test/
H A Dtest-install.c277 r = unit_file_preset(UNIT_FILE_SYSTEM, false, NULL, (char**) files, UNIT_FILE_PRESET_FULL, false, &changes, &n_changes);
H A Dtest-install-root.c554 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 Dunit.h178 int unit_file_preset; member in struct:Unit
H A Dunit.c97 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 Ddbus-manager.c1671 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 Dsystemctl.c3329 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