Home
last modified time | relevance | path

Searched refs:SleepConfig (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/shared/
Dsleep-config.h16 typedef struct SleepConfig { struct
21 } SleepConfig; argument
23 SleepConfig* free_sleep_config(SleepConfig *sc);
24 DEFINE_TRIVIAL_CLEANUP_FUNC(SleepConfig*, free_sleep_config);
52 int parse_sleep_config(SleepConfig **sleep_config);
Dsleep-config.c39 int parse_sleep_config(SleepConfig **ret_sleep_config) { in parse_sleep_config()
40 _cleanup_(free_sleep_configp) SleepConfig *sc = NULL; in parse_sleep_config()
44 sc = new0(SleepConfig, 1); in parse_sleep_config()
596 static int can_sleep_internal(const SleepConfig *sleep_config, SleepOperation operation, bool check…
598 static bool can_s2h(const SleepConfig *sleep_config) { in can_s2h()
626 const SleepConfig *sleep_config, in can_sleep_internal()
655 _cleanup_(free_sleep_configp) SleepConfig *sleep_config = NULL; in can_sleep()
665 SleepConfig* free_sleep_config(SleepConfig *sc) { in free_sleep_config()
/systemd-251/src/sleep/
Dsleep.c169 const SleepConfig *sleep_config, in execute()
265 static int execute_s2h(const SleepConfig *sleep_config) { in execute_s2h()
382 _cleanup_(free_sleep_configp) SleepConfig *sleep_config = NULL; in run()
/systemd-251/src/test/
Dtest-sleep.c21 _cleanup_(free_sleep_configp) SleepConfig *sleep_config = NULL; in TEST()