函数逻辑报告 |
Source Code:kernel\power\swap.c |
Create Date:2022-07-27 11:02:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:swap_read_page
函数原型:static int swap_read_page(struct swap_map_handle *handle, void *buf, struct hib_bio_batch *hb)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct swap_map_handle * | handle | |
void * | buf | |
struct hib_bio_batch * | hb |
1019 | error等于hib_submit_io(REQ_OP_READ, 0, offset, buf, hb) |
1033 | 返回:error |
名称 | 描述 |
---|---|
load_image | load_image - load the image using the swap map handle*@handle and the snapshot handle @snapshot* (assume there are @nr_pages pages to load) |
load_image_lzo | load_image_lzo - Load compressed image data and decompress them with LZO.*@handle: Swap map handle to use for loading data.*@snapshot: Image to copy uncompressed data into.*@nr_to_read: Number of pages to load. |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |