函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:00:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:reate_basic_memory_bitmaps - Create bitmaps to hold basic page information
函数原型:int create_basic_memory_bitmaps(void)
返回类型:int
参数:无
1082 | error等于0 |
1084 | 如果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. 则返回:0 |
1086 | 否则BUG_ON(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. ) |
1094 | 如果error则转到:Free_first_object |
1098 | 如果非bm2则转到:Free_first_bitmap |
1102 | 如果error则转到:Free_second_object |
1105 | Set bits in this map correspond to the page frames the contents of which* should not be saved during the suspend.等于bm1 |
1109 | pr_debug("Basic memory bitmaps created\n") |
1111 | 返回:0 |
1113 | Free_second_object : |
1114 | 释放内存 |
1115 | Free_first_bitmap : |
1116 | memory_bm_free(bm1, PG_UNSAFE_CLEAR) |
1117 | Free_first_object : |
1118 | 释放内存 |
1119 | 返回:负ENOMEM |
名称 | 描述 |
---|---|
hibernate | hibernate - Carry out system hibernation, including saving the image. |
snapshot_open | |
snapshot_ioctl | |
load_image_and_restore |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |