Function report |
Source Code:kernel\power\swap.c |
Create Date:2022-07-28 10:02:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hib_init_batch
Proto:static void hib_init_batch(struct hib_bio_batch *hb)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hib_bio_batch * | hb |
| 233 | atomic_set( & count, 0) |
| 234 | init_waitqueue_head( & wait) |
| 235 | error = BLK_STS_OK |
| Name | Describe |
|---|---|
| save_image | save_image - save the suspend image data |
| save_image_lzo | save_image_lzo - Save the suspend image data compressed with LZO.*@handle: Swap map handle to use for saving the image.*@snapshot: Image to read data from.*@nr_to_write: Number of pages to save. |
| 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. |
| 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 |