Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:01:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_header
Proto:static int init_header(struct swsusp_info *info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swsusp_info * | info |
| 2049 | memset(info, 0, sizeof(structswsusp_info)) |
| 2050 | num_physpages = get_num_physpages() |
| 2052 | pages = snapshot_get_image_size() |
| 2054 | size <<= PAGE_SHIFT determines the page size |
| 2055 | Return init_header_complete(info) |
| Name | Describe |
|---|---|
| snapshot_read_next | snapshot_read_next - Get the address to read the next image page from.*@handle: Snapshot handle to be used for the reading.* On the first call, @handle should point to a zeroed snapshot_handle* structure |
| 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 |