Function report |
Source Code:kernel\power\autosleep.c |
Create Date:2022-07-28 10:04:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:try_to_suspend
Proto:static void try_to_suspend(struct work_struct *work)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct work_struct * | work |
| 31 | If Not pm_get_wakeup_count( & initial_count, true) Then Go to out |
| 39 | Go to out |
| 42 | If autosleep_state == PM_SUSPEND_ON Then |
| 46 | If autosleep_state >= PM_SUSPEND_MAX Then hibernate - Carry out system hibernation, including saving the image. |
| 53 | If Not pm_get_wakeup_count( & final_count, false) Then Go to out |
| 60 | If final_count == initial_count Then schedule_timeout_uninterruptible(HZ / 2) |
| 63 | out : |
| 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 |