Home
last modified time | relevance | path

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

/linux-2.6.39/kernel/power/
Dhibernate.c53 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
73 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
74 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
75 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
97 if (hibernation_mode == mode) { in hibernation_testmode()
573 switch (hibernation_mode) { in power_down()
649 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
656 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()
874 if (i == hibernation_mode) in disk_show()
910 hibernation_mode = mode; in disk_store()
[all …]
/linux-2.6.39/mm/
Dvmscan.c84 unsigned long hibernation_mode; member
2087 if (!sc->hibernation_mode && sc->nr_scanned && in do_try_to_free_pages()
2786 .hibernation_mode = 1, in shrink_all_memory()