Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/power/
Dhibernate.c64 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
90 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
91 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
92 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
627 if (hibernation_mode == HIBERNATION_SUSPEND) { in power_down()
630 hibernation_mode = hibernation_ops ? in power_down()
644 switch (hibernation_mode) { in power_down()
732 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
739 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()
750 if (hibernation_mode == HIBERNATION_TEST_RESUME) in hibernate()
[all …]
/Linux-v5.4/mm/
Dvmscan.c99 unsigned int hibernation_mode:1; member
2891 if (!sc->hibernation_mode && !current_is_kswapd() && in shrink_node()
4034 .hibernation_mode = 1, in shrink_all_memory()