函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:01:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:gh_free_mem - Check if there is enough free memory for the image.
函数原型:static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | nr_pages | |
unsigned int | nr_highmem |
1878 | free等于Numbers of normal and highmem page frames allocated for hibernation image* before suspending devices. |
1880 | 以zone循环如果非Returns true if a zone has memory 则 |
1882 | free加等于zone_page_state(zone, NR_FREE_PAGES) |
1885 | pr_debug("Normal pages needed: %u + %u, available pages: %u\n", nr_pages, PAGES_FOR_IO, free) |
1888 | 返回:free大于nr_pages加PAGES_FOR_IO |
名称 | 描述 |
---|---|
swsusp_save |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |