Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/power/
Dhibernate.c61 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
87 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
88 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
89 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
605 switch (hibernation_mode) { in power_down()
620 hibernation_mode = HIBERNATION_PLATFORM; in power_down()
622 hibernation_mode = HIBERNATION_SHUTDOWN; in power_down()
683 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
690 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()
934 if (i == hibernation_mode) in disk_show()
[all …]
/linux-4.4.14/mm/
Dvmscan.c97 unsigned int hibernation_mode:1; member
1690 if (!sc->hibernation_mode && !current_is_kswapd() && in shrink_inactive_list()
3553 .hibernation_mode = 1, in shrink_all_memory()