Home
last modified time | relevance | path

Searched refs:hibernation_mode (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/kernel/power/
Dhibernate.c65 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
109 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
110 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
111 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
648 if (hibernation_mode == HIBERNATION_SUSPEND) { in power_down()
651 hibernation_mode = hibernation_ops ? in power_down()
665 switch (hibernation_mode) { in power_down()
754 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
761 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()
772 if (hibernation_mode == HIBERNATION_TEST_RESUME) in hibernate()
[all …]
/linux-6.6.21/mm/
Dvmscan.c126 unsigned int hibernation_mode:1; member
6647 !sc->hibernation_mode && in shrink_node()
7898 .hibernation_mode = 1, in shrink_all_memory()