函数逻辑报告 |
Source Code:kernel\power\swap.c |
Create Date:2022-07-27 11:02:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_swap_reader
函数原型:static int get_swap_reader(struct swap_map_handle *handle, unsigned int *flags_p)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct swap_map_handle * | handle | |
| unsigned int * | flags_p |
| 973 | cur = NULL |
| 978 | 如果非tmp则 |
| 980 | 返回:负ENOMEM |
| 988 | map等于__get_free_page(GFP_NOIO | __GFP_HIGH) |
| 990 | 如果非map则 |
| 992 | 返回:负ENOMEM |
| 995 | error等于hib_submit_io(REQ_OP_READ, 0, offset, map, NULL) |
| 996 | 如果error则 |
| 998 | 返回:error |
| 1002 | k等于0 |
| 1004 | 返回:0 |
| 名称 | 描述 |
|---|---|
| swsusp_read | swsusp_read - read the hibernation image.*@flags_p: flags passed by the "frozen" kernel in the image header should* be written into this memory location |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |