函数逻辑报告 |
Source Code:mm\cleancache.c |
Create Date:2022-07-27 17:59:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:If the filesystem uses exportable filehandles, use the filehandle as* the key, else use the inode number.
函数原型:static int cleancache_get_key(struct inode *inode, struct cleancache_filekey *key)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct cleancache_filekey * | key |
148 | len等于0, maxlen等于CLEANCACHE_KEY_MAX |
152 | 如果(s_export_op != NULL)则 |
154 | 如果fhfn则 |
156 | 如果len小于等于FILEID_ROOT或len恒等于FILEID_INVALID则返回:负1 |
158 | 如果maxlen大于CLEANCACHE_KEY_MAX则返回:负1 |
162 | 返回:0 |
名称 | 描述 |
---|---|
__cleancache_get_page | "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. |
__cleancache_put_page | "Put" data from a page to cleancache and associate it with the* (previously-obtained per-filesystem) poolid and the page's,* inode and page index. Page must be locked. Note that a put_page |
__cleancache_invalidate_page | Invalidate any data from cleancache associated with the poolid and the* page's inode and page index so that a subsequent "get" will fail |
__cleancache_invalidate_inode | Invalidate all data from cleancache associated with the poolid and the* mappings's inode so that all subsequent gets to this poolid/inode* will fail |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |