Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:00:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_data_pages - Compute the total number of saveable non-highmem pages.
Proto:static unsigned int count_data_pages(void)
Type:unsigned int
Parameter:Nothing
| 1319 | n = 0 |
| 1321 | do nothing (zone) |
| 1325 | mm/page_alloc.c |
| 1326 | max_zone_pfn = zone_end_pfn(zone) |
| 1327 | When pfn < max_zone_pfn cycle If saveable_page - Check if the given page is saveable Then |
| 1329 | n++ |
| 1331 | Return n |
| Name | Describe |
|---|---|
| free_unnecessary_pages | _unnecessary_pages - Release preallocated pages not needed for the image. |
| hibernate_preallocate_memory | hibernate_preallocate_memory - Preallocate memory for hibernation image |
| swsusp_save |
| 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 |