函数逻辑报告 |
Source Code:mm\migrate.c |
Create Date:2022-07-27 17:32:37 |
Last Modify:2022-05-20 09:53:13 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The expected number of remaining references is the same as that* of migrate_page_move_mapping().
函数原型:int migrate_huge_page_move_mapping(struct address_space *mapping, struct page *newpage, struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
struct page * | newpage | |
struct page * | page |
517 | xas_lock_irq( & xas) |
518 | expected_count等于2加页面私有占用 |
520 | xas_unlock_irq( & xas) |
521 | 返回:负EAGAIN |
524 | 如果非page_ref_freeze(page, expected_count)则 |
525 | xas_unlock_irq( & xas) |
526 | 返回:负EAGAIN |
536 | page_ref_unfreeze(page, expected_count - 1) |
538 | xas_unlock_irq( & xas) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |