函数逻辑报告 | 
Source Code:mm\memory-failure.c | 
Create Date:2022-07-27 17:53:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:memory_failure_hugetlb
函数原型:static int memory_failure_hugetlb(unsigned long pfn, int flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned long | pfn | |
| int | flags | 
| 1072 | p等于pfn_to_page(pfn) | 
| 1073 | head等于compound_head(p) | 
| 1077 | 如果TestSetPageHWPoison(head)则 | 
| 1083 | num_poisoned_pages_inc() | 
| 1090 | 如果PageHWPoison(head)则 | 
| 1091 | 如果hwpoison_filter(p)且TestClearPageHWPoison(p)或p不等于head且TestSetPageHWPoison(head)则 | 
| 1093 | num_poisoned_pages_dec() | 
| 1095 | 返回:0 | 
| 1101 | 返回:0 | 
| 1105 | page_flags等于体系结构无关页的属性 | 
| 1107 | 如果非PageHWPoison(head)则 | 
| 1124 | 如果huge_page_size(page_hstate(head))大于PMD_SIZE则 | 
| 1127 | 转到:out | 
| 1133 | 转到:out | 
| 1136 | res等于identify_page_state(pfn, p, page_flags) | 
| 1137 | out : | 
| 1139 | 返回:res | 
| 名称 | 描述 | 
|---|---|
| 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 插件可实现:逻辑报告 代码生成和批量转换代码  |