Home
last modified time | relevance | path

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

/systemd-251/src/shared/ !
Dsleep-config.h7 typedef enum SleepOperation { enum
14 } SleepOperation; typedef
55 int can_sleep(SleepOperation operation);
59 const char* sleep_operation_to_string(SleepOperation s) _const_;
60 SleepOperation sleep_operation_from_string(const char *s) _pure_;
Dsleep-config.c596 static int can_sleep_internal(const SleepConfig *sleep_config, SleepOperation operation, bool check…
600 static const SleepOperation operations[] = { in can_s2h()
627 SleepOperation operation, in can_sleep_internal()
654 int can_sleep(SleepOperation operation) { in can_sleep()
669 for (SleepOperation i = 0; i < _SLEEP_OPERATION_MAX; i++) { in free_sleep_config()
684 DEFINE_STRING_TABLE_LOOKUP(sleep_operation, SleepOperation);
/systemd-251/src/login/ !
Dlogind-action.h39 SleepOperation sleep_operation;
/systemd-251/src/sleep/ !
Dsleep.c38 static SleepOperation arg_operation = _SLEEP_OPERATION_INVALID;
170 SleepOperation operation, in execute()