函数逻辑报告 |
Source Code:kernel\power\swap.c |
Create Date:2022-07-27 11:02:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:save_image - save the suspend image data
函数原型:static int save_image(struct swap_map_handle *handle, struct snapshot_handle *snapshot, unsigned int nr_to_write)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct swap_map_handle * | handle | |
struct snapshot_handle * | snapshot | |
unsigned int | nr_to_write |
542 | hib_init_batch( & hb) |
544 | 打印信息("Saving image data pages (%u pages)...\n", nr_to_write) |
546 | m等于nr_to_write除10 |
549 | nr_pages等于0 |
551 | 当1循环 |
561 | nr_pages自加 |
563 | err2等于hib_wait_io( & hb) |
570 | 返回:ret |
名称 | 描述 |
---|---|
swsusp_write | swsusp_write - Write entire image and metadata.*@flags: flags to pass to the "boot" kernel in the image header* It is important _NOT_ to umount filesystems at this point. We want* them synced (in case something goes wrong) but we DO not want to mark |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |