函数逻辑报告 | 
Source Code:fs\namei.c | 
Create Date:2022-07-29 10:34:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:This looks up the name in dcache and possibly revalidates the found dentry.* NULL is returned if the dentry does not exist in the cache.
函数原型:static struct dentry *lookup_dcache(const struct qstr *name, struct dentry *dir, unsigned int flags)
返回类型:struct dentry
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const struct qstr * | name | |
| struct dentry * | dir | |
| unsigned int | flags | 
| 1509 | 如果dentry则 | 
| 1510 | error等于d_revalidate(dentry, flags) | 
| 1511 | 如果此条件成立可能性小(为编译器优化)(error <= 0)则 | 
| 1518 | 返回:dentry | 
| 名称 | 描述 | 
|---|---|
| __lookup_hash | Parent directory has inode locked exclusive. This is one* and only case when ->lookup() gets called on non in-lookup* dentries - as the matter of fact, this only gets called* when directory is guaranteed to have no in-lookup children* at all. | 
| try_lookup_one_len | ry_lookup_one_len - filesystem helper to lookup single pathname component*@name: pathname component to lookup*@base: base directory to lookup from*@len: maximum length @len should be interpreted to* Look up a dentry by name in the dcache, returning NULL | 
| lookup_one_len | lookup_one_len - filesystem helper to lookup single pathname component*@name: pathname component to lookup*@base: base directory to lookup from*@len: maximum length @len should be interpreted to* Note that this routine is purely a helper for filesystem | 
| lookup_one_len_unlocked | lookup_one_len_unlocked - filesystem helper to lookup single pathname component*@name: pathname component to lookup*@base: base directory to lookup from*@len: maximum length @len should be interpreted to* Note that this routine is purely a helper for | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |