函数逻辑报告 | 
Source Code:mm\cleancache.c | 
Create Date:2022-07-27 17:59:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:"Get" data from cleancache associated with the poolid/inode/index* that were specified when the data was put to cleanache and, if* successful, use it to fill the specified page with data and return 0.
函数原型:int __cleancache_get_page(struct page *page)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct page * | page | 
| 178 | ret等于负1 | 
| 180 | struct cleancache_filekey key = {key = {0}} | 
| 183 | cleancache_failed_gets自加 | 
| 184 | 转到:out | 
| 187 | VM_BUG_ON_PAGE(!PageLocked(page), page) | 
| 188 | pool_id等于cleancache_poolid | 
| 192 | 如果If the filesystem uses exportable filehandles, use the filehandle as* the key, else use the inode number.小于0则转到:out | 
| 196 | 如果ret恒等于0则Counters available via /sys/kernel/debug/cleancache (if debugfs is* properly configured. These are for information only so are not protected* against increment races.自加 | 
| 198 | 否则cleancache_failed_gets自加 | 
| 200 | out : | 
| 201 | 返回:ret | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |