函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:53:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_hwpoison_page() - Get refcount for memory error handling:*@page: raw error page (hit by memory error)* Return: return 0 if failed to grab the refcount, otherwise true (some* non-zero value.)
函数原型:int get_hwpoison_page(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
918 | head等于compound_head(page) |
928 | 打印错误信息("Memory failure: %#lx: non anonymous thp\n", page_to_pfn(page)) |
930 | 返回:0 |
935 | 如果head恒等于compound_head(page)则返回:1 |
938 | 打印信息("Memory failure: %#lx cannot catch tail\n", page_to_pfn(page)) |
943 | 返回:0 |
名称 | 描述 |
---|---|
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 |
unpoison_memory | poison_memory - Unpoison a previously poisoned page*@pfn: Page number of the to be unpoisoned page* Software-unpoison a page that has been poisoned by* memory_failure() earlier |
__get_any_page | Safely get reference count of an arbitrary page.* Returns 0 for a free page, -EIO for a zero refcount page* that is not free, and 1 for any other page type.* For 1 the page is returned with increased page count, otherwise not. |
hwpoison_inject |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |