函数逻辑报告 |
Source Code:kernel\power\swap.c |
Create Date:2022-07-27 11:03:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:swsusp_check - Check for swsusp signature in the resume device
函数原型:int swsusp_check(void)
返回类型:int
参数:无
1515 | 如果非是错误则 |
1517 | clear_page(swsusp_header) |
1518 | error等于hib_submit_io(REQ_OP_READ, 0, swsusp_resume_block, swsusp_header, NULL) |
1524 | 如果非内存比较则 |
1527 | error等于hib_submit_io(REQ_OP_WRITE, REQ_SYNC, swsusp_resume_block, swsusp_header, NULL) |
1530 | 否则 |
1534 | put : |
1535 | 如果error则blkdev_put(hib_resume_bdev, le is open for reading ) |
1537 | 否则pr_debug("Image signature found, resuming\n") |
1539 | 否则 |
1546 | 返回:error |
名称 | 描述 |
---|---|
software_resume | software_resume - Resume from a saved hibernation image.* This routine is called as a late initcall, when all devices have been* discovered and initialized already.* The image reading code is called to see if there is a hibernation image |
hibernate | hibernate - Carry out system hibernation, including saving the image. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |