函数逻辑报告 |
Source Code:kernel\power\autosleep.c |
Create Date:2022-07-27 11:04:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:try_to_suspend
函数原型:static void try_to_suspend(struct work_struct *work)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct work_struct * | work |
| 31 | 如果非pm_get_wakeup_count( & initial_count, true)则转到:out |
| 39 | 转到:out |
| 42 | 如果autosleep_state恒等于PM_SUSPEND_ON则 |
| 46 | 如果autosleep_state大于等于PM_SUSPEND_MAX则hibernate - Carry out system hibernation, including saving the image. |
| 53 | 如果非pm_get_wakeup_count( & final_count, false)则转到:out |
| 60 | 如果final_count恒等于initial_count则schedule_timeout_uninterruptible(HZ / 2) |
| 63 | out : |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |