函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:01:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:swsusp_free - Free pages allocated for hibernation image.* Image pages are alocated before snapshot creation, so they need to be* released after resume.
函数原型:void swsusp_free(void)
返回类型:void
参数:无
1469 | 如果非Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend.或非Set bits in this map correspond to free page frames. 则转到:out |
1472 | memory_bm_position_reset(Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend.) |
1475 | loop : |
1483 | 循环 |
1491 | page等于pfn_to_page(fr_pfn) |
1493 | memory_bm_clear_current(Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend.) |
1496 | __free_page(page) |
1497 | 转到:loop |
1500 | out : |
1501 | Total number of image pages 等于0 |
1504 | Pointer to an auxiliary buffer (1 page) = NULL |
名称 | 描述 |
---|---|
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. |
resume_target_kernel | sume_target_kernel - Restore system state from a hibernation image |
load_image_and_restore | |
hibernate | hibernate - Carry out system hibernation, including saving the image. |
hibernate_preallocate_memory | hibernate_preallocate_memory - Preallocate memory for hibernation image |
swsusp_alloc | swsusp_alloc - Allocate memory for hibernation image |
prepare_image | prepare_image - Make room for loading hibernation image |
get_buffer | get_buffer - Get the address to store the next image data page.* Get the address that snapshot_write_next() should return to its caller to* write to. |
snapshot_release | |
snapshot_ioctl |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |