Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/power/
Dhibernate.c65 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
91 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
92 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
93 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
619 if (hibernation_mode == HIBERNATION_SUSPEND) { in power_down()
622 hibernation_mode = hibernation_ops ? in power_down()
636 switch (hibernation_mode) { in power_down()
726 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
733 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()
744 if (hibernation_mode == HIBERNATION_TEST_RESUME) in hibernate()
[all …]
/Linux-v4.19/mm/
Dvmscan.c97 unsigned int hibernation_mode:1; member
2840 if (!sc->hibernation_mode && !current_is_kswapd() && in shrink_node()
3874 .hibernation_mode = 1, in shrink_all_memory()