Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/power/
Dhibernate.c65 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
105 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
106 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
107 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
642 if (hibernation_mode == HIBERNATION_SUSPEND) { in power_down()
645 hibernation_mode = hibernation_ops ? in power_down()
659 switch (hibernation_mode) { in power_down()
745 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
752 if (hibernation_mode == HIBERNATION_PLATFORM) in hibernate()
763 if (hibernation_mode == HIBERNATION_TEST_RESUME) in hibernate()
[all …]
/Linux-v5.15/mm/
Dvmscan.c114 unsigned int hibernation_mode:1; member
3209 !sc->hibernation_mode && in shrink_node()
4410 .hibernation_mode = 1, in shrink_all_memory()