函数逻辑报告 |
Source Code:fs\dcache.c |
Create Date:2022-07-29 10:37:36 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:链接目录项
函数原型:struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)
返回类型:struct dentry
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct inode * | inode | |
| struct dentry * | dentry |
| 3010 | security_d_instantiate(dentry, inode) |
| 3011 | 加自旋锁 |
| 3013 | new等于__d_find_any_alias(inode) |
| 3014 | 如果此条件成立可能性小(为编译器优化)(new)则 |
| 3016 | 自旋锁解锁 |
| 3017 | 当前CPU负责更新时间 |
| 3019 | write_sequnlock( & rename_lock) |
| 3022 | pr_warn_ratelimited("VFS: Lookup of '%s' in %s %s would have caused loop\n", name, name, s_id) |
| 3029 | old_parent等于获得目录项引用 |
| 3031 | write_sequnlock( & rename_lock) |
| 3032 | 如果err则 |
| 3037 | 否则 |
| 3039 | write_sequnlock( & rename_lock) |
| 3041 | 放置一个索引节点 |
| 3042 | 返回:new |
| 3045 | out : |
| 3047 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| d_add_ci | d_add_ci - lookup or allocate new dentry with case-exact name*@inode: the inode case-insensitive lookup has found*@dentry: the negative dentry that was passed to the parent's lookup func*@name: the case-exact name to be associated with the returned |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |