Function report |
Source Code:kernel\power\hibernate.c |
Create Date:2022-07-28 09:59:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:load_image_and_restore
Proto:static int load_image_and_restore(void)
Type:int
Parameter:Nothing
| 671 | pm_pr_dbg("Loading hibernation image.\n") |
| 673 | lock_device_hotplug() |
| 674 | error = create_basic_memory_bitmaps() |
| 678 | error = swsusp_read( & flags) |
| 683 | pr_err("Failed to load hibernation image, recovering.\n") |
| 684 | swsusp_free() |
| 686 | Unlock : |
| 687 | unlock_device_hotplug() |
| 689 | Return error |
| Name | Describe |
|---|---|
| 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 |
| 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 |