函数逻辑报告 |
Source Code:kernel\power\swap.c |
Create Date:2022-07-27 11:02:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int swsusp_write(unsigned int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | flags |
909 | pages等于snapshot_get_image_size() |
910 | error等于get_swap_writer( & handle) |
911 | 如果error则 |
915 | 如果flags按位与SF_NOCOMPRESS_MODE则 |
922 | memset( & snapshot, 0, sizeof(structsnapshot_handle)) |
928 | 转到:out_finish |
930 | header等于This macro returns the address from/to which the caller of* snapshot_read_next()/snapshot_write_next() is allowed to* read/write data after the function returns(snapshot) |
931 | error等于swap_write_page( & handle, header, NULL) |
932 | 如果非error则 |
937 | out_finish : |
938 | error等于swap_writer_finish( & handle, flags, error) |
939 | 返回:error |
名称 | 描述 |
---|---|
hibernate | hibernate - Carry out system hibernation, including saving the image. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |