Function report |
Source Code:kernel\power\swap.c |
Create Date:2022-07-28 10:02:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:gh_swap - Make sure we have enough swap to save the image.* Returns TRUE or FALSE after checking the total amount of swap* space avaiable from the resume partition.
Proto:static int enough_swap(unsigned int nr_pages)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | nr_pages |
882 | free_swap = count_swap_pages(General things, 1) |
887 | required = PAGES_FOR_IO + nr_pages |
Name | Describe |
---|---|
swsusp_write | swsusp_write - Write entire image and metadata.*@flags: flags to pass to the "boot" kernel in the image header* It is important _NOT_ to umount filesystems at this point. We want* them synced (in case something goes wrong) but we DO not want to mark |
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 |