Home
last modified time | relevance | path

Searched refs:can_sleep_disk (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/test/
Dtest-sleep.c104 … log_info("Hibernate+Suspend (Hybrid-Sleep) configured: %s", yes_no(can_sleep_disk(suspend) > 0)); in TEST()
105 log_info("Hibernate+Reboot configured: %s", yes_no(can_sleep_disk(reboot) > 0)); in TEST()
106 log_info("Hibernate+Platform configured: %s", yes_no(can_sleep_disk(platform) > 0)); in TEST()
107 log_info("Hibernate+Shutdown configured: %s", yes_no(can_sleep_disk(shutdown) > 0)); in TEST()
/systemd-251/src/shared/
Dsleep-config.h56 int can_sleep_disk(char **types);
Dsleep-config.c137 int can_sleep_disk(char **types) { in can_sleep_disk() function
642 can_sleep_disk(sleep_config->modes[operation]) <= 0) in can_sleep_internal()