函数逻辑报告 |
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 |
函数名称:This helper attempts to cope with remotely renamed directories* It assumes that the caller is already holding* Note: If ever the locking in lock_rename() changes, then please* remember to update this too...
函数原型:static int __d_unalias(struct inode *inode, struct dentry *dentry, struct dentry *alias)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct dentry * | dentry | >d_parent->d_inode->i_mutex, and rename_lock |
struct dentry * | alias |
2952 | struct rw_semaphore * m2 = NULL |
2956 | 如果 parent directory 恒等于 parent directory 则转到:out_unalias |
2960 | 如果非mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically则转到:out_err |
2962 | m1等于s_vfs_rename_mutex |
2966 | out_unalias : |
2968 | ret等于0 |
2969 | out_err : |
2970 | 如果m2则lease a read lock |
2974 | 返回:ret |
名称 | 描述 |
---|---|
d_splice_alias | 链接目录项 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |