Function report |
Source Code:kernel\power\process.c |
Create Date:2022-07-28 09:57:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ze_processes - Signal user space processes to enter the refrigerator.* The current thread will not be frozen. The same process that calls* freeze_processes must later call thaw_processes.* On success, returns 0
Proto:int freeze_processes(void)
Type:int
Parameter:Nothing
134 | If Not pm_freezing Then atomic_inc( & system_freezing_cnt) |
137 | pm_wakeup_clear(true) |
138 | pr_info("Freezing user space processes ... ") |
139 | pm_freezing = true |
140 | error = try_to_freeze_tasks(true) |
141 | If Not error Then |
157 | If error Then thaw_processes() |
159 | Return error |
Name | Describe |
---|---|
hibernate | hibernate - Carry out system hibernation, including saving the image. |
software_resume | software_resume - Resume from a saved hibernation image.* This routine is called as a late initcall, when all devices have been* discovered and initialized already.* The image reading code is called to see if there is a hibernation image |
snapshot_ioctl |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |