函数逻辑报告 |
Source Code:mm\compaction.c |
Create Date:2022-07-27 15:55:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:solate_freepages_range() - isolate free pages
函数原型:unsigned long isolate_freepages_range(struct compact_control *cc, unsigned long start_pfn, unsigned long end_pfn)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct compact_control * | cc | |
unsigned long | start_pfn | |
unsigned long | end_pfn |
698 | isolate_start_pfn等于pfn |
700 | block_end_pfn等于两数取小(block_end_pfn, end_pfn) |
707 | 如果pfn大于等于block_end_pfn则 |
710 | block_end_pfn等于两数取小(block_end_pfn, end_pfn) |
713 | 如果非pageblock_pfn_to_page(block_start_pfn, block_end_pfn, zone)则退出 |
736 | split_map_pages( & freelist) |
740 | release_freepages( & freelist) |
741 | 返回:0 |
745 | 返回:pfn |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |