Function report |
Source Code:kernel\power\swap.c |
Create Date:2022-07-28 10:02:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:swsusp_swap_check - check if the resume device is a swap device* and get its index (if so)* This is called before saving image
Proto:static int swsusp_swap_check(void)
Type:int
Parameter:Nothing
| 343 | General things = res |
| 348 | res = set_blocksize(hib_resume_bdev, PAGE_SIZE) |
| 349 | If res < 0 Then blkdev_put(hib_resume_bdev, le is open for writing ) |
| 358 | Return res |
| Name | Describe |
|---|---|
| get_swap_writer |
| 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 |