Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/power/
Dhibernate.c74 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
118 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
119 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
120 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
657 if (hibernation_mode == HIBERNATION_SUSPEND) { in power_down()
660 hibernation_mode = hibernation_ops ? in power_down()
674 switch (hibernation_mode) { in power_down()
783 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
790 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()
814 if (hibernation_mode == HIBERNATION_TEST_RESUME) in hibernate()
[all …]
/linux-6.12.1/mm/
Dvmscan.c140 unsigned int hibernation_mode:1; member
6029 !sc->hibernation_mode && in shrink_node()
7314 .hibernation_mode = 1, in shrink_all_memory()