Home
last modified time | relevance | path

Searched refs:hibernation_mode (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/kernel/power/
H A Dhibernate.c64 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
102 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
103 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
104 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
632 * depending on the value of hibernation_mode.
639 if (hibernation_mode == HIBERNATION_SUSPEND) { in power_down()
642 hibernation_mode = hibernation_ops ? in power_down()
656 switch (hibernation_mode) { in power_down()
742 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
749 if (hibernation_mode in hibernate()
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Dhibernate.c65 static int hibernation_mode = HIBERNATION_SHUTDOWN; variable
109 hibernation_mode = HIBERNATION_PLATFORM; in hibernation_set_ops()
110 else if (hibernation_mode == HIBERNATION_PLATFORM) in hibernation_set_ops()
111 hibernation_mode = HIBERNATION_SHUTDOWN; in hibernation_set_ops()
641 * depending on the value of hibernation_mode.
648 if (hibernation_mode == HIBERNATION_SUSPEND) { in power_down()
651 hibernation_mode = hibernation_ops ? in power_down()
665 switch (hibernation_mode) { in power_down()
754 error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM); in hibernate()
761 if (hibernation_mode in hibernate()
[all...]
/kernel/linux/linux-5.10/mm/
H A Dmemcg_reclaim.c521 !sc->hibernation_mode && in shrink_node_hyperhold()
H A Dinternal.h97 unsigned int hibernation_mode:1; member
H A Dvmscan.c2829 !sc->hibernation_mode && in shrink_node()
4041 .hibernation_mode = 1, in shrink_all_memory()
/kernel/linux/linux-6.6/mm/
H A Dmemcg_reclaim.c520 !sc->hibernation_mode && in shrink_node_hyperhold()
H A Dinternal.h105 unsigned int hibernation_mode:1; member
H A Dvmscan.c6611 !sc->hibernation_mode && in shrink_node()
7896 .hibernation_mode = 1, in shrink_all_memory()

Completed in 25 milliseconds