Function report |
Source Code:kernel\power\swap.c |
Create Date:2022-07-28 10:02:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:swap_read_page
Proto:static int swap_read_page(struct swap_map_handle *handle, void *buf, struct hib_bio_batch *hb)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct swap_map_handle * | handle | |
| void * | buf | |
| struct hib_bio_batch * | hb |
| 1019 | error = hib_submit_io(REQ_OP_READ, 0, offset, buf, hb) |
| 1023 | k = 0 |
| 1033 | Return error |
| Name | Describe |
|---|---|
| load_image | load_image - load the image using the swap map handle*@handle and the snapshot handle @snapshot* (assume there are @nr_pages pages to load) |
| load_image_lzo | load_image_lzo - Load compressed image data and decompress them with LZO.*@handle: Swap map handle to use for loading data.*@snapshot: Image to copy uncompressed data into.*@nr_to_read: Number of pages to load. |
| swsusp_read | 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 |
| 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 |