Function report |
Source Code:kernel\power\swap.c |
Create Date:2022-07-28 10:03:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int swsusp_read(unsigned int *flags_p)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If Not error Then error = swap_read_page( & handle, header, NULL) |
1491 | If Not error Then |
1496 | swap_reader_finish( & handle) |
1497 | end : |
1502 | Return error |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |