Home
last modified time | relevance | path

Searched refs:SLEEP_HIBERNATE (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/shared/
Dsleep-config.c56 … "Sleep", "HibernateMode", config_parse_strv, 0, sc->modes + SLEEP_HIBERNATE }, in parse_sleep_config()
57 … "Sleep", "HibernateState", config_parse_strv, 0, sc->states + SLEEP_HIBERNATE }, in parse_sleep_config()
76 sc->allow[SLEEP_HIBERNATE] = allow_hibernate != 0; in parse_sleep_config()
84 if (!sc->modes[SLEEP_HIBERNATE]) in parse_sleep_config()
85 sc->modes[SLEEP_HIBERNATE] = strv_new("platform", "shutdown"); in parse_sleep_config()
86 if (!sc->states[SLEEP_HIBERNATE]) in parse_sleep_config()
87 sc->states[SLEEP_HIBERNATE] = strv_new("disk"); in parse_sleep_config()
96 if (!sc->states[SLEEP_SUSPEND] || !sc->modes[SLEEP_HIBERNATE] in parse_sleep_config()
97 …|| !sc->states[SLEEP_HIBERNATE] || !sc->modes[SLEEP_HYBRID_SLEEP] || !sc->states[SLEEP_HYBRID_SLEE… in parse_sleep_config()
602 SLEEP_HIBERNATE, in can_s2h()
[all …]
Dsleep-config.h9 SLEEP_HIBERNATE, enumerator
/systemd-251/src/test/
Dtest-sleep.c29 him = strv_join(sleep_config->modes[SLEEP_HIBERNATE], ", "); in TEST()
30 his = strv_join(sleep_config->states[SLEEP_HIBERNATE], ", "); in TEST()
34 log_debug(" allow_hibernate: %u", sleep_config->allow[SLEEP_HIBERNATE]); in TEST()
113 r = can_sleep(SLEEP_HIBERNATE); in TEST()
/systemd-251/src/login/
Dlogind-action.c86 .sleep_operation = SLEEP_HIBERNATE,
193 supported = can_sleep(SLEEP_HIBERNATE) > 0; in manager_handle_action()
/systemd-251/src/sleep/
Dsleep.c301 r = execute(sleep_config, SLEEP_HIBERNATE, NULL); in execute_s2h()