Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:00:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:snapshot_additional_pages - Estimate the number of extra pages needed
Proto:unsigned int snapshot_additional_pages(struct zone *zone)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone |
| 1182 | rtree = nodes = DIV_ROUND_UP(spanned_pages, BM_BITS_PER_BLOCK) |
| 1183 | rtree += DIV_ROUND_UP(rtree * sizeof(structrtree_node), struct linked_page is used to build chains of pages ) |
| 1190 | Return 2 * rtree |
| Name | Describe |
|---|---|
| hibernate_preallocate_memory | hibernate_preallocate_memory - Preallocate memory for hibernation image |
| 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 |