函数逻辑报告 |
Source Code:kernel\power\process.c |
Create Date:2022-07-27 10:57:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:thaw_processes
函数原型:void thaw_processes(void)
返回类型:void
参数:无
194 | trace_suspend_resume(TPS("thaw_processes"), 0, true) |
195 | 如果pm_freezing则atomic_dec( & system_freezing_cnt) |
197 | pm_freezing = false |
198 | pm_nosig_freezing = false |
200 | oom_killer_enable() |
202 | 打印信息("Restarting tasks ... ") |
205 | thaw_workqueues() |
207 | cpuset_wait_for_hotplug() |
209 | read_lock( & tasklist_lock) |
212 | WARN_ON((p != curr) && (任务标志 & This thread called freeze_processes() and should not be frozen )) |
213 | __thaw_task(p) |
215 | read_unlock( & tasklist_lock) |
220 | usermodehelper_enable() |
222 | 进程调度 |
223 | 打印标准信息("done.\n") |
224 | trace_suspend_resume(TPS("thaw_processes"), 0, false) |
名称 | 描述 |
---|---|
freeze_processes | 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 |
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_release | |
snapshot_ioctl |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |