函数逻辑报告 | 
Source Code:mm\migrate.c | 
Create Date:2022-07-27 17:32:26 | 
| Last Modify:2022-05-20 09:53:13 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:expected_page_refs
函数原型:static int expected_page_refs(struct address_space *mapping, struct page *page)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct address_space * | mapping | |
| struct page * | page | 
| 376 | expected_count等于1 | 
| 383 | 如果mapping则expected_count加等于hpage_nr_pages(page)加页面私有占用 | 
| 386 | 返回:expected_count | 
| 名称 | 描述 | 
|---|---|
| migrate_page_move_mapping | Replace the page in the mapping.* The number of remaining references must be:* 1 for anonymous pages without a mapping* 2 for pages with a mapping* 3 for pages with a mapping and PagePrivate/PagePrivate2 set. | 
| __buffer_migrate_page | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |