Home
last modified time | relevance | path

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

/systemd-251/src/login/
Dlogind-action.c29 .sleep_operation = _SLEEP_OPERATION_INVALID,
41 .sleep_operation = _SLEEP_OPERATION_INVALID,
53 .sleep_operation = _SLEEP_OPERATION_INVALID,
65 .sleep_operation = _SLEEP_OPERATION_INVALID,
77 .sleep_operation = SLEEP_SUSPEND,
86 .sleep_operation = SLEEP_HIBERNATE,
95 .sleep_operation = SLEEP_HYBRID_SLEEP,
104 .sleep_operation = SLEEP_SUSPEND_THEN_HIBERNATE,
110 .sleep_operation = _SLEEP_OPERATION_INVALID,
Dlogind-action.h39 SleepOperation sleep_operation; member
Dlogind-dbus.c1915 if (a->sleep_operation >= 0) { in method_do_shutdown_or_sleep()
1916 r = can_sleep(a->sleep_operation); in method_do_shutdown_or_sleep()
1922 … "Sleep verb \"%s\" not supported", sleep_operation_to_string(a->sleep_operation)); in method_do_shutdown_or_sleep()
2383 if (a->sleep_operation >= 0) { in method_can_shutdown_or_sleep()
2384 r = can_sleep(a->sleep_operation); in method_can_shutdown_or_sleep()
2406 … HandleAction handle = handle_action_from_string(sleep_operation_to_string(a->sleep_operation)); in method_can_shutdown_or_sleep()
/systemd-251/src/shared/
Dsleep-config.c684 DEFINE_STRING_TABLE_LOOKUP(sleep_operation, SleepOperation);