函数逻辑报告 |
Source Code:kernel\power\process.c |
Create Date:2022-07-27 10:57:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int freeze_processes(void)
返回类型:int
参数:无
134 | 如果非pm_freezing则atomic_inc( & system_freezing_cnt) |
137 | pm_wakeup_clear(true) |
138 | 打印信息("Freezing user space processes ... ") |
139 | pm_freezing = true |
140 | error等于try_to_freeze_tasks(true) |
141 | 如果非error则 |
143 | 打印标准信息("done.") |
145 | 打印标准信息("\n") |
154 | 如果非error且非m_killer_disable - disable OOM killer*@timeout: maximum timeout to wait for oom victims in jiffies* Forces all page allocations to fail rather than trigger OOM killer则error等于负EBUSY |
157 | 如果error则thaw_processes() |
159 | 返回:error |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |