函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:54:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__soft_offline_page
函数原型:static int __soft_offline_page(struct page *page, int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
int | flags |
1731 | pfn等于page_to_pfn(page) |
1741 | 如果PageHWPoison(page)则 |
1743 | put_hwpoison_page(page) |
1745 | 返回:负EBUSY |
1751 | ret等于Safely invalidate one page from its pagecache mapping.* It only drops clean, unused pages. The page must be locked.* Returns 1 if the page is successfully invalidated, otherwise 0. |
1757 | 如果ret恒等于1则 |
1772 | 否则ret等于isolate_movable_page(page, Isolate unevictable pages ) |
1778 | put_hwpoison_page(page) |
1779 | 如果非ret则 |
1789 | 添加链表项 |
1792 | 如果ret则 |
1796 | 打印信息("soft offline: %#lx: migration failed %d, type %lx (%pGp)\n", pfn, ret, 体系结构无关页的属性, & 体系结构无关页的属性) |
1801 | 否则 |
1802 | 打印信息("soft offline: %#lx: isolation failed: %d, page count %d, type %lx (%pGp)\n", pfn, ret, page_count(page), 体系结构无关页的属性, & 体系结构无关页的属性) |
1805 | 返回:ret |
名称 | 描述 |
---|---|
soft_offline_in_use_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |