函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:53:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:identify_page_state
函数原型:static int identify_page_state(unsigned long pfn, struct page *p, unsigned long page_flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | pfn | |
| struct page * | p | |
| unsigned long | page_flags |
| 1057 | 循环如果体系结构无关页的属性按位与mask的值恒等于res则 |
| 1059 | 退出 |
| 1061 | page_flags或等于体系结构无关页的属性按位与1UL左移PG_dirty位 |
| 1065 | 如果page_flags按位与mask的值恒等于res则退出 |
| 1067 | 返回:page_action(ps, p, pfn) |
| 名称 | 描述 |
|---|---|
| memory_failure_hugetlb | |
| memory_failure | memory_failure - Handle memory failure of a page.*@pfn: Page Number of the corrupted page*@flags: fine tune action taken* This function is called by the low level machine check code* of an architecture when it detects hardware memory corruption* of a page |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |