函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:00:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:gister_nosave_region - Register a region of unsaveable memory.* Register a range of page frames the contents of which should not be saved* during hibernation (to be used in the early initialization code).
函数原型:void __init __register_nosave_region(unsigned long start_pfn, unsigned long end_pfn, int use_kmalloc)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | start_pfn | |
unsigned long | end_pfn | |
int | use_kmalloc |
956 | 如果非链表为空则 |
965 | 如果use_kmalloc则 |
969 | 否则 |
971 | region等于memblock_alloc(sizeof(structnosave_region), SMP_CACHE_BYTES) |
979 | 添加链表项 |
980 | Report : |
981 | 打印信息("Registered nosave memory: [mem %#010llx-%#010llx]\n", (unsignedlonglong)start_pfn << PAGE_SHIFT determines the page size , ((unsignedlonglong)end_pfn << PAGE_SHIFT determines the page size ) - 1) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |