Function report |
Source Code:kernel\power\process.c |
Create Date:2022-07-28 09:57:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ze_kernel_threads - Make freezable kernel threads go to the refrigerator.* On success, returns 0. On failure, -errno and only the kernel threads are* thawed, so as to give a chance to the caller to do additional cleanups
Proto:int freeze_kernel_threads(void)
Type:int
Parameter:Nothing
| 174 | pr_info("Freezing remaining freezable tasks ... ") |
| 176 | pm_nosig_freezing = true |
| 177 | error = try_to_freeze_tasks(false) |
| 178 | If Not error Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("done.") |
| 184 | If error Then thaw_kernel_threads() |
| 186 | Return error |
| Name | Describe |
|---|---|
| hibernation_snapshot | hibernation_snapshot - Quiesce devices and create a hibernation image.*@platform_mode: If set, use platform driver to prepare for the transition.* This routine must be called with system_transition_mutex held. |
| 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 |