Searched refs:SleepConfig (Results 1 – 4 of 4) sorted by relevance
16 typedef struct SleepConfig { struct21 } SleepConfig; argument23 SleepConfig* free_sleep_config(SleepConfig *sc);24 DEFINE_TRIVIAL_CLEANUP_FUNC(SleepConfig*, free_sleep_config);52 int parse_sleep_config(SleepConfig **sleep_config);
39 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()
169 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()
21 _cleanup_(free_sleep_configp) SleepConfig *sleep_config = NULL; in TEST()