Home
last modified time | relevance | path

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

/linux-4.1.27/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()
602 switch (hibernation_mode) { in power_down()
617 hibernation_mode = HIBERNATION_PLATFORM; in power_down()
619 hibernation_mode = HIBERNATION_SHUTDOWN; in power_down()
680 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
687 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()
931 if (i == hibernation_mode) in disk_show()
[all …]
/linux-4.1.27/mm/
Dvmscan.c97 unsigned int hibernation_mode:1; member
1642 if (!sc->hibernation_mode && !current_is_kswapd() && in shrink_inactive_list()
3488 .hibernation_mode = 1, in shrink_all_memory()