函数逻辑报告 |
Source Code:kernel\power\swap.c |
Create Date:2022-07-27 11:03:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int swsusp_read(unsigned int *flags_p)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int * | flags_p |
1481 | memset( & snapshot, 0, sizeof(structsnapshot_handle)) |
1485 | 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) |
1486 | error等于get_swap_reader( & handle, flags_p) |
1489 | 如果非error则error等于swap_read_page( & handle, header, NULL) |
1491 | 如果非error则 |
1496 | swap_reader_finish( & handle) |
1497 | end : |
1502 | 返回:error |
名称 | 描述 |
---|---|
load_image_and_restore |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |