函数逻辑报告 |
Source Code:kernel\power\swap.c |
Create Date:2022-07-27 11:02:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:swsusp_extents_insert
函数原型:static int swsusp_extents_insert(unsigned long swap_offset)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | swap_offset |
| 138 | ext等于rb_entry( * new, structswsusp_extent, node) |
| 140 | 如果swap_offset小于start则 |
| 147 | 否则如果swap_offset大于end则 |
| 154 | 否则 |
| 156 | 返回:负EINVAL |
| 164 | start等于swap_offset |
| 165 | end等于swap_offset |
| 166 | rb_link_node( & node, parent, new) |
| 167 | rb_insert_color( & node, & swsusp_extents) |
| 168 | 返回:0 |
| 名称 | 描述 |
|---|---|
| alloc_swapdev_block | alloc_swapdev_block - allocate a swap page and register that it has* been allocated, so that it can be freed in case of an error. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |