函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:01:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:preallocate_image_pages - Allocate a number of pages for hibernation image.*@nr_pages: Number of page frames to allocate.*@mask: GFP flags to use for the allocation.* Return value: Number of page frames actually allocated
函数原型:static unsigned long preallocate_image_pages(unsigned long nr_pages, gfp_t mask)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | nr_pages | |
gfp_t | mask |
1523 | nr_alloc等于0 |
1528 | page等于alloc_image_page(mask) |
1532 | 如果PageHighMem(page)则Numbers of normal and highmem page frames allocated for hibernation image* before suspending devices.自加 |
1536 | nr_pages自减 |
1537 | nr_alloc自加 |
1540 | 返回:nr_alloc |
名称 | 描述 |
---|---|
preallocate_image_memory |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |