Searched refs:modes (Results 1 - 4 of 4) sorted by relevance

/systemd/src/shared/
H A Dsleep-config.h22 int parse_sleep_config(const char *verb, char ***modes, char ***states);
H A Dsleep-config.c48 char **modes, **states; local
67 USE(modes, suspend_mode);
76 USE(modes, hibernate_mode);
78 modes = strv_new("platform", "shutdown", NULL);
87 USE(modes, hybrid_mode);
89 modes = strv_new("suspend", "platform", "shutdown", NULL);
99 if ((!modes && !streq(verb, "suspend")) || !states) {
100 strv_free(modes);
105 *_modes = modes;
259 _cleanup_strv_free_ char **modes local
[all...]
/systemd/src/sleep/
H A Dsleep.c38 static int write_mode(char **modes) { argument
42 STRV_FOREACH(mode, modes) {
85 static int execute(char **modes, char **states) { argument
105 r = write_mode(modes);
196 _cleanup_strv_free_ char **modes = NULL, **states = NULL; local
207 r = parse_sleep_config(arg_verb, &modes, &states);
211 r = execute(modes, states);
/systemd/src/timesync/
H A Dtimesyncd-manager.c325 tmx.modes = ADJ_STATUS | ADJ_NANO | ADJ_OFFSET | ADJ_TIMECONST | ADJ_MAXERROR | ADJ_ESTERROR;
333 tmx.modes = ADJ_STATUS | ADJ_NANO | ADJ_SETOFFSET;

Completed in 597 milliseconds