函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:54:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static int __get_any_page(struct page *p, unsigned long pfn, int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | p | |
unsigned long | pfn | |
int | flags |
1616 | 如果flags按位与MF_COUNT_INCREASED则返回:1 |
1627 | 否则如果is_free_buddy_page(p)则 |
1630 | 否则 |
1635 | 否则 |
1637 | ret等于1 |
1639 | 返回:ret |
名称 | 描述 |
---|---|
get_any_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |