函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:01:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:snapshot_write_next - Get the address to store the next image page.*@handle: Snapshot handle structure to guide the writing.* On the first call, @handle should point to a zeroed snapshot_handle* structure
函数原型:int snapshot_write_next(struct snapshot_handle *handle)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct snapshot_handle * | handle |
2594 | error等于0 |
2603 | 如果非Pointer to an auxiliary buffer (1 page) 则Pointer to an auxiliary buffer (1 page) 等于get_image_page - Allocate a page for a hibernation image |
2607 | 如果非Pointer to an auxiliary buffer (1 page) 则返回:负ENOMEM |
2639 | memory_bm_position_reset( & Memory bitmap used for marking saveable pages (during hibernation) or* hibernation image pages (during restore)) |
2646 | 否则 |
2647 | copy_last_highmem_page() |
2658 | 返回:PAGE_SIZE |
名称 | 描述 |
---|---|
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 |
snapshot_write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |