函数逻辑报告 |
Source Code:kernel\power\swap.c |
Create Date:2022-07-27 11:02:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:sector_t alloc_swapdev_block(int swap)
返回类型:sector_t
参数:
类型 | 参数 | 名称 |
---|---|---|
int | swap |
180 | offset等于Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format |
181 | 如果offset则 |
182 | 如果swsusp_extents_insert(offset)则swap_free(Store a type+offset into a swp_entry_t in an arch-independent format) |
184 | 否则返回:swapdev_block(swap, offset) |
187 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |